예제 #1
0
int main (void)
{
    unsigned long T;

    /* Show info at start */
    ShowInfo ();

    /* Remember the time */
    T = clock ();

    /* Do the tests */
    Test1 ();
    Test2 ();
    Test3 ();
    Test4 ();
    Test5 ();
    Test6 ();

    /* Calculate the time and print it */
    T = clock () - T;
    printf ("Time needed: %lu ticks\n", T);

    /* Done */
    return EXIT_SUCCESS;
}
int main(int argc, char* argv[])
{
    Test1();
    Test2();
    Test3();
    Test4();
    Test5();
    Test6();
}
예제 #3
0
int main() {
    Test0();
    Test1();
    Test2();
    Test3();
    Test4();
    Test5();
    Test6();
    return 0;
}
void TestFind()
{
	//Test1();//²âÊÔµÚÒ»¸öº¯Êý
	//Test2();
	//Test3();
	//Test4();

	Test5();
	Test6();
}
예제 #5
0
int _tmain(int argc, _TCHAR* argv[])
{
    Test1();
    Test2();
    Test3();
    Test4();
    Test5();
    Test6();

    return 0;
}
int main(int argc, char* argv[])
{
    Test1();
    Test2();
    Test3();
    Test4();
    Test5();
    Test6();
    Test7();

    return 0;
}
예제 #7
0
// constructor
Test::Test()
{
    Test1();
    Test2();
    Test3();
    Test4();
    Test5();
    Test6();
    Test7();
    Test8();
    Test9();
    Test10();
    Test11();
}
예제 #8
0
int _tmain(int argc, _TCHAR* argv[])
{
    Test1();
    Test2();
    Test3();
    Test4();
    Test5();
    Test6();
    Test7();
    Test8();
    Test9();
    Test10();
    Test11();
    Test12();

    return 0;
}
예제 #9
0
void DLCSystemTests::NextTest()
{
	needNextTest = false;

    delete DLCSystem::Instance();

    switch ( state )
    {
        case TEST_1:
            Logger::Debug( " TEST 1 = %s", (isSucsess) ? "Success" : "Fail" );
            Test2();
            break;
        case TEST_2:
            Logger::Debug( " TEST 2 = %s", (isSucsess) ? "Success" : "Fail" );
            Test3();
            break;
        case TEST_3:
            Logger::Debug( " TEST 3 = %s", (isSucsess) ? "Success" : "Fail" );
            Test4();
            break;
        case TEST_4:
            Logger::Debug( " TEST 4 = %s", (isSucsess) ? "Success" : "Fail" );
            Test5();
            break;
        case TEST_5:
            Logger::Debug( " TEST 5 = %s", (isSucsess) ? "Success" : "Fail" );
            Test6();
            break;
        case TEST_6:
            Logger::Debug( " TEST 6 = %s", (isSucsess) ? "Success" : "Fail" );
            Test7();
            break;
        case TEST_7:
            Logger::Debug( " TEST 7 = %s", (isSucsess) ? "Success" : "Fail" );
            Test8();
            break;
        case TEST_8:
            Logger::Debug( " TEST 8 = %s", (isSucsess) ? "Success" : "Fail" );
			isFinished = true;

//            FileSystem::Instance()->DeleteDirectory( FileSystem::Instance()->SystemPathForFrameworkPath( std::string( "~doc:/downloads/" ) ) );
            break;
        default:
            break;
    }
}
예제 #10
0
void DLCSystemTests::NextTest()
{
	needNextTest = false;

    delete DLCSystem::Instance();

    switch ( state )
    {
        case TEST_1:
            Logger::Debug( " TEST 1 = %s", (isSucsess) ? "Success" : "Fail" );
            Test2();
            break;
        case TEST_2:
            Logger::Debug( " TEST 2 = %s", (isSucsess) ? "Success" : "Fail" );
            Test3();
            break;
        case TEST_3:
            Logger::Debug( " TEST 3 = %s", (isSucsess) ? "Success" : "Fail" );
            Test4();
            break;
        case TEST_4:
            Logger::Debug( " TEST 4 = %s", (isSucsess) ? "Success" : "Fail" );
            Test5();
            break;
        case TEST_5:
            Logger::Debug( " TEST 5 = %s", (isSucsess) ? "Success" : "Fail" );
            Test6();
            break;
        case TEST_6:
            Logger::Debug( " TEST 6 = %s", (isSucsess) ? "Success" : "Fail" );
            Test7();
            break;
        case TEST_7:
            Logger::Debug( " TEST 7 = %s", (isSucsess) ? "Success" : "Fail" );
            Test8();
            break;
        case TEST_8:
            Logger::Debug( " TEST 8 = %s", (isSucsess) ? "Success" : "Fail" );
			isFinished = true;

            break;
        default:
            break;
    }
}
예제 #11
0
int main(int argc, char * argv[])
{
    int which;

    emInitLocale();
    emEnableDLog();

    if (argc>=2) which=atoi(argv[1]);
    else which=-1;

    if (which<0 || which==1) Test1();
    if (which<0 || which==2) Test2();
    if (which<0 || which==3) Test3();
    if (which<0 || which==4) Test4();
    if (which<0 || which==5) Test5();
    if (which<0 || which==6) Test6();

    printf("Success\n");
    return 0;
}
예제 #12
0
파일: main.c 프로젝트: taysom/tau
int main(int argc, char *argv[]) {
	Print = false;
	offDump();
	offNode();
	if (true) Test1();
	if (true) Test2();
	if (true) Test3();
	if (true) Test4();
	if (true) Test5();
	if (true) Test6();
	if (true) Test7();
	if (true) Test8();
	if (true) Test9();
	if (true) Test10();
	if (true) Test11();
	if (true) Test12();
	if (true) Test13();
	if (true) Test14();
	if (true) Test15();
	return 0;
}
예제 #13
0
bool
TestDataStructuresChild::RecvStart()
{
    puts("[TestDataStructuresChild] starting");

    Test1();
    Test2();
    Test3();
    Test4();
    Test5();
    Test6();
    Test7_0();
    Test7();
    Test8();
    Test9();
    Test10();
    Test11();
    Test12();
    Test13();
    Test14();
    Test15();
    Test16();
    Test17();
    if (OtherProcess() != 0) {
        //FIXME/bug 703317 allocation of nsIntRegion uses a global
        //region pool which breaks threads
        Test18();
    }

    for (uint32_t i = 0; i < nactors; ++i)
        if (!PTestDataStructuresSubChild::Send__delete__(mKids[i]))
            fail("can't send dtor");

    Close();

    return true;
}