From 8465aa13546416d81133f4cb798d713e4d14d15e Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 9 Apr 2002 03:20:50 +0000 Subject: [PATCH] ICU-1828 Simplify the test names so that you can call them individually. X-SVN-Rev: 8409 --- icu4c/source/test/intltest/tsdate.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/icu4c/source/test/intltest/tsdate.cpp b/icu4c/source/test/intltest/tsdate.cpp index f63fbf1a53..4b14cbe6d3 100644 --- a/icu4c/source/test/intltest/tsdate.cpp +++ b/icu4c/source/test/intltest/tsdate.cpp @@ -23,7 +23,7 @@ void IntlTestDateFormat::runIndexedTest( int32_t index, UBool exec, const char* { if (exec) logln("TestSuite DateFormat"); switch (index) { - case 0: name = "Generic test (Default Locale)"; + case 0: name = "GenericTest"; if (exec) { logln(name); fFormat = DateFormat::createInstance(); @@ -32,21 +32,21 @@ void IntlTestDateFormat::runIndexedTest( int32_t index, UBool exec, const char* testFormat(/* par */); } break; - case 1: name = "Default Locale"; + case 1: name = "DefaultLocale"; if (exec) { logln(name); testLocale(/*par, */Locale::getDefault(), "Default Locale"); } break; - case 2: name = "Determine Available Locales"; + case 2: name = "TestAvailableLocales"; if (exec) { logln(name); testAvailableLocales(/* par */); } break; - case 3: name = "Test Available Locales"; + case 3: name = "MonsterTest"; if (exec) { logln(name); monsterTest(/*par*/); @@ -159,7 +159,7 @@ void IntlTestDateFormat::tryDate(UDate theDate) if (U_FAILURE(status)) { describeTest(); - errln("**** FAIL: Parse of " + string[i-1] + " failed."); + errln("**** FAIL: Parse of " + prettify(string[i-1], FALSE) + " failed."); dump = TRUE; break; }