X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/48b980fed3435926e0b3a8d72ecb58be703a1c7a..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/test/cintltst/ncnvfbts.c?ds=sidebyside diff --git a/icuSources/test/cintltst/ncnvfbts.c b/icuSources/test/cintltst/ncnvfbts.c index 2158bfd4..43f8c48b 100644 --- a/icuSources/test/cintltst/ncnvfbts.c +++ b/icuSources/test/cintltst/ncnvfbts.c @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2007, International Business Machines Corporation and + * Copyright (c) 1997-2010, International Business Machines Corporation and * others. All Rights Reserved. ***************************************************************************/ /***************************************************************************** @@ -104,7 +104,9 @@ void addTestConverterFallBack(TestNode** root); void addTestConverterFallBack(TestNode** root) { +#if !UCONFIG_NO_FILE_IO addTest(root, &TestConverterFallBack, "tsconv/ncnvfbts/TestConverterFallBack"); +#endif } @@ -222,7 +224,7 @@ static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const u log_verbose("\nConversion done [%d uchars in -> %d chars out]. \nResult :", sourceLen, targ-junkout); - if(VERBOSITY) + if(getTestOption(VERBOSITY_OPTION)) { char junk[9999]; char offset_str[9999]; @@ -385,7 +387,7 @@ static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const U log_verbose("\nConversion done. %d bytes -> %d chars.\nResult :", sourcelen, targ-junkout); - if(VERBOSITY) + if(getTestOption(VERBOSITY_OPTION)) { junk[0] = 0;