Home
last modified time | relevance | path

Searched refs:array1 (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyGeneratorThread.java41 byte[] array1 = k.getEncoded(); in test()
45 for (int i = 0; i < array1.length; i++) { in test()
46 if (array1[i] == array2[i]) { in test()
50 if (matches > array1.length / 2) { in test()
57 array1 = k.getEncoded(); in test()
62 for (int i = 0; i < array1.length; i++) { in test()
63 if (array1[i] == array2[i]) { in test()
/libcore/support/src/test/java/tests/support/
DSupport_MapTest.java184 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() argument
185 assertTrue(Arrays.equals(array1, array2)); in assertArrayEquals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumMapTest.java432 Object[] array1 = new Object[10]; in test_entrySet() local
433 array1 = set.toArray(); in test_entrySet()
434 assertEquals("Wrong length", 2, array1.length); in test_entrySet()
439 array1 = new Object[10]; in test_entrySet()
440 array1 = set.toArray(array1); in test_entrySet()
441 assertEquals("Wrong length", 10, array1.length); in test_entrySet()
444 assertNull("Should be null", array1[2]); in test_entrySet()
DCollectionsTest.java2398 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() argument
2399 assertTrue(Arrays.equals(array1, array2)); in assertArrayEquals()