Testing.testInit

This function is used to initialize a GTK+ test program. It will in turn call testInit() and init() to properly initialize the testing framework and graphical toolkit. It'll also set the program's locale to "C" and prevent loading of rc files and Gtk+ modules. This is done to make the test program environments as deterministic as possible. Like init() any known arguments will be processed and stripped from and argv.

struct Testing
static
void
testInit
(
ref string[] argv
)

Parameters

argv string[]

The argv parameter of main(). Any parameters understood by testInit() or init() are stripped before return.

Meta