/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
StringTokenizerTest.java | 63 errln("Constructor with default delimiter gives wrong results"); 70 errln("Constructor with a UnicodeSet to ignoreWhiteSpace is " + 81 errln("Constructor with default delimiter and delimiter tokens gives wrong results"); 95 errln("Constructor with null delimiter gives wrong results"); 109 errln("Constructor with empty delimiter gives wrong results"); 114 errln("null string should throw an exception"); 120 errln("null string should throw an exception"); 126 errln("null string should throw an exception"); 132 errln("null string should throw an exception"); 139 errln("null string should throw an exception") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/ |
TestUCharacterIterator.java | 55 errln("Cloned operation failed"); 71 errln("getText failed for iterator"); 87 errln("Iterator failed retrieving first character"); 92 errln("Iterator failed retrieving last character"); 95 errln("Iterator failed determining begin and end index"); 106 errln("Error mismatch in next() and nextCodePoint()"); 112 errln("Error mismatch in next and nextCodePoint for " + 125 errln("Error mismatch in previous() and " + 132 errln("Error mismatch in previous and " + 150 errln("iter.getText() failed") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
TestUCharacterIterator.java | 54 errln("Cloned operation failed"); 70 errln("getText failed for iterator"); 86 errln("Iterator failed retrieving first character"); 91 errln("Iterator failed retrieving last character"); 94 errln("Iterator failed determining begin and end index"); 105 errln("Error mismatch in next() and nextCodePoint()"); 111 errln("Error mismatch in next and nextCodePoint for " + 124 errln("Error mismatch in previous() and " + 131 errln("Error mismatch in previous and " + 149 errln("iter.getText() failed") [all...] |
/external/icu/icu4c/source/test/intltest/ |
trnserr.cpp | 78 errln("FAIL: Out of bounds check failed (1)."); 81 errln("FAIL: Transliterate fails and the target string was modified."); 85 errln("FAIL: Out of bounds check failed (2)."); 88 errln("FAIL: Transliterate fails and the target string was modified."); 94 errln("FAIL: Start offset is out of bounds, error not reported.\n"); 101 errln("FAIL: Limit offset is out of bounds, error not reported.\n"); 110 errln("FAIL: Test insertion with string: the transliteration position limit didn't change as expected."); 112 errln("FAIL: Error code wasn't set either."); 122 errln("FAIL: Test insertion with character: the transliteration position limit didn't change as expected."); 124 errln("FAIL: Error code wasn't set either.") [all...] |
selfmts.cpp | 111 errln("\nERROR: Unexpected result - SelectFormat Unit Test failed to detect syntax error with pattern: "+checkSyntaxData[i]); 135 errln("ERROR: SelectFormat Unit Test constructor failed in unit tests.- exitting"); 148 errln("ERROR: SelectFormat Unit Test failed to apply pattern- "+patternTestData[i] ); 157 errln("ERROR: SelectFormat Unit test failed in format() with argument: "+ formatArgs[j] + " and error is " + u_errorName(status) ); 160 errln("ERROR: SelectFormat Unit test failed in format() with unexpected result\n with argument: "+ formatArgs[j] + "\n result obtained: " + result + "\n and expected is: " + expFormatResult[i][j] ); 190 errln("ERROR: SelectFormat Unit test failed in format() with keyWord and with an invalid keyword as : "+ 217 errln("ERROR: SelectFormat API test constructor with pattern and status failed! with %s\n", u_errorName(status[0])); 226 errln("ERROR: SelectFormat API test Failed in copy constructor or == operator!"); 236 errln("ERROR: SelectFormat API test clone test failed!"); 239 errln("ERROR: SelectFormat API test clone test failed with NULL!") [all...] |
itercoll.cpp | 101 errln("Couldn't create a RuleBasedCollator with a contracting sequence."); 118 errln("Couldn't create a RuleBasedCollator with an expanding sequence."); 135 errln("Couldn't create a RuleBasedCollator with both an expanding and a contracting sequence."); 151 errln("Couldn't create a collator"); 163 errln("Couldn't create Japanese collator\n"); 180 errln("Error: After setting offset to 0, we should be at the end " 185 errln("Error: After setting offset to end of the string, we should " 200 errln(msg1 + offset + msg2 + test1.length()); 210 errln("setOffset failed."); 226 errln("Error: in creation of Spanish collator - %s", u_errorName(status)) [all...] |
dadrcal.cpp | 115 errln(caseString+": Unable to get param '"+param+"' " 122 errln(caseString+": Unable to instantiate calendar for " 132 errln(caseString+": Unable to get parameter '"+param+"' " 142 errln(caseString+": Failed to parse '"+param+"' parameter: " 152 errln(caseString+": Unable to get parameter '"+param+"' " 157 errln(caseString+": Failed to parse '"+param+"' parameter: " 168 errln(caseString+": Unable to get parameter '"+param+"' " 174 errln(caseString+": Failed to parse '"+param+"' parameter: " 184 errln(caseString+": Unable to get parameter '"+param+"' " 193 errln(caseString+": Failed to parse '"+param+"' parameter: [all...] |
tsputil.cpp | 88 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 89 errln(UnicodeString(" IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 92 errln(UnicodeString("FAIL: IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 196 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 198 errln(UnicodeString(" max(") + a + ", " + b + ") is " + result + ", expected " + exp); 200 errln(UnicodeString(" min(") + a + ", " + b + ") is " + result + ", expected " + exp); 204 errln(UnicodeString("FAIL: max(") + a + ", " + b + ") is " + result + ", expected " + exp); 206 errln(UnicodeString("FAIL: min(") + a + ", " + b + ") is " + result + ", expected " + exp); 248 errln("FAIL: isInfinite(+Infinity) returned FALSE, should be TRUE."); 252 errln("FAIL: isPositiveInfinity(+Infinity) returned FALSE, should be TRUE.") [all...] |
tsdcfmsy.cpp | 50 errln("ERROR: English DecimalFormatSymbols equal to French"); 58 errln("ERROR: get/set ZeroDigit failed"); 64 errln("ERROR: get/set GroupingSeparator failed"); 70 errln("ERROR: get/set DecimalSeparator failed"); 76 errln("ERROR: get/set PerMill failed"); 82 errln("ERROR: get/set Percent failed"); 88 errln("ERROR: get/set Percent failed"); 94 errln("ERROR: get/set PatternSeparator failed"); 101 errln("ERROR: get/set Infinity failed"); 108 errln("ERROR: get/set NaN failed") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDateFormatSymbols.java | 116 errln("ERROR: Mismatch example, index " + i + ": expect prefix \"" + prefixArray[i] + "\" of base \"" + baseArray[i] + "\"."); 136 errln("ERROR: English DateFormatSymbols equal to French"); 147 errln("ERROR: setEras() failed (different size array)"); 152 errln("ERROR: setEras() failed (different string values)"); 163 errln("ERROR: setMonths() failed (different size array)"); 168 errln("ERROR: setMonths() failed (different string values)"); 178 errln("ERROR: setShortMonths() failed (different size array)"); 183 errln("ERROR: setShortMonths() failed (different string values)"); 193 errln("ERROR: setMonths(FORMAT,WIDE) failed (different size array)"); 198 errln("ERROR: setMonths(FORMAT,WIDE) failed (different string values)") [all...] |
NumberFormatRegressionTest.java | 52 errln("FAIL"); 90 errln(pe.getMessage()); 96 errln("FAIL: " + udt + " => " + outString); 111 errln("Failed : Integer Number Format Instance should set setParseIntegerOnly(true)"); 132 errln("Failed => Source: " + Double.toString(data[i]) 158 errln("Failed: " + e.getMessage()); 161 errln("Failed: Integer Number Format should parse string to Long/Integer"); 164 errln("Failed=> Source: " + data[i] 187 errln("FAIL: the test data formats are not euqal"); 234 errln("Failed: ParseException must be thrown for string " + data[i]) [all...] |
GlobalizationPreferencesTest.java | 48 errln("FAIL: The default locale of the test environment must be en_US"); 57 errln("FAIL: The primary locale is not en_US"); 64 errln("FAIL: The secondary locale is not en"); 70 errln("FAIL: Number of locales must be 2"); 78 errln("FAIL: The calendar locale must match with the default JVM locale"); 86 errln("FAIL: The collator locale must match with the default JVM locale"); 94 errln("FAIL: The break iterator locale must match with the default JVM locale"); 103 errln("FAIL: The date format locale must match with the default JVM locale"); 112 errln("FAIL: The number format locale must match with the default JVM locale"); 121 errln("FAIL: This object is not yet frozen") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDateFormatSymbols.java | 115 errln("ERROR: Mismatch example, index " + i + ": expect prefix \"" + prefixArray[i] + "\" of base \"" + baseArray[i] + "\"."); 135 errln("ERROR: English DateFormatSymbols equal to French"); 146 errln("ERROR: setEras() failed (different size array)"); 151 errln("ERROR: setEras() failed (different string values)"); 162 errln("ERROR: setMonths() failed (different size array)"); 167 errln("ERROR: setMonths() failed (different string values)"); 177 errln("ERROR: setShortMonths() failed (different size array)"); 182 errln("ERROR: setShortMonths() failed (different string values)"); 192 errln("ERROR: setMonths(FORMAT,WIDE) failed (different size array)"); 197 errln("ERROR: setMonths(FORMAT,WIDE) failed (different string values)") [all...] |
IntlTestDecimalFormatSymbolsC.java | 38 errln("ERROR: English DecimalFormatSymbols equal to French"); 46 errln("ERROR: get/set ZeroDigit failed"); 52 errln("ERROR: get/set GroupingSeparator failed"); 58 errln("ERROR: get/set DecimalSeparator failed"); 64 errln("ERROR: get/set PerMill failed"); 70 errln("ERROR: get/set Percent failed"); 76 errln("ERROR: get/set Percent failed"); 82 errln("ERROR: get/set PatternSeparator failed"); 89 errln("ERROR: get/set Infinity failed"); 96 errln("ERROR: get/set NaN failed") [all...] |
NumberFormatRegressionTest.java | 51 errln("FAIL"); 89 errln(pe.getMessage()); 95 errln("FAIL: " + udt + " => " + outString); 110 errln("Failed : Integer Number Format Instance should set setParseIntegerOnly(true)"); 131 errln("Failed => Source: " + Double.toString(data[i]) 157 errln("Failed: " + e.getMessage()); 160 errln("Failed: Integer Number Format should parse string to Long/Integer"); 163 errln("Failed=> Source: " + data[i] 186 errln("FAIL: the test data formats are not euqal"); 233 errln("Failed: ParseException must be thrown for string " + data[i]) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 108 errln("FAIL: rbtz1 must be equivalent to the SimpleTimeZone in the time range."); 111 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); 114 errln("FAIL: rbtz3 must be equivalent to the SimpleTimeZone in the time range."); 119 errln("FAIL: rbtz1 and rbtz2 have different rules, but returned true."); 122 errln("FAIL: rbtz1 and rbtz3 have different rules, but returned true."); 126 errln("FAIL: Cloned RuleBasedTimeZone must have the same rules with the original."); 145 errln("FAIL: Invalid time zone offset: " + offset + " /expected: 0"); 149 errln("FAIL: Invalid daylight saving time"); 153 errln("FAIL: Invalid time zone raw offset: " + offsets[0] + " /expected: -3600000"); 156 errln("FAIL: Invalid DST amount: " + offsets[1] + " /expected: 3600000") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 107 errln("FAIL: rbtz1 must be equivalent to the SimpleTimeZone in the time range."); 110 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); 113 errln("FAIL: rbtz3 must be equivalent to the SimpleTimeZone in the time range."); 118 errln("FAIL: rbtz1 and rbtz2 have different rules, but returned true."); 121 errln("FAIL: rbtz1 and rbtz3 have different rules, but returned true."); 125 errln("FAIL: Cloned RuleBasedTimeZone must have the same rules with the original."); 144 errln("FAIL: Invalid time zone offset: " + offset + " /expected: 0"); 148 errln("FAIL: Invalid daylight saving time"); 152 errln("FAIL: Invalid time zone raw offset: " + offsets[0] + " /expected: -3600000"); 155 errln("FAIL: Invalid DST amount: " + offsets[1] + " /expected: 3600000") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
TestMultipleParagraphs.java | 97 errln("1st Bidi.setPara failed, paraLevel = " + Bidi.LTR); 102 errln("1st Bidi.countParagraphs returned " + count + ", should be " + 112 errln("Found boundaries of paragraph " + i + ": " + 125 errln("2nd Bidi.setPara failed, paraLevel = " + Bidi.LTR); 128 errln("2nd Bidi.countParagraphs returned " + count + 137 errln("2nd Found boundaries of paragraph " + i + ": " + 147 errln("3nd Bidi.setPara failed, paraLevel = " + paraLevels[k]); 153 errln("#1 For paraLevel = " + paraLevels[k] + 159 errln("#2 For paraLevel = " + paraLevels[k] + 166 errln("#3 For paraLevel = " + paraLevels[k] [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestMultipleParagraphs.java | 96 errln("1st Bidi.setPara failed, paraLevel = " + Bidi.LTR); 101 errln("1st Bidi.countParagraphs returned " + count + ", should be " + 111 errln("Found boundaries of paragraph " + i + ": " + 124 errln("2nd Bidi.setPara failed, paraLevel = " + Bidi.LTR); 127 errln("2nd Bidi.countParagraphs returned " + count + 136 errln("2nd Found boundaries of paragraph " + i + ": " + 146 errln("3nd Bidi.setPara failed, paraLevel = " + paraLevels[k]); 152 errln("#1 For paraLevel = " + paraLevels[k] + 158 errln("#2 For paraLevel = " + paraLevels[k] + 165 errln("#3 For paraLevel = " + paraLevels[k] [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UTF16Test.java | 61 errln("FAIL Comparing char array append and string append " + 72 errln("FAIL Counting code points in string appended with " + 82 errln("fail appendCodePoint"); 110 errln("FAIL checking bound type at index " + i); 113 errln("FAIL checking bound type at index " + i); 116 errln("FAIL checking bound type at index " + i); 129 errln("FAIL Out of bounds index in bounds should fail"); 137 errln("FAILED Subarray bounds in [" + start + ", " + limit + 151 errln("FAILED Subarray bounds in [" + start + ", " + limit + 164 errln("FAILED Subarray bounds in [" + start + ", " + limit [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UTF16Test.java | 60 errln("FAIL Comparing char array append and string append " + 71 errln("FAIL Counting code points in string appended with " + 81 errln("fail appendCodePoint"); 109 errln("FAIL checking bound type at index " + i); 112 errln("FAIL checking bound type at index " + i); 115 errln("FAIL checking bound type at index " + i); 128 errln("FAIL Out of bounds index in bounds should fail"); 136 errln("FAILED Subarray bounds in [" + start + ", " + limit + 150 errln("FAILED Subarray bounds in [" + start + ", " + limit + 163 errln("FAILED Subarray bounds in [" + start + ", " + limit [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestBoilerplate.java | 53 errln("Equality/Null invariant fails: " + i); 56 errln("Self-Equality invariant fails: " + i); 63 errln("Clone/Mutability invariant fails: " + i); 67 errln("Clone/Equality invariant fails: " + i); 81 if (!b.equals(a)) errln("Equality/Symmetry",i, j); 82 if (aHash != bHash) errln("Equality/Hash",i, j); 84 errln("Equality/Equivalence",i, j); 88 private void errln(String title, int i, int j) { method in class:TestBoilerplate 89 if (j < 0) errln("Clone/" + title + "invariant fails: " + i); 90 else errln(title + "invariant fails: " + i + "," + j) [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestBoilerplate.java | 52 errln("Equality/Null invariant fails: " + i); 55 errln("Self-Equality invariant fails: " + i); 62 errln("Clone/Mutability invariant fails: " + i); 66 errln("Clone/Equality invariant fails: " + i); 80 if (!b.equals(a)) errln("Equality/Symmetry",i, j); 81 if (aHash != bHash) errln("Equality/Hash",i, j); 83 errln("Equality/Equivalence",i, j); 87 private void errln(String title, int i, int j) { method in class:TestBoilerplate 88 if (j < 0) errln("Clone/" + title + "invariant fails: " + i); 89 else errln(title + "invariant fails: " + i + "," + j) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
TestIDNA.java | 91 errln("convertToUnicode did not return expected result with options : "+ options + 95 errln("convertToUnicode did not get the expected exception. The operation succeeded!"); 99 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 106 errln("convertToUnicode did not return expected result with options : "+ options + 110 errln("convertToUnicode did not get the expected exception. The operation succeeded!"); 114 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 121 errln("convertToUnicode did not return expected result with options : "+ options + 125 errln("Did not get the expected exception. The operation succeeded!"); 129 errln("Did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 142 errln("convertToUnicode did not return expected result with options : "+ options + [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
TestIDNA.java | 90 errln("convertToUnicode did not return expected result with options : "+ options + 94 errln("convertToUnicode did not get the expected exception. The operation succeeded!"); 98 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 105 errln("convertToUnicode did not return expected result with options : "+ options + 109 errln("convertToUnicode did not get the expected exception. The operation succeeded!"); 113 errln("convertToUnicode did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 120 errln("convertToUnicode did not return expected result with options : "+ options + 124 errln("Did not get the expected exception. The operation succeeded!"); 128 errln("Did not get the expected exception for source: " + prettify(src) +" Got: "+ ex.toString()); 141 errln("convertToUnicode did not return expected result with options : "+ options + [all...] |