Home
last modified time | relevance | path

Searched refs:assertNotEquals (Results 1 – 25 of 62) sorted by relevance

123

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java6 import static org.junit.Assert.assertNotEquals;
54 assertNotEquals(p1, p2); in testBasicEquals()
56 assertNotEquals(p1, p2); in testBasicEquals()
127 assertNotEquals(val0, val1); in testFieldCoverage()
134 assertNotEquals(getter.invoke(p1), val1); in testFieldCoverage()
137 assertNotEquals("Field " + field + " is missing from equals()", p1, p2); in testFieldCoverage()
138 assertNotEquals(getter.invoke(p1), getter.invoke(p2)); in testFieldCoverage()
139 assertNotEquals(getter.invoke(p1), val0); in testFieldCoverage()
165 assertNotEquals(p1, p2); in testFieldCoverage()
166 assertNotEquals(getter.invoke(p1), getter.invoke(p2)); in testFieldCoverage()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DPropertiesTest.java7 import static org.junit.Assert.assertNotEquals;
57 assertNotEquals(p1, p2); in testBasicEquals()
59 assertNotEquals(p1, p2); in testBasicEquals()
130 assertNotEquals(val0, val1); in testFieldCoverage()
137 assertNotEquals(getter.invoke(p1), val1); in testFieldCoverage()
140 assertNotEquals("Field " + field + " is missing from equals()", p1, p2); in testFieldCoverage()
141 assertNotEquals(getter.invoke(p1), getter.invoke(p2)); in testFieldCoverage()
142 assertNotEquals(getter.invoke(p1), val0); in testFieldCoverage()
168 assertNotEquals(p1, p2); in testFieldCoverage()
169 assertNotEquals(getter.invoke(p1), getter.invoke(p2)); in testFieldCoverage()
[all …]
DNumberFormatterApiTest.java8 import static org.junit.Assert.assertNotEquals;
2579assertNotEquals(NumberFormatter.with().locale(ULocale.ENGLISH), NumberFormatter.with().locale(Loca… in locale()
3065 assertNotEquals(message + ": " + actualMessage + "; " + expectedSubstring in validRanges()
3084assertNotEquals(message + ": " + actualMessage, -1, actualMessage.indexOf(expectedSubstring)); in validRanges()
3095assertNotEquals(message + ": " + actualMessage, -1, actualMessage.indexOf(expectedSubstring)); in validRanges()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DAbstractSchemaTest.java35 import static org.junit.Assert.assertNotEquals;
109 assertNotEquals(0, exceptionCount); in mergeFromByteArrayFastPathMayThrowIndexOutOfBoundsException()
/third_party/python/Lib/lib2to3/fixes/
Dfix_asserts.py11 assertNotEquals="assertNotEqual",
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java481 assertNotEquals("not equals", cdf, notEqualsCdf); in TestEquals()
545 assertNotEquals("CDF(12,000) for no_NO shouldn't be 12 (12K or similar)", "12", result); in TestNordic()
633 assertNotEquals("Short " + loc, 0, s1.length()); in TestLocales()
634 assertNotEquals("Long " + loc, 0, s2.length()); in TestLocales()
DTimeUnitTest.java447 assertNotEquals("verifyEqualsHashCodeNe", o, ne); in verifyEqualsHashCode()
448 assertNotEquals("verifyEqualsHashCodeEqTrans", eq, ne); in verifyEqualsHashCode()
453 assertNotEquals("verifyEqualsHashCodeHashNe", o.hashCode(), ne.hashCode()); in verifyEqualsHashCode()
DSelectFormatAPITest.java117 assertNotEquals("Failed in TestHashCode 2 with unexpected output" in TestHashCode()
DFormattedStringBuilderTest.java7 import static org.junit.Assert.assertNotEquals;
161 assertNotEquals(sb1.length(), sb2.length()); in testCopy()
DIntlTestDecimalFormatSymbols.java414 assertNotEquals("DFS instances must not share same pattern", pattern, in testSetPatternForCurrencySpacing_notSharedByInstances()
420 assertNotEquals("DFS instances must not share same pattern", pattern, in testSetPatternForCurrencySpacing_notSharedByInstances()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeUnitTest.java450 assertNotEquals("verifyEqualsHashCodeNe", o, ne); in verifyEqualsHashCode()
451 assertNotEquals("verifyEqualsHashCodeEqTrans", eq, ne); in verifyEqualsHashCode()
456 assertNotEquals("verifyEqualsHashCodeHashNe", o.hashCode(), ne.hashCode()); in verifyEqualsHashCode()
DCompactDecimalFormatTest.java484 assertNotEquals("not equals", cdf, notEqualsCdf); in TestEquals()
548 assertNotEquals("CDF(12,000) for no_NO shouldn't be 12 (12K or similar)", "12", result); in TestNordic()
636 assertNotEquals("Short " + loc, 0, s1.length()); in TestLocales()
637 assertNotEquals("Long " + loc, 0, s2.length()); in TestLocales()
DSelectFormatAPITest.java120 assertNotEquals("Failed in TestHashCode 2 with unexpected output" in TestHashCode()
DFormattedStringBuilderTest.java8 import static org.junit.Assert.assertNotEquals;
164 assertNotEquals(sb1.length(), sb2.length()); in testCopy()
DIntlTestDecimalFormatSymbols.java417 assertNotEquals("DFS instances must not share same pattern", pattern, in testSetPatternForCurrencySpacing_notSharedByInstances()
423 assertNotEquals("DFS instances must not share same pattern", pattern, in testSetPatternForCurrencySpacing_notSharedByInstances()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTrie2Test.java77 assertNotEquals("", trieA, trieB); in TestTrie2API()
80 assertNotEquals("", trieA.hashCode(), trieB.hashCode()); in TestTrie2API()
321 assertNotEquals("", t1_32, t1w); in TestTrie2WritableAPI()
DLocaleDataTest.java434assertNotEquals("Alt start quotes are equal", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_START), … in TestFallback()
435assertNotEquals("Alt end quotes are equals", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_END), fr_… in TestFallback()
DVersionInfoTest.java230 assertNotEquals("v1234a and v1235", v1234a, v1235); in TestEqualsAndHashCode()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrie2Test.java74 assertNotEquals("", trieA, trieB); in TestTrie2API()
77 assertNotEquals("", trieA.hashCode(), trieB.hashCode()); in TestTrie2API()
318 assertNotEquals("", t1_32, t1w); in TestTrie2WritableAPI()
DLocaleDataTest.java423assertNotEquals("Alt start quotes are equal", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_START), … in TestFallback()
424assertNotEquals("Alt end quotes are equals", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_END), fr_… in TestFallback()
DVersionInfoTest.java239 assertNotEquals("v1234a and v1235", v1234a, v1235); in TestEqualsAndHashCode()
/third_party/ejdb/src/bindings/ejdb2_flutter/example/lib/utils/
Dassertions.dart66 throw AssertionException('assertNotEquals', message);
/third_party/icu/icu4c/source/test/intltest/
Dintltest.h324 UBool assertNotEquals(const char* message, int32_t expectedNot, int32_t actual);
353 UBool assertNotEquals(const UnicodeString& message, int32_t expectedNot, int32_t actual);
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java857 assertNotEquals("getStrength()", Collator.PRIMARY, col1.getStrength());
862 assertNotEquals("setStrength2().getStrength()", Collator.PRIMARY,
870assertNotEquals("getDecomposition()", -1, col1.getDecomposition()); // don't care about the value
877assertNotEquals("getMaxVariable()", -1, col1.getMaxVariable()); // don't care about the value
892 assertNotEquals("getLocale()", ULocale.GERMAN, col1.getLocale(ULocale.ACTUAL_LOCALE));
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationAPITest.java860 assertNotEquals("getStrength()", Collator.PRIMARY, col1.getStrength());
865 assertNotEquals("setStrength2().getStrength()", Collator.PRIMARY,
873assertNotEquals("getDecomposition()", -1, col1.getDecomposition()); // don't care about the value
880assertNotEquals("getMaxVariable()", -1, col1.getMaxVariable()); // don't care about the value
895 assertNotEquals("getLocale()", ULocale.GERMAN, col1.getLocale(ULocale.ACTUAL_LOCALE));

123