/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2008, International Business Machines Corporation and
+ * Copyright (c) 1997-2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
{
if (exec) logln("TestSuite ResourceBundleTest: ");
switch (index) {
+#if !UCONFIG_NO_FILE_IO && !UCONFIG_NO_LEGACY_CONVERSION
case 0: name = "TestResourceBundles"; if (exec) TestResourceBundles(); break;
case 1: name = "TestConstruction"; if (exec) TestConstruction(); break;
- case 2: name = "TestExemplar"; if (exec) TestExemplar(); break;
- case 3: name = "TestGetSize"; if (exec) TestGetSize(); break;
- case 4: name = "TestGetLocaleByType"; if (exec) TestGetLocaleByType(); break;
+ case 2: name = "TestGetSize"; if (exec) TestGetSize(); break;
+ case 3: name = "TestGetLocaleByType"; if (exec) TestGetLocaleByType(); break;
+#else
+ case 0: case 1: case 2: case 3: name = "skip"; break;
+#endif
+
+ case 4: name = "TestExemplar"; if (exec) TestExemplar(); break;
default: name = ""; break; //needed to end loop
}
}
loadTestData(status);
if(U_FAILURE(status))
{
- dataerrln("[DATA] Could not load testdata.dat %s " + UnicodeString(u_errorName(status)));
+ dataerrln("Could not load testdata.dat %s " + UnicodeString(u_errorName(status)));
return;
}
const char* testdatapath=loadTestData(err);
if(U_FAILURE(err))
{
- dataerrln("[DATA] Could not load testdata.dat " + UnicodeString(testdatapath) + ", " + UnicodeString(u_errorName(err)));
+ dataerrln("Could not load testdata.dat " + UnicodeString(testdatapath) + ", " + UnicodeString(u_errorName(err)));
return;
}
testdatapath=loadTestData(status);
if(U_FAILURE(status))
{
- dataerrln("[DATA] Could not load testdata.dat %s " + UnicodeString(u_errorName(status)));
+ dataerrln("Could not load testdata.dat %s " + UnicodeString(u_errorName(status)));
return FALSE;
}
if(U_FAILURE(status))
{
- dataerrln("[DATA] Could not load testdata.dat %s\n", u_errorName(status));
+ dataerrln("Could not load testdata.dat %s\n", u_errorName(status));
return;
}
if(U_FAILURE(status))
{
- dataerrln("[DATA] Could not load testdata.dat %s\n", u_errorName(status));
+ dataerrln("Could not load testdata.dat %s\n", u_errorName(status));
return;
}