예제 #1
0
파일: genparams.c 프로젝트: rzsis/freetds
int
main(int argc, char *argv[])
{
    odbc_use_version3 = 1;
    odbc_connect();

    if (((char *) &big_endian)[0] == 1)
        big_endian = 0;

    for (use_cursors = 0; use_cursors <= 1; ++use_cursors) {
        if (use_cursors) {
            if (!tds_no_dm || !odbc_driver_is_freetds())
                odbc_reset_statement();
            odbc_check_cursor();
        }

        exec_direct = 1;
        AllTests();

        exec_direct = 0;
        prepare_before = 1;
        AllTests();

        prepare_before = 0;
        AllTests();
    }

    odbc_disconnect();

    printf("Done successfully!\n");
    return 0;
}
int main()
{
	srand(time(0));
	AllTests();
	printf("All tests passed!\nTests run: %d\n", MinUnitGlobalTestsRun);

    exit(EXIT_SUCCESS);
}
예제 #3
0
bool AllTests()
{
	Test AllTests("Combined Tests");
	AllTests.VerifyTrue(StackInitTests(),"Initialisation Tests");
	AllTests.VerifyTrue(StackPushTests(),"Stack Pushing Tests");
	AllTests.VerifyTrue(StackPopTests(),"Stack Popping Tests");
	AllTests.VerifyTrue(RandomTests(),"Random Tests");
	return AllTests.isPassed();
}
예제 #4
0
void doTests()
{
	CompositeTest AllTests("Thread Tests","");

	ThreadTest tt;
	AllTests.addTest(tt);
	
	TesterStream ts(std::cout);
	AllTests.action(ts);
}
예제 #5
0
void doTests()
{
	CompositeTest AllTests("Alle Tests","");

	GraphParserTest gpt;
	AllTests.addTest(gpt);
	
	TesterStream ts(std::cout);
	AllTests.action(ts);
}
void CgSoapMFCServerDlg::OnClickedTest()
{
    // TODO: Add your control notification handler code here
    if (promptCreated)
    {
        AllTests();
    }
    else
    {
        this->OnClickedCreateConsole();
        this->OnClickedTest();
    }
}
예제 #7
0
int main()
{
	return AllTests();
}
int main()
{
	AllTests();
	printf("All tests passed!\nTests run: %d\n", MinUnitGlobalTestsRun);
}