Home
last modified time | relevance | path

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

123

/external/mockito/src/test/java/org/mockito/internal/matchers/
DEqualityTest.java12 import static org.mockito.internal.matchers.Equality.areEqual;
19 assertTrue(areEqual(arr, arr)); in shouldKnowIfObjectsAreEqual()
20 assertTrue(areEqual(new int[] {1, 2}, new int[] {1, 2})); in shouldKnowIfObjectsAreEqual()
21 assertTrue(areEqual(new Double[] {1.0}, new Double[] {1.0})); in shouldKnowIfObjectsAreEqual()
22 assertTrue(areEqual(new String[0], new String[0])); in shouldKnowIfObjectsAreEqual()
23 assertTrue(areEqual(new Object[10], new Object[10])); in shouldKnowIfObjectsAreEqual()
24 assertTrue(areEqual(new int[] {1}, new Integer[] {1})); in shouldKnowIfObjectsAreEqual()
25 assertTrue(areEqual(new Object[] {"1"}, new String[] {"1"})); in shouldKnowIfObjectsAreEqual()
27 assertTrue(areEqual(badequals,badequals)); in shouldKnowIfObjectsAreEqual()
29 assertFalse(areEqual(new Object[9], new Object[10])); in shouldKnowIfObjectsAreEqual()
[all …]
/external/mockito/src/main/java/org/mockito/internal/handler/
DNotifiedMethodInvocationReport.java11 import static org.mockito.internal.matchers.Equality.areEqual;
75 return areEqual(invocation, that.invocation) && in equals()
76 areEqual(returnedValue, that.returnedValue) && in equals()
77 areEqual(throwable, that.throwable); in equals()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DX509CertificateHolderSelector.java103 return Arrays.areEqual(subjectKeyId, id.subjectKeyId) in equals()
132 …return Arrays.areEqual(subjectKeyId, MSOutlookKeyIdCalculator.calculateKeyId(certHldr.getSubjectPu… in match()
137 return Arrays.areEqual(subjectKeyId, subKeyID); in match()
142 return Arrays.areEqual(subjectKeyId, (byte[])obj); in match()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsEqual.java23 return areEqual(actualValue, expectedValue); in matches()
31 private static boolean areEqual(Object actual, Object expected) { in areEqual() method in IsEqual
53 if (!areEqual(Array.get(actualArray, i), Array.get(expectedArray, i))) { in areArrayElementsEqual()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DImmutableEntry.java37 return UnicodeMap.areEqual(e.getKey(), k) && UnicodeMap.areEqual(e.getValue(), v); in equals()
DUnicodeMap.java97 if (!areEqual(values[i], that.values[i])) return false; in equals()
105 public static boolean areEqual(Object a , Object b) { in areEqual() method in UnicodeMap
150 if (areEqual(values[i-1], values[i])) { in _checkInvariants()
290 if (areEqual(values[baseIndex], value)) return this; in _put()
312 baseIndex != 0 && areEqual(value, values[baseIndex-1]); in _put()
317 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
349 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
533 if (areEqual(value, values[i])) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DImmutableEntry.java38 return UnicodeMap.areEqual(e.getKey(), k) && UnicodeMap.areEqual(e.getValue(), v); in equals()
DUnicodeMap.java98 if (!areEqual(values[i], that.values[i])) return false; in equals()
106 public static boolean areEqual(Object a , Object b) { in areEqual() method in UnicodeMap
151 if (areEqual(values[i-1], values[i])) { in _checkInvariants()
291 if (areEqual(values[baseIndex], value)) return this; in _put()
313 baseIndex != 0 && areEqual(value, values[baseIndex-1]); in _put()
318 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
350 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
534 if (areEqual(value, values[i])) {
/external/mockito/src/main/java/org/mockito/internal/matchers/
DEquality.java12 public static boolean areEqual(Object o1, Object o2) { in areEqual() method in Equality
35 if (!areEqual(Array.get(o1, i), Array.get(o2, i))) return false; in areArrayElementsEqual()
DEquals.java22 return Equality.areEqual(this.wanted, actual); in matches()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DArrays.java16 public static boolean areEqual( in areEqual() method in Arrays
46 public static boolean areEqual( in areEqual() method in Arrays
76 public static boolean areEqual( in areEqual() method in Arrays
106 public static boolean areEqual( in areEqual() method in Arrays
173 public static boolean areEqual( in areEqual() method in Arrays
203 public static boolean areEqual( in areEqual() method in Arrays
233 public static boolean areEqual(Object[] a, Object[] b) in areEqual() method in Arrays
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java288 assertTrue(diff.areEqual()); in testMapDifferenceEmptyEmpty()
298 assertFalse(diff.areEqual()); in testMapDifferenceEmptySingleton()
308 assertFalse(diff.areEqual()); in testMapDifferenceSingletonEmpty()
323 assertFalse(diff1.areEqual()); in testMapDifferenceTypical()
335 assertFalse(diff2.areEqual()); in testMapDifferenceTypical()
383 assertFalse(diff1.areEqual()); in testMapDifferencePredicateTypical()
396 assertFalse(diff2.areEqual()); in testMapDifferencePredicateTypical()
421 assertTrue(diff.areEqual()); in testSortedMapDifferenceEmptyEmpty()
432 assertFalse(diff.areEqual()); in testSortedMapDifferenceEmptySingleton()
443 assertFalse(diff.areEqual()); in testSortedMapDifferenceSingletonEmpty()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHValidationParameters.java43 return Arrays.areEqual(this.seed, other.seed); in equals()
DDSAValidationParameters.java63 return Arrays.areEqual(this.seed, other.seed); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/
DGF2Polynomial.java35 return Arrays.areEqual(exponents, other.exponents); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500NameStyle.java47 boolean areEqual(X500Name name1, X500Name name2); in areEqual() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DBCStrictStyle.java16 public boolean areEqual(X500Name name1, X500Name name2) in areEqual() method in BCStrictStyle
/external/guava/guava/src/com/google/common/collect/
DMapDifference.java37 boolean areEqual(); in areEqual() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
DTables1kGCMExponentiator.java16 if (lookupPowX2 != null && Arrays.areEqual(y, (int[])lookupPowX2.elementAt(0))) in init()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java354 assertTrue(diff.areEqual()); in testMapDifferenceEmptyEmpty()
364 assertFalse(diff.areEqual()); in testMapDifferenceEmptySingleton()
374 assertFalse(diff.areEqual()); in testMapDifferenceSingletonEmpty()
389 assertFalse(diff1.areEqual()); in testMapDifferenceTypical()
401 assertFalse(diff2.areEqual()); in testMapDifferenceTypical()
449 assertFalse(diff1.areEqual()); in testMapDifferencePredicateTypical()
462 assertFalse(diff2.areEqual()); in testMapDifferencePredicateTypical()
487 assertTrue(diff.areEqual()); in testSortedMapDifferenceEmptyEmpty()
498 assertFalse(diff.areEqual()); in testSortedMapDifferenceEmptySingleton()
509 assertFalse(diff.areEqual()); in testSortedMapDifferenceSingletonEmpty()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERGraphicString.java117 return Arrays.areEqual(string, s.string); in asn1Equals()
DDERVideotexString.java117 return Arrays.areEqual(string, s.string); in asn1Equals()
DDERT61String.java144 return Arrays.areEqual(string, ((DERT61String)o).string); in asn1Equals()
DDERUTF8String.java118 return Arrays.areEqual(string, s.string); in asn1Equals()
DDERGeneralString.java143 return Arrays.areEqual(string, s.string); in asn1Equals()

123