Home
last modified time | relevance | path

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

1234567

/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare_test.py47 def assertNotEquals(self, a, b): member in ProtoEqTest
65 self.assertNotEquals('string_: "a"', '')
67 self.assertNotEquals('string_: "b"', 'string_: "a"')
68 self.assertNotEquals('string_: "ab"', 'string_: "aa"')
70 self.assertNotEquals('int64_: 0', '')
72 self.assertNotEquals('int64_: -1', '')
73 self.assertNotEquals('int64_: 1', 'int64_: 0')
74 self.assertNotEquals('int64_: 0', 'int64_: -1')
76 self.assertNotEquals('float_: 0.0', '')
78 self.assertNotEquals('float_: -0.1', '')
[all …]
/external/testng/src/main/java/org/testng/asserts/
DAssertion.java526 public void assertNotEquals(final Object actual, final Object expected, final String message) { in assertNotEquals() method in Assertion
530 org.testng.Assert.assertNotEquals(actual, expected, message); in assertNotEquals()
535 public void assertNotEquals(final Object actual, final Object expected) { in assertNotEquals() method in Assertion
539 org.testng.Assert.assertNotEquals(actual, expected); in assertNotEquals()
544 void assertNotEquals(final String actual, final String expected, final String message) { in assertNotEquals() method in Assertion
548 org.testng.Assert.assertNotEquals(actual, expected, message); in assertNotEquals()
553 void assertNotEquals(final String actual, final String expected) { in assertNotEquals() method in Assertion
557 org.testng.Assert.assertNotEquals(actual, expected); in assertNotEquals()
562 void assertNotEquals(final long actual, final long expected, final String message) { in assertNotEquals() method in Assertion
566 org.testng.Assert.assertNotEquals(actual, expected, message); in assertNotEquals()
[all …]
/external/testng/src/main/java/org/testng/
DAssert.java822 public static void assertNotEquals(Object actual1, Object actual2, String message) { in assertNotEquals() method in Assert
835 public static void assertNotEquals(Object actual1, Object actual2) { in assertNotEquals() method in Assert
836 assertNotEquals(actual1, actual2, null); in assertNotEquals()
839 static void assertNotEquals(String actual1, String actual2, String message) { in assertNotEquals() method in Assert
840 assertNotEquals((Object) actual1, (Object) actual2, message); in assertNotEquals()
843 static void assertNotEquals(String actual1, String actual2) { in assertNotEquals() method in Assert
844 assertNotEquals(actual1, actual2, null); in assertNotEquals()
847 static void assertNotEquals(long actual1, long actual2, String message) { in assertNotEquals() method in Assert
848 assertNotEquals(Long.valueOf(actual1), Long.valueOf(actual2), message); in assertNotEquals()
851 static void assertNotEquals(long actual1, long actual2) { in assertNotEquals() method in Assert
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DParserCollectionStrategyTest.java9 import static org.junit.jupiter.api.Assertions.assertNotEquals;
20assertNotEquals(Optional.empty(), projectRoot.getSourceRoot(root.resolve("javaparser-core/src/main… in getSourceRoots()
21 assertNotEquals(Optional.empty(), projectRoot.getSourceRoot(root.resolve in getSourceRoots()
23 assertNotEquals(Optional.empty(), projectRoot.getSourceRoot(root.resolve in getSourceRoots()
25 assertNotEquals(Optional.empty(), projectRoot.getSourceRoot(root.resolve in getSourceRoots()
27 assertNotEquals(Optional.empty(), projectRoot.getSourceRoot(root.resolve in getSourceRoots()
29 assertNotEquals(Optional.empty(), projectRoot.getSourceRoot(root.resolve in getSourceRoots()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DShapeTest.java19 import static org.junit.Assert.assertNotEquals;
87 assertNotEquals(Shape.make(1, 2), null); in equalsWorksCorrectly()
88 assertNotEquals(Shape.make(1, 2), new Object()); in equalsWorksCorrectly()
89 assertNotEquals(Shape.make(1, 2, 3), Shape.make(1, 2, 4)); in equalsWorksCorrectly()
91 assertNotEquals(Shape.unknown(), Shape.unknown()); in equalsWorksCorrectly()
92 assertNotEquals(Shape.make(-1), Shape.make(-1)); in equalsWorksCorrectly()
93 assertNotEquals(Shape.make(1, -1, 3), Shape.make(1, -1, 3)); in equalsWorksCorrectly()
102 assertNotEquals(Shape.make(1, 2).hashCode(), Shape.make(1, 3).hashCode()); in hashCodeIsAsExpected()
DGraphOperationTest.java19 import static org.junit.Assert.assertNotEquals;
64 assertNotEquals(op1, op2); in operationEquality()
70 assertNotEquals(op2, op3); in operationEquality()
71 assertNotEquals(op2, op4); in operationEquality()
75 assertNotEquals(op1, newOp1); in operationEquality()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/api/
DCldrValueTest.java71 assertNotEquals("unequal path", v, vSameDiffPath); in TestValueEquality()
72 assertNotEquals("unequal values", v, vDiffValue); in TestValueEquality()
73 assertNotEquals("unequal attributes", v, vDiffAttr); in TestValueEquality()
78 assertNotEquals("unequal hashcode", v.hashCode(), vDiffValue.hashCode()); in TestValueEquality()
79 assertNotEquals("unequal hashcode", v.hashCode(), vDiffAttr.hashCode()); in TestValueEquality()
/external/testng/src/test/java/test/asserttests/
DArrayEqualityAssertTest.java15 import static org.testng.Assert.assertNotEquals;
31 assertNotEquals(new int[]{ 42 }, new int[] { 42 }, in arrayAssertNotEquals()
43 assertNotEquals(new Integer[]{ 42 }, new Integer[] { 42 }, in boxedArrayAssertNotEquals()
57 assertNotEquals(new int[]{ 42 }, new Integer[] { 42 }, in mixedArraysAssertNotEquals()
59 assertNotEquals(new Integer[]{ 42 }, new int[] { 42 }, in mixedArraysAssertNotEquals()
83 assertNotEquals(list, listCopy, in arrayInsideListAssertNotEquals()
116 assertNotEquals(map, mapCopy, in arrayInsideMapAssertNotEquals()
138 assertNotEquals(set, setCopy, in arrayInsideSetAssertNotEquals()
/external/grpc-grpc-java/examples/android/clientcache/app/src/test/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptorTest.java6 import static org.junit.Assert.assertNotEquals;
174 assertNotEquals(reply1, reply2); in requestWithNoCacheOptionSkipsCache()
242 assertNotEquals(reply1, reply2); in responseNoCacheDirective_notCached()
243 assertNotEquals(reply1, reply2); in responseNoCacheDirective_notCached()
259 assertNotEquals(reply1, reply2); in responseNoStoreDirective_notCached()
275 assertNotEquals(reply1, reply2); in responseNoTransformDirective_notCached()
305 assertNotEquals(reply1, reply2); in responseMaxAge_caseInsensitive()
321 assertNotEquals(reply1, reply2); in responseNoCache_caseInsensitive()
337 assertNotEquals(reply1, reply2); in combinedResponseCacheControlDirectives_parsesWithoutError()
354 assertNotEquals(reply1, reply2); in separateResponseCacheControlDirectives_parsesWithoutError()
[all …]
/external/junit/src/main/java/org/junit/
DAssert.java158 static public void assertNotEquals(String message, Object unexpected, in assertNotEquals() method in Assert
174 static public void assertNotEquals(Object unexpected, Object actual) { in assertNotEquals() method in Assert
175 assertNotEquals(null, unexpected, actual); in assertNotEquals()
197 static public void assertNotEquals(String message, long unexpected, long actual) { in assertNotEquals() method in Assert
210 static public void assertNotEquals(long unexpected, long actual) { in assertNotEquals() method in Assert
211 assertNotEquals(null, unexpected, actual); in assertNotEquals()
229 static public void assertNotEquals(String message, double unexpected, in assertNotEquals() method in Assert
248 static public void assertNotEquals(double unexpected, double actual, double delta) { in assertNotEquals() method in Assert
249 assertNotEquals(null, unexpected, actual, delta); in assertNotEquals()
264 static public void assertNotEquals(float unexpected, float actual, float delta) { in assertNotEquals() method in Assert
[all …]
/external/icu/android_icu4j/src/main/tests/android/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 …]
/external/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 …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DConnectivityStateInfoTest.java24 import static org.junit.Assert.assertNotEquals;
74 assertNotEquals(info1, info2); in equality()
75 assertNotEquals(info1, info4); in equality()
76 assertNotEquals(info4, info6); in equality()
DMethodDescriptorTest.java22 import static org.junit.Assert.assertNotEquals;
158 assertNotEquals(md1.isSampledToLocalTracing(), defaults.isSampledToLocalTracing()); in toBuilderTest()
159 assertNotEquals(md1.isIdempotent(), defaults.isIdempotent()); in toBuilderTest()
160 assertNotEquals(md1.isSafe(), defaults.isSafe()); in toBuilderTest()
161 assertNotEquals(md1.getSchemaDescriptor(), defaults.getSchemaDescriptor()); in toBuilderTest()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/
DMethodDeclarationTest.java8 import static org.junit.jupiter.api.Assertions.assertNotEquals;
64 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentName()
71 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentTypes()
78 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentVarargs()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipFileTest.java450 Assert.assertNotEquals(-1L, inflatedEntry.getLocalHeaderOffset()); in testDelayedOffsetsAndSizes()
451 Assert.assertNotEquals(-1L, inflatedEntry.getDataOffset()); in testDelayedOffsetsAndSizes()
453 Assert.assertNotEquals(-1L, inflatedEntry.getCompressedSize()); in testDelayedOffsetsAndSizes()
454 Assert.assertNotEquals(-1L, inflatedEntry.getSize()); in testDelayedOffsetsAndSizes()
456 Assert.assertNotEquals(-1L, storedEntry.getLocalHeaderOffset()); in testDelayedOffsetsAndSizes()
457 Assert.assertNotEquals(-1L, storedEntry.getDataOffset()); in testDelayedOffsetsAndSizes()
459 Assert.assertNotEquals(-1L, storedEntry.getCompressedSize()); in testDelayedOffsetsAndSizes()
460 Assert.assertNotEquals(-1L, storedEntry.getSize()); in testDelayedOffsetsAndSizes()
508 assertNotEquals(-1L, inflatedEntry.getCompressedSize()); in testEntryAlignment()
509 assertNotEquals(-1L, inflatedEntry.getSize()); in testEntryAlignment()
[all …]
/external/cbor-java/src/test/java/co/nstant/in/cbor/model/
DMapTest.java4 import static org.junit.Assert.assertNotEquals;
25 assertNotEquals(map1, new Object()); in testEquals()
34 assertNotEquals(map1.hashCode(), map2.hashCode()); in testHashcode()
DArrayTest.java4 import static org.junit.Assert.assertNotEquals;
14 assertNotEquals(array, null); in testEquals()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/
DPrimitiveOpTest.java20 import static org.junit.Assert.assertNotEquals;
48 assertNotEquals(test1, test2); in equalsHashcode()
51 assertNotEquals(test2, test3); in equalsHashcode()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DTypeResolutionWithSameNameTest.java17 import static org.junit.jupiter.api.Assertions.assertNotEquals;
50assertNotEquals("extends_duplicate.A.DuplicateTypeName", qualifiedName, "Error - resolved to neste… in testTypesWithSameNameInPackageAndNested_directExtends()
81assertNotEquals("implements_duplicate.A.DuplicateTypeName", qualifiedName, "Error - resolved to ne… in testTypesWithSameNameInPackageAndNested_directImplements()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCasingInfo.java16 assertNotEquals( in TestGetLocaleCasing()
27 assertNotEquals("Script variants should have their own casing", in TestGetLocaleCasing()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/
DHashCodeVisitorTest.java8 import static org.junit.jupiter.api.Assertions.assertNotEquals;
22 assertNotEquals(p1.hashCode(), p2.hashCode()); in testNotEquals()
DNoCommentHashCodeVisitorTest.java8 import static org.junit.jupiter.api.Assertions.assertNotEquals;
32 assertNotEquals(p1.hashCode(), p2.hashCode()); in testNotEquals()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeNameTest.java29 import static org.junit.Assert.assertNotEquals;
80 assertNotEquals(TypeName.get(genericStringInner.getGenericReturnType()), in innerClassInGenericType()
92 assertNotEquals(TypeName.get(genericStringInner.getGenericReturnType()), in innerGenericInGenericType()
141 assertNotEquals(ClassName.get(List.class), ParameterizedTypeName.get(List.class, in equalsAndHashCodeParameterizedTypeName()
/external/icu/android_icu4j/testing/src/android/icu/extratest/
DAndroidTransliteratorAvailableIdsTest.java36 import static org.junit.Assert.assertNotEquals;
85 assertNotEquals("At least one transliteration id is expected", in assertContainingAllExpectedIds()

1234567