/** Call all tests */ GLDEF_C void CallTestsL() { TInt r = client.CreateLocal(0); FailIfError(r); gFileSize = 8; CSelectionBox* TheSelector = CSelectionBox::NewL(test.Console()); // Each test case of the suite has an identifyer for parsing purposes of the results gTestHarness = 6; gTestCase = 1; PrintHeaders(1, _L("t_fsrmkdir. Mkdir")); if(gMode == 0) { // Manual gSessionPath=_L("?:\\"); TCallBack createFiles(TestFileCreate, TheSelector); TCallBack MkDir(TestMake, TheSelector); TCallBack makeMultSame(TestMakeMultSame, TheSelector); TCallBack makeMultDif(TestMakeMultDif, TheSelector); TCallBack makeAll(TestAll, TheSelector); TheSelector->AddDriveSelectorL(TheFs); TheSelector->AddLineL(_L("Create all files"), createFiles); TheSelector->AddLineL(_L("Mkdir "), MkDir); TheSelector->AddLineL(_L("Mkdir mult clients same dir "), makeMultSame); TheSelector->AddLineL(_L("Mkdir mult clients dif dir"), makeMultDif); TheSelector->AddLineL(_L("Execute all options"), makeAll); TheSelector->Run(); } else { // Automatic TestAll(TheSelector); } client.Close(); test.Printf(_L("#~TestEnd_%d\n"), gTestHarness); delete TheSelector; }
/* * The main function. * * @param argc - the int number of parameters passed to the main function. * @param argv - the array of pointers to parameters strings. */ int main(int argc, char** argv) { makeAll(argc, argv); return 0; }
void histoBook::makeAll( string nodeName ){ if ( !config ) return; makeAll( config, nodeName ); }