void ResourceBundleTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ ) { if (exec) logln("TestSuite ResourceBundleTest: "); switch (index) { 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; default: name = ""; break; //needed to end loop } }
void ResourceBundleTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ ) { 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 = "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 } }