Exemplo n.º 1
0
Arquivo: main.c Projeto: 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;
}
Exemplo n.º 2
0
GLDEF_C void TestTDes<T,S,L,R>::test_TBufC()
//
// Test the TBufC class methods
//
	{

	test.Start(_L("Default constructor"));
	Test12();
	test.Next(_L("With a string"));
	Test13();
	test.Next(_L("With a Descriptor (TPtrC)"));
	Test14();
	test.Next(_L("With a TBufC"));
	Test15();
	test.Next(_L("String assignment"));
	TestG();
	test.Next(_L("Descriptor assignment (TPtrC)"));
	TestH();
	test.Next(_L("TBufC assignment"));
	TestI();
	}
Exemplo n.º 3
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;
}