Home
last modified time | relevance | path

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

123456

/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/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DByteArrayHolderTest.java45 Assert.assertNotEquals(rawText1a.hashCode(), rawText2.hashCode()); in testHashCode()
47 Assert.assertNotEquals(rawText1a.hashCode(), rawText3.hashCode()); in testHashCode()
48 Assert.assertNotEquals(rawText2.hashCode(), rawText3.hashCode()); in testHashCode()
61 Assert.assertNotEquals(rawText1a, rawText2); in testEquals()
63 Assert.assertNotEquals(rawText1a, rawText3); in testEquals()
64 Assert.assertNotEquals(rawText3, rawText1a); in testEquals()
65 Assert.assertNotEquals(rawText1a, 42); in testEquals()
66 Assert.assertNotEquals(rawText1a, null); in testEquals()
/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()
DOperationTest.java19 import static org.junit.Assert.assertNotEquals;
63 assertNotEquals(op1, op2); in operationEquality()
69 assertNotEquals(op2, op3); in operationEquality()
70 assertNotEquals(op2, op4); in operationEquality()
74 assertNotEquals(op1, newOp1); in operationEquality()
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DTypedRangeTest.java79 Assert.assertNotEquals(range1a, new TypedRange<String>(123 + 1, 456, "hi mom")); // offset in testEquals()
80 Assert.assertNotEquals(range1a, new TypedRange<String>(123, 456 + 1, "hi mom")); // length in testEquals()
81 Assert.assertNotEquals(range1a, new TypedRange<String>(123, 456, "foo")); // metadata in testEquals()
82 Assert.assertNotEquals(range1a, new TypedRange<String>(123, 456, null)); // no metadata in testEquals()
83 Assert.assertNotEquals(new TypedRange<String>(123, 456, null), range1a); // other code branch in testEquals()
87 Assert.assertNotEquals(range1a, null); // versus null in testEquals()
88 Assert.assertNotEquals(range1a, "space channel 5"); // versus object of different class in testEquals()
DDeflateCompressorTest.java190 Assert.assertNotEquals(17, compressor.getInputBufferSize()); // Ensure test is valid
201 Assert.assertNotEquals(17, compressor.getOutputBufferSize()); // Ensure test is valid
254 Assert.assertNotEquals(7, compressor.getCompressionLevel()); // Ensure test is valid
264 Assert.assertNotEquals(1, compressor.getStrategy()); // Ensure test is valid
/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/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/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/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/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/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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/
DMethodDeclarationTest.java9 import static org.junit.Assert.assertNotEquals;
65 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentName()
72 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentTypes()
79 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentVarargs()
/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/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/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-testing/src/test/java/com/github/javaparser/ast/visitor/
DHashCodeVisitorTest.java8 import static org.junit.Assert.assertNotEquals;
22 assertNotEquals(p1.hashCode(), p2.hashCode()); in testNotEquals()
DNoCommentHashCodeVisitorTest.java8 import static org.junit.Assert.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/v8/tools/clusterfuzz/
Dv8_foozzie_harness_adjust.js69 assertNotEquals = function assertNotEquals(expected, found, name_opt) { function
/external/icu/android_icu4j/testing/src/android/icu/extratest/
DAndroidTransliteratorParameterizedTest.java32 import static org.junit.Assert.assertNotEquals;
77 assertNotEquals("[" + id + "] The source set of the inverse is empty.", in testTranslierateASourceCharacter()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractManagedChannelImplBuilderTest.java22 import static org.junit.Assert.assertNotEquals;
168 assertNotEquals(decompressorRegistry, builder.decompressorRegistry); in decompressorRegistry_normal()
177 assertNotEquals(defaultValue, builder.decompressorRegistry); in decompressorRegistry_null()
190 assertNotEquals(compressorRegistry, builder.compressorRegistry); in compressorRegistry_normal()
199 assertNotEquals(defaultValue, builder.compressorRegistry); in compressorRegistry_null()

123456