Example #1
0
U_NAMESPACE_USE
void CalendarLimitTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ )
{
    if (exec) logln("TestSuite TestCalendarLimit");
    switch (index) {
    // Re-enable this later
    case 0:
        name = "TestCalendarExtremeLimit";
        if (exec) {
            logln("TestCalendarExtremeLimit---");
            logln("");
            TestCalendarExtremeLimit();
        }
        break;
    case 1:
        name = "TestLimits";
        if (exec) {
            logln("TestLimits---");
            logln("");
            TestLimits();
        }
        break;

    default:
        name = "";
        break;
    }
}
Example #2
0
int
#if _WIN32_WCE
_cdecl
#endif
main()
{
    //  afxMemDF |= allocMemDF | checkAlwaysMemDF;

    // The M4STRING package sometimes keeps a spare empty string around.
    // By allocating it here, we avoid a few bogus memory leak reports.
    c4_String empty;

#if q4_MAC_LEAK_CHECK
    DebugNewForgetLeaks();
#endif

#if q4_MWCW_PROFILER
    if(!ProfilerInit(collectDetailed, bestTimeBase, 20, 5))
    {
#endif
        TestBasics1();
        TestBasics2();
        TestNotify();
        TestCustom1();
        TestCustom2();
        TestResize();
        TestStores1();
        TestStores2();
        TestStores3();
        TestStores4();
        TestStores5();
        TestDiffer();
        TestExtend();
        TestFormat();
        TestMapped();
        TestLimits();

#if q4_MWCW_PROFILER
        ProfilerDump("\pRegress.prof");
        ProfilerTerm();
    }