Home
last modified time | relevance | path

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

12345

/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/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
DDeflateUncompressorTest.java103 Assert.assertNotEquals(17, uncompressor.getInputBufferSize()); // Ensure test is valid in testSetInputBufferSize()
112 Assert.assertNotEquals(17, uncompressor.getOutputBufferSize()); // Ensure test is valid in testSetOutputBufferSize()
/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/android_icu4j/src/main/tests/android/icu/dev/test/number/
DPropertiesTest.java7 import static org.junit.Assert.assertNotEquals;
58 assertNotEquals(p1, p2); in testBasicEquals()
60 assertNotEquals(p1, p2); in testBasicEquals()
132 assertNotEquals(val0, val1); in testFieldCoverage()
139 assertNotEquals(getter.invoke(p1), val1); in testFieldCoverage()
142 assertNotEquals("Field " + field + " is missing from equals()", p1, p2); in testFieldCoverage()
143 assertNotEquals(getter.invoke(p1), getter.invoke(p2)); in testFieldCoverage()
144 assertNotEquals(getter.invoke(p1), val0); in testFieldCoverage()
170 assertNotEquals(p1, p2); in testFieldCoverage()
171 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;
55 assertNotEquals(p1, p2); in testBasicEquals()
57 assertNotEquals(p1, p2); in testBasicEquals()
129 assertNotEquals(val0, val1); in testFieldCoverage()
136 assertNotEquals(getter.invoke(p1), val1); in testFieldCoverage()
139 assertNotEquals("Field " + field + " is missing from equals()", p1, p2); in testFieldCoverage()
140 assertNotEquals(getter.invoke(p1), getter.invoke(p2)); in testFieldCoverage()
141 assertNotEquals(getter.invoke(p1), val0); in testFieldCoverage()
167 assertNotEquals(p1, p2); in testFieldCoverage()
168 assertNotEquals(getter.invoke(p1), getter.invoke(p2)); in testFieldCoverage()
[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/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-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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DManipulationSteps.java54 import static org.junit.Assert.assertNotEquals;
217 assertNotEquals(compilationUnit, null); in thenIsNotEqualToNull()
223 assertNotEquals(compilationUnit, value); in thenIsNotEqualTo()
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_asserts.py11 assertNotEquals="assertNotEqual",
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_asserts.py11 assertNotEquals="assertNotEqual",
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
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()
DTimeUnitTest.java450 assertNotEquals("verifyEqualsHashCodeNe", o, ne); in verifyEqualsHashCode()
451 assertNotEquals("verifyEqualsHashCodeEqTrans", eq, ne); in verifyEqualsHashCode()
456 assertNotEquals("verifyEqualsHashCodeHashNe", o.hashCode(), ne.hashCode()); in verifyEqualsHashCode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java447 assertNotEquals("verifyEqualsHashCodeNe", o, ne); in verifyEqualsHashCode()
448 assertNotEquals("verifyEqualsHashCodeEqTrans", eq, ne); in verifyEqualsHashCode()
453 assertNotEquals("verifyEqualsHashCodeHashNe", o.hashCode(), ne.hashCode()); in verifyEqualsHashCode()
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()
/external/autotest/frontend/afe/json_rpc/
DserviceHandler_unittest.py68 self.assertNotEquals(response_obj['error'], 'None')
/external/tensorflow/tensorflow/python/training/
Dserver_lib_test.py526 self.assertNotEquals(
531 self.assertNotEquals(
538 self.assertNotEquals(
545 self.assertNotEquals(

12345