X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..e4f10fab0c078f399c9deef476d9c9b73b47dff8:/icuSources/test/intltest/dadrcoll.cpp?ds=sidebyside diff --git a/icuSources/test/intltest/dadrcoll.cpp b/icuSources/test/intltest/dadrcoll.cpp index 1b993840..62248096 100644 --- a/icuSources/test/intltest/dadrcoll.cpp +++ b/icuSources/test/intltest/dadrcoll.cpp @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2005, International Business Machines Corporation and + * Copyright (c) 1997-2010, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -17,7 +17,7 @@ #include "unicode/utypes.h" -#if !UCONFIG_NO_COLLATION +#if !UCONFIG_NO_COLLATION && !UCONFIG_NO_FILE_IO #include "unicode/uchar.h" #include "unicode/tstdtmod.h" @@ -73,7 +73,7 @@ void DataDrivenCollatorTest::runIndexedTest( int32_t index, UBool exec, const ch name = ""; } } else { - errln("collate/DataDrivenTest data not initialized!"); + dataerrln("collate/DataDrivenTest data not initialized!"); name = ""; } @@ -196,11 +196,12 @@ DataDrivenCollatorTest::processTest(TestData *testData) { if(U_SUCCESS(status)) { logln("Testing collator for rules "+testSetting); } else { - errln("Unable to instantiate collator for rules "+testSetting); + errln("Unable to instantiate collator for rules "+testSetting+" - "+u_errorName(status)); return; } } else { errln("No collator definition!"); + return; } }