YaST2 Developers Documentation: Testsuite



functions
files
intro

Testsuite

modules/Testsuite.ycp
Main testsuite module

Global Functions

Local Variables

Local Functions

local dummy_log_string -> string

Secret string :-)

global Init (list<any> INPUT, any DEFAULT) -> list

Parameters:
INPUT a tuple of read, write and execute maps
DEFAULT default read value
Return value:
of various SCR return values

global Test (any FUNCTION, list<any> INPUT, any DEFAULT) -> any

Parameters:
FUNCTION a single or deep quoted term
INPUT a tuple of read, write and execute maps
DEFAULT default read value
Return value:
whatever the FUNCTION returns

global Dump (any output) -> void

Dump value to the testsuite output (keyword: Dump)

Parameters:
output whatever to be dumped into the log

global DumpFile (string filename) -> void

Dump file contents to the testsuite output (keyword: File)

Parameters:
filename file to be dumped

local Testsuite () -> void

Constructor (initialize SCR with dummy agent)


YaST2 Developers Documentation