int main(int argc, char** argv) { verbose = getenv("PEGASUS_TEST_VERBOSE") ? true : false; testClass(); testInstance(); testInstanceCollection(); cout << argv[0] << " +++++ passed all tests" << endl; return 0; }
SInt main( void ) { /* idp must be initlaized at the first of program */ ACT_ASSERT(idp::initialize(NULL, NULL) == IDE_SUCCESS); ACT_ASSERT(iduProperty::load() == IDE_SUCCESS); /* Test an instance */ testInstance(); #if 0 /* Test allocator */ testGlobalAllocator(); /* Test multithreaded allocation */ testMultithread(); #endif return IDE_SUCCESS; }