/external/testng/src/main/java/org/testng/internal/junit/ |
D | ArrayAsserts.java | 20 public static void assertArrayEquals(String message, Object[] expecteds, in assertArrayEquals() method in ArrayAsserts 38 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { in assertArrayEquals() method in ArrayAsserts 39 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 54 public static void assertArrayEquals(String message, byte[] expecteds, in assertArrayEquals() method in ArrayAsserts 68 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { in assertArrayEquals() method in ArrayAsserts 69 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 84 public static void assertArrayEquals(String message, char[] expecteds, in assertArrayEquals() method in ArrayAsserts 98 public static void assertArrayEquals(char[] expecteds, char[] actuals) { in assertArrayEquals() method in ArrayAsserts 99 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 114 public static void assertArrayEquals(String message, short[] expecteds, in assertArrayEquals() method in ArrayAsserts [all …]
|
/external/junit/src/main/java/org/junit/ |
D | Assert.java | 281 public static void assertArrayEquals(String message, Object[] expecteds, in assertArrayEquals() method in Assert 297 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { in assertArrayEquals() method in Assert 298 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 312 public static void assertArrayEquals(String message, boolean[] expecteds, in assertArrayEquals() method in Assert 326 public static void assertArrayEquals(boolean[] expecteds, boolean[] actuals) { in assertArrayEquals() method in Assert 327 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 339 public static void assertArrayEquals(String message, byte[] expecteds, in assertArrayEquals() method in Assert 351 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { in assertArrayEquals() method in Assert 352 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 364 public static void assertArrayEquals(String message, char[] expecteds, in assertArrayEquals() method in Assert [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
D | PrimitiveArrayTest.java | 54 Assert.assertArrayEquals(bytes, ((ByteArr) wrappers.get(0)).getBytes()); in testValidConstructor() 55 Assert.assertArrayEquals(shorts, ((ShortArr) wrappers.get(1)).getShorts()); in testValidConstructor() 56 Assert.assertArrayEquals(ints, ((IntArr) wrappers.get(2)).getInts()); in testValidConstructor() 57 Assert.assertArrayEquals(longs, ((LongArr) wrappers.get(3)).getLongs()); in testValidConstructor() 58 Assert.assertArrayEquals(floats, ((FloatArr) wrappers.get(4)).getFloats(), 0.001f); in testValidConstructor() 59 Assert.assertArrayEquals(doubles, ((DoubleArr) wrappers.get(5)).getDoubles(), 0.001); in testValidConstructor() 60 Assert.assertArrayEquals(chars, ((CharArr) wrappers.get(6)).getChars()); in testValidConstructor() 61 assertArrayEquals(bools, ((BooleanArr) wrappers.get(7)).getBools()); in testValidConstructor() 68 private void assertArrayEquals(boolean[] expected, boolean[] actuals) { in assertArrayEquals() method in PrimitiveArrayTest 125 Assert.assertArrayEquals(new float[] { 3, 5 }, in testPromotion() [all …]
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | TestSessionBuilderTest.java | 19 import static org.junit.Assert.assertArrayEquals; 26 assertArrayEquals(new byte[] {0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x01, 0x22, 0x00, in buildsValidBasicSession() 37 assertArrayEquals( in buildsValidOcspSession() 53 assertArrayEquals( in buildsValidOcspAndTlsSctSession() 70 assertArrayEquals( in buildsValidButEmptyOcspAndTlsSctSession() 87 assertArrayEquals( in buildsInvalidOcspAndTlsSctSession()
|
D | SSLUtilsTest.java | 19 import static org.junit.Assert.assertArrayEquals; 34 assertArrayEquals(expected, actual); in noProtocolsShouldSucceed() 61 assertArrayEquals(expected, actual); in validProtocolsShouldSucceed()
|
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/ |
D | SinkTester.java | 84 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in SinkTester 99 assertArrayEquals(expected, getBytes()); in sinkTestNoWriting() 112 assertArrayEquals(expected, getBytes()); in sinkTestWriteZeroBytes() 124 assertArrayEquals(expected, getBytes()); in sinkTestWriteByteByByte() 146 assertArrayEquals(expected, getBytes()); in sinkTestWriteArray() 177 assertArrayEquals(expected, getBytes()); in sinkTestWriteOffset() 188 assertArrayEquals(expected, getBytes()); in sinkTestWriteLargeArray() 204 assertArrayEquals(expectedBytes, getBytes()); in sinkTestWriteAfterClose()
|
D | CharSinkTester.java | 83 private static void assertArrayEquals(char[] expected, char[] actual) { in assertArrayEquals() method in CharSinkTester 98 assertArrayEquals(expected, getChars()); in sinkTestNoWriting() 111 assertArrayEquals(expected, getChars()); in sinkTestWriteZeroChars() 123 assertArrayEquals(expected, getChars()); in sinkTestWriteCharByChar() 136 assertArrayEquals(expected, getChars()); in sinkTestWriteArray() 162 assertArrayEquals(expected, getChars()); in sinkTestWriteOffset() 176 assertArrayEquals(expected, getChars()); in sinkTestWriteLargeArray() 192 assertArrayEquals(expectedChars, getChars()); in sinkTestWriteAfterClose()
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | DeflateCompressorTest.java | 91 Assert.assertArrayEquals(CONTENT, uncompressed); in testCompress() 112 Assert.assertArrayEquals(CONTENT, uncompressedWithNowrapOn); 124 Assert.assertArrayEquals(CONTENT, uncompressedWithNowrapOff); 144 Assert.assertArrayEquals(CONTENT, content[strategy].uncompressed); 173 Assert.assertArrayEquals(CONTENT, content[level].uncompressed); 196 Assert.assertArrayEquals(CONTENT, uncompressed); 207 Assert.assertArrayEquals(CONTENT, uncompressed); 243 Assert.assertArrayEquals(CONTENT, uncompressed); 251 Assert.assertArrayEquals(CONTENT, uncompressed); 261 Assert.assertArrayEquals(CONTENT, uncompressed); [all …]
|
D | PartiallyUncompressingPipeTest.java | 48 Assert.assertArrayEquals(expectedBytes, outBuffer.toByteArray()); in testWriteAll_Uncompressed() 56 Assert.assertArrayEquals(entry.getUncompressedBinaryContent(), outBuffer.toByteArray()); in testWriteAll_Compressed_NoWrapTrue() 73 Assert.assertArrayEquals(entry.getUncompressedBinaryContent(), outBuffer.toByteArray()); in testWriteAll_Compressed_NoWrapFalse() 106 Assert.assertArrayEquals(expected.toByteArray(), outBuffer.toByteArray()); in testWriteAll_Multiple()
|
D | DeflateUncompressorTest.java | 107 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray()); in testSetInputBufferSize() 116 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray()); in testSetOutputBufferSize() 150 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray()); in testReusability() 156 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray()); in testReusability()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | ZipMultiReportOutputTest.java | 14 import static org.junit.Assert.assertArrayEquals; 60 assertArrayEquals(content1, entries.get("a.txt")); in testWrite1() 75 assertArrayEquals("Zip".getBytes("ISO-8859-1"), entries.get("b.txt")); in testWrite2() 90 assertArrayEquals(new byte[] { 40 }, entries.get("b.txt")); in testWrite3() 113 assertArrayEquals(content1, entries.get("dir/index.html")); in testCreateFiles() 114 assertArrayEquals(content2, entries.get("readme.txt")); in testCreateFiles() 135 assertArrayEquals(content1, entries.get("dir/index.html")); in testCreateFilesWithoutClose() 136 assertArrayEquals(content2, entries.get("readme.txt")); in testCreateFilesWithoutClose()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListToArrayTester.java | 39 assertArrayEquals("toArray() order should match list", in testToArray_noArg() 46 assertArrayEquals("toArray(tooSmall) order should match list", in testToArray_tooSmall() 52 assertArrayEquals("toArray(largeEnough) order should match list", in testToArray_largeEnough() 56 private static void assertArrayEquals(String message, Object[] expected, in assertArrayEquals() method in ListToArrayTester
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSinkTest.java | 23 import static org.junit.Assert.assertArrayEquals; 55 assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes()); in testOpenBufferedStream() 59 assertArrayEquals(new byte[0], sink.getBytes()); in testWrite_bytes() 63 assertArrayEquals(bytes, sink.getBytes()); in testWrite_bytes() 71 assertArrayEquals(bytes, sink.getBytes()); in testWriteFrom_inputStream()
|
D | ByteSourceTest.java | 26 import static org.junit.Assert.assertArrayEquals; 81 assertArrayEquals(bytes, out.toByteArray()); in testOpenBufferedStream() 101 assertArrayEquals(bytes, out.toByteArray()); in testCopyTo_outputStream() 113 assertArrayEquals(bytes, sink.getBytes()); in testCopyTo_byteSink() 117 assertArrayEquals(bytes, source.read()); in testRead_toArray() 142 assertArrayEquals(bytes, processedBytes); in testRead_withProcessor() 235 assertArrayEquals(expected, slice.read()); in assertCorrectSlice() 288 assertArrayEquals(expected, in testConcat() 290 assertArrayEquals(expected, in testConcat() 292 assertArrayEquals(expected, in testConcat() [all …]
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BundleTest.java | 259 Assert.assertArrayEquals(new String[] { "a" }, bundle.getStringArray("foo")); in testStringArray() 298 assertArrayEquals(arr, bundle.getBooleanArray("foo")); in testBooleanArray() 307 Assert.assertArrayEquals(arr, bundle.getByteArray("foo")); in testByteArray() 316 Assert.assertArrayEquals(arr, bundle.getCharArray("foo")); in testCharArray() 325 assertArrayEquals(arr, bundle.getDoubleArray("foo")); in testDoubleArray() 334 Assert.assertArrayEquals(arr, bundle.getIntArray("foo")); in testIntArray() 343 Assert.assertArrayEquals(arr, bundle.getLongArray("foo")); in testLongArray() 352 Assert.assertArrayEquals(arr, bundle.getShortArray("foo")); in testShortArray() 363 Assert.assertArrayEquals(arr, bundle.getParcelableArray("foo")); in testParcelableArray() 375 private void assertArrayEquals(double[] expected, double[] actual) { in assertArrayEquals() method in BundleTest [all …]
|
D | TextUtilsTest.java | 57 assertArrayEquals(TextUtils.split("abc", ","), new String[]{"abc"}); in testSplit() 60 assertArrayEquals(TextUtils.split("abc,def", ","), new String[]{"abc", "def"}); in testSplit() 63 assertArrayEquals(TextUtils.split("abc, def", ","), new String[]{"abc", " def"}); in testSplit()
|
D | Base64Test.java | 11 import static org.junit.Assert.assertArrayEquals; 30 assertArrayEquals(result, base64Decoded.getBytes()); in testDecode()
|
D | SignatureTest.java | 5 import static org.junit.Assert.assertArrayEquals; 25 assertArrayEquals(bytes, signature.toByteArray()); in shouldHaveByteArrayConstructorAndToByteArray()
|
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/ |
D | PartiallyCompressingOutputStreamTest.java | 90 Assert.assertArrayEquals(input, outBuffer.toByteArray()); in testWrite_Nothing() 103 Assert.assertArrayEquals(expected, outBuffer.toByteArray()); in testWrite_NoneCompressed() 116 Assert.assertArrayEquals(ENTRY1.getCompressedBinaryContent(), outBuffer.toByteArray()); in testWrite_AllCompressed() 129 Assert.assertArrayEquals(expected, outBuffer.toByteArray()); in testWrite_GapAndCompression() 142 Assert.assertArrayEquals(expected, outBuffer.toByteArray()); in testWrite_GapAndCompressionAndGap() 169 Assert.assertArrayEquals(expected, outBuffer.toByteArray()); in testWrite_MixedSequence_Thrash()
|
D | FileByFileV1DeltaApplierTest.java | 218 Assert.assertArrayEquals(BSDIFF_DELTA.getBytes("US-ASCII"), actualDeltaDataRead); in applyDelta() 226 Assert.assertArrayEquals(expectedDeltaFriendlyOldFileBytes, oldData); in applyDelta() 252 Assert.assertArrayEquals(expectedNewBytes, actualNewBlobOut.toByteArray()); in testApplyDelta() 266 Assert.assertArrayEquals(expectedNewBytes, actualNewBlobOut.toByteArray()); in testApplyDelta_DoesntCloseStream()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/ |
D | ExecutionDataReaderWriterTest.java | 219 assertArrayEquals(data, store.get(Long.MIN_VALUE).getProbes()); in testMinClassId() 228 assertArrayEquals(data, store.get(Long.MAX_VALUE).getProbes()); in testMaxClassId() 236 assertArrayEquals(data, store.get(3).getProbes()); in testEmptyClass() 244 assertArrayEquals(data, store.get(3).getProbes()); in testOneClass() 254 assertArrayEquals(data1, store.get(333).getProbes()); in testTwoClasses() 255 assertArrayEquals(data2, store.get(-45).getProbes()); in testTwoClasses() 263 assertArrayEquals(data, store.get(123).getProbes()); in testBigClass() 300 private void assertArrayEquals(final boolean[] expected, in assertArrayEquals() method in ExecutionDataReaderWriterTest
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue95/ |
D | ArrayInGenericCollectionTest.java | 74 Assert.assertArrayEquals(data.meta.get(entry.getKey()), entry.getValue()); in testArrayAsMapValue() 99 Assert.assertArrayEquals(data.meta.get(entry.getKey()), entry.getValue()); in testArrayAsMapValueWithTypeDespriptor() 114 Assert.assertArrayEquals(data.meta.toArray(), loaded.meta.toArray()); in testArrayAsListValue() 134 Assert.assertArrayEquals(data.meta.toArray(), loaded.meta.toArray()); in testArrayAsListValueWithTypeDespriptor() 150 Assert.assertArrayEquals(data.meta.toArray(), loaded.meta.toArray()); in testNoTags()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/ |
D | ObjectValuesTest.java | 18 import static org.junit.Assert.assertArrayEquals; 54 assertArrayEquals(ov.getPossible(), ov2.getPossible()); in testObjectValues() 85 assertArrayEquals(ov.getPossible(), ov2.getPossible()); in testObjectValuesWithParam()
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | SerializableMethodTest.java | 39 assertArrayEquals(toStringMethod.getExceptionTypes(), method.getExceptionTypes()); in shouldBeAbleToRetrieveMethodExceptionTypes() 54 assertArrayEquals(toStringMethod.getParameterTypes(), method.getParameterTypes()); in shouldBeAbleToGetParameterTypes()
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ |
D | ClassFileDumperTest.java | 14 import static org.junit.Assert.assertArrayEquals; 74 assertArrayEquals(contents, buffer.toByteArray()); in assertContents()
|