/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/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/ |
D | Ed25519Test.java | 18 import static org.junit.Assert.assertArrayEquals; 131 assertArrayEquals(KM, km1); in testAffineExtendedConversion() 132 assertArrayEquals(KN, kn1); in testAffineExtendedConversion() 134 assertArrayEquals(ID, Ed25519.toAffine(ID_EX)); in testAffineExtendedConversion() 135 assertArrayEquals(ID_EX, Ed25519.toExtended(ID)); in testAffineExtendedConversion() 159 assertArrayEquals(ID, Ed25519.addAffinePoints(ID, ID)); in testAddSubtractExtendedPoints() 160 assertArrayEquals(ID, Ed25519.subtractAffinePoints(ID, ID)); in testAddSubtractExtendedPoints() 163 assertArrayEquals(KM, Ed25519.addAffinePoints(KM, ID)); in testAddSubtractExtendedPoints() 164 assertArrayEquals(KM, Ed25519.subtractAffinePoints(KM, ID)); in testAddSubtractExtendedPoints() 167 assertArrayEquals(ID, Ed25519.subtractAffinePoints(KM, KM)); in testAddSubtractExtendedPoints() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | Zip64SupportIT.java | 22 import static org.junit.Assert.assertArrayEquals; 224 assertArrayEquals(new byte[] { in write100KFiles() 246 assertArrayEquals(new byte[] { in write100KFiles() 265 assertArrayEquals(new byte[] { in write100KFiles() 294 assertArrayEquals(new byte[] { in write100KFiles() 398 assertArrayEquals("CDH start", new byte[] { 416 assertArrayEquals("CDH original size", new byte[] { 420 assertArrayEquals("CDH original size", new byte[] { 426 assertArrayEquals("CDH rest", new byte[] { 447 assertArrayEquals("CDH extra", new byte[] { [all …]
|
D | DataDescriptorTest.java | 34 import static org.junit.Assert.assertArrayEquals; 64 assertArrayEquals(new byte[] { 20, 0 }, versionInLFH); in writesDataDescriptorForDeflatedEntryOnUnseekableOutput() 67 assertArrayEquals(new byte[] { 8, 8 }, gpbInLFH); in writesDataDescriptorForDeflatedEntryOnUnseekableOutput() 69 assertArrayEquals(new byte[12], crcAndSizedInLFH); in writesDataDescriptorForDeflatedEntryOnUnseekableOutput() 73 assertArrayEquals(new byte[] { 20, 0 }, versionInCDH); in writesDataDescriptorForDeflatedEntryOnUnseekableOutput() 75 assertArrayEquals(new byte[] { 8, 8 }, gpbInCDH); in writesDataDescriptorForDeflatedEntryOnUnseekableOutput() 108 assertArrayEquals(new byte[] { 20, 0 }, versionInLFH); in doesntWriteDataDescriptorForDeflatedEntryOnSeekableOutput() 111 assertArrayEquals(new byte[] { 0, 8 }, gpbInLFH); in doesntWriteDataDescriptorForDeflatedEntryOnSeekableOutput() 115 assertArrayEquals(new byte[] { 20, 0 }, versionInCDH); in doesntWriteDataDescriptorForDeflatedEntryOnSeekableOutput() 117 assertArrayEquals(new byte[] { 0, 8 }, gpbInCDH); in doesntWriteDataDescriptorForDeflatedEntryOnSeekableOutput() [all …]
|
/external/rappor/client/javatest/com/google/android/rappor/ |
D | HmacDrbgTest.java | 3 import static org.junit.Assert.assertArrayEquals; 43 assertArrayEquals(expected, out2); in testHmacDrbgNistCase0() 62 assertArrayEquals(expected, out2); in testHmacDrbgNistCase1() 81 assertArrayEquals(expected, out2); in testHmacDrbgNistCase2() 100 assertArrayEquals(expected, out2); in testHmacDrbgNistCase3() 119 assertArrayEquals(expected, out2); in testHmacDrbgNistCase4() 138 assertArrayEquals(expected, out2); in testHmacDrbgNistCase5() 157 assertArrayEquals(expected, out2); in testHmacDrbgNistCase6() 176 assertArrayEquals(expected, out2); in testHmacDrbgNistCase7() 195 assertArrayEquals(expected, out2); in testHmacDrbgNistCase8() [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/junit/src/main/java/org/junit/ |
D | Assert.java | 283 public static void assertArrayEquals(String message, Object[] expecteds, in assertArrayEquals() method in Assert 299 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { in assertArrayEquals() method in Assert 300 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 314 public static void assertArrayEquals(String message, boolean[] expecteds, in assertArrayEquals() method in Assert 328 public static void assertArrayEquals(boolean[] expecteds, boolean[] actuals) { in assertArrayEquals() method in Assert 329 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 341 public static void assertArrayEquals(String message, byte[] expecteds, in assertArrayEquals() method in Assert 353 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { in assertArrayEquals() method in Assert 354 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 366 public static void assertArrayEquals(String message, char[] expecteds, in assertArrayEquals() method in Assert [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()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | TestSessionBuilderTest.java | 20 import static org.junit.Assert.assertArrayEquals; 30 assertArrayEquals(new byte[] {0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x01, 0x22, 0x00, in buildsValidBasicSession() 41 assertArrayEquals( in buildsValidOcspSession() 57 assertArrayEquals( in buildsValidOcspAndTlsSctSession() 74 assertArrayEquals( in buildsValidButEmptyOcspAndTlsSctSession() 91 assertArrayEquals( in buildsInvalidOcspAndTlsSctSession()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/ |
D | BlockLZ4CompressorOutputStreamTest.java | 96 Assert.assertArrayEquals(new byte[] { 0, 1, 0 }, bos.toByteArray()); in canWritePairWithoutLiterals() 105 Assert.assertArrayEquals(new byte[] { 15, 1, 0, 0 }, bos.toByteArray()); in writesCorrectSizeFor19ByteLengthBackReference() 114 Assert.assertArrayEquals(new byte[] { 15, 1, 0, (byte) 254 }, bos.toByteArray()); in writesCorrectSizeFor273ByteLengthBackReference() 123 Assert.assertArrayEquals(new byte[] { 15, 1, 0, (byte) 255, 0 }, bos.toByteArray()); in writesCorrectSizeFor274ByteLengthBackReference() 133 Assert.assertArrayEquals(new byte[] { 4<<4, 2, 3, 4, 5 }, bos.toByteArray()); in canWritePairWithoutBackReference() 144 …Assert.assertArrayEquals(new byte[] { (byte) (15<<4), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5,… in writesCorrectSizeFor15ByteLengthLiteral() 158 Assert.assertArrayEquals(new byte[] { (byte) (15<<4), (byte) 254, 1 }, in writesCorrectSizeFor269ByteLengthLiteral() 171 Assert.assertArrayEquals(new byte[] { (byte) (15<<4), (byte) 255, 0, 1 }, in writesCorrectSizeFor270ByteLengthLiteral() 184 Assert.assertArrayEquals(new byte[] { (4<<4) + 1, 2, 3, 4, 5, 1, 0 }, in writesCompletePair() 199 Assert.assertArrayEquals("input length is " + i, expected, compressed); in rewritingOfFinalBlockWithoutTrailingLZ77Literals() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | ByteUtilsTest.java | 33 import static org.junit.Assert.assertArrayEquals; 148 assertArrayEquals(new byte[] { 2, 3, 4 }, bos.toByteArray()); in toLittleEndianToStream() 156 assertArrayEquals(new byte[] { 2, 3, 4, (byte) 128 }, bos.toByteArray()); in toLittleEndianToStreamUnsignedInt32() 164 assertArrayEquals(new byte[] { 2, 3, 4 }, bos.toByteArray()); in toLittleEndianToConsumer() 172 assertArrayEquals(new byte[] { 2, 3, 4, (byte) 128 }, bos.toByteArray()); in toLittleEndianToConsumerUnsignedInt32() 181 assertArrayEquals(new byte[] { 2, 3, 4 }, bos.toByteArray()); in toLittleEndianToDataOutput() 190 assertArrayEquals(new byte[] { 2, 3, 4, (byte) 128 }, bos.toByteArray()); in toLittleEndianToDataOutputUnsignedInt32() 198 assertArrayEquals(new byte[] { 2, 3, 4 }, Arrays.copyOfRange(b, 1, 4)); in toLittleEndianToByteArray() 205 assertArrayEquals(new byte[] { 2, 3, 4, (byte) 128 }, b); in toLittleEndianToByteArrayUnsignedInt32()
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TensorTest.java | 19 import static org.junit.Assert.assertArrayEquals; 72 assertArrayEquals(strings, t.bytesValue()); in createWithByteBuffer() 82 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithByteBuffer() 109 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createFromBufferWithNonNativeByteOrder() 125 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithTypedBuffer() 129 assertArrayEquals(floats, t.copyTo(actual), EPSILON_F); in createWithTypedBuffer() 133 assertArrayEquals(ints, t.copyTo(actual)); in createWithTypedBuffer() 137 assertArrayEquals(longs, t.copyTo(actual)); in createWithTypedBuffer() 263 assertArrayEquals(doubles, actual, EPSILON); in writeTo() 342 assertArrayEquals(bytes, t.bytesValue()); in scalars() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ReadableBufferTestBase.java | 20 import static org.junit.Assert.assertArrayEquals; 53 assertArrayEquals(msg.getBytes(UTF_8), array); in readToArrayShouldSucceed() 62 assertArrayEquals(new byte[] {'h', 'e'}, Arrays.copyOfRange(array, 1, 3)); in partialReadToArrayShouldSucceed() 71 assertArrayEquals(msg.getBytes(UTF_8), stream.toByteArray()); in readToStreamShouldSucceed() 80 assertArrayEquals(new byte[]{'h', 'e'}, Arrays.copyOfRange(stream.toByteArray(), 0, 2)); in partialReadToStreamShouldSucceed() 92 assertArrayEquals(msg.getBytes(UTF_8), array); in readToByteBufferShouldSucceed() 104 assertArrayEquals(new byte[]{'h', 'e'}, array); in partialReadToByteBufferShouldSucceed() 116 assertArrayEquals(new byte[] {'h', 'e'}, Arrays.copyOfRange(array, 0, 2)); in partialReadToReadableBufferShouldSucceed()
|
/external/okio/okio/src/jvmTest/kotlin/okio/ |
D | CipherSourceTest.kt | 43 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in encrypt() 57 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in encryptEmpty() 71 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in encryptLarge() 85 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in encryptSingleByteSource() 102 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in encryptPaddingRequired() 116 assertArrayEquals(expectedData, actualData) in decrypt() 130 assertArrayEquals(expectedData, actualData) in decryptEmpty() 144 assertArrayEquals(expectedData, actualData) in decryptLarge() 160 assertArrayEquals(expectedData, actualData) in decryptSingleByteSource() 177 assertArrayEquals(expectedData, actualData) in decryptPaddingRequired()
|
D | CipherSinkTest.kt | 44 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in <lambda>() 59 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in <lambda>() 74 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in <lambda>() 94 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in <lambda>() 112 assertArrayEquals(expectedEncryptedData, actualEncryptedData) in <lambda>() 127 assertArrayEquals(expectedData, actualData) in <lambda>() 142 assertArrayEquals(expectedData, actualData) in <lambda>() 157 assertArrayEquals(expectedData, actualData) in <lambda>() 176 assertArrayEquals(expectedData, actualData) in <lambda>() 194 assertArrayEquals(expectedData, actualData) in <lambda>()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/merge/ |
D | ArrayMergeTest.java | 82 Assert.assertArrayEquals(new boolean[] { true, false, true }, result.value); in testBooleanArrayMerging() 94 Assert.assertArrayEquals(new byte[] { 1, 2, 4, 6, 0 }, result.value); in testByteArrayMerging() 106 Assert.assertArrayEquals(new short[] { 1, 2, 4, 6 }, result.value); in testShortArrayMerging() 117 Assert.assertArrayEquals(new char[] { 'a', 'b', 'c' }, result.value); in testCharArrayMerging() 126 Assert.assertArrayEquals(new char[] { 'c' }, result.value); in testCharArrayMerging() 138 Assert.assertArrayEquals(new int[] { 1, 2, 4, 6 }, result.value); in testIntArrayMerging() 147 Assert.assertArrayEquals(new int[] { 3, 4, 6 }, result.value); in testIntArrayMerging() 159 Assert.assertArrayEquals(new long[] { 1, 2, 4, 6 }, result.value); in testLongArrayMerging()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsInputStreamTest.java | 22 import static org.junit.Assert.assertArrayEquals; 52 assertArrayEquals(bytes(1, 2, 3, 4, 5, 6, 7, 8), bytes); in testRead_wholeArray() 61 assertArrayEquals(bytes(1, 2, 3, 4, 5, 6, 7, 8, 0, 0, 0, 0), bytes); in testRead_wholeArray_arrayLarger() 70 assertArrayEquals(bytes(1, 2, 3, 4, 5, 6), bytes); in testRead_wholeArray_arraySmaller() 73 assertArrayEquals(bytes(7, 8, 0, 0, 0, 0), bytes); in testRead_wholeArray_arraySmaller() 82 assertArrayEquals(bytes(1, 2, 3, 4, 5, 6, 7, 8, 0, 0, 0, 0), bytes); in testRead_partialArray() 91 assertArrayEquals(bytes(1, 2, 3, 4, 5, 6, 7, 8, 0, 0, 0, 0), bytes); in testRead_partialArray_sliceLarger() 100 assertArrayEquals(bytes(1, 2, 3, 4, 5, 6, 0, 0, 0, 0, 0, 0), bytes); in testRead_partialArray_sliceSmaller() 102 assertArrayEquals(bytes(1, 2, 3, 4, 5, 6, 7, 8, 0, 0, 0, 0), bytes); in testRead_partialArray_sliceSmaller()
|
/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/jackson-core/src/test/java/com/fasterxml/jackson/core/io/ |
D | TestJsonStringEncoder.java | 17 assertArrayEquals("foobar".toCharArray(), result); in testQuoteAsString() 19 assertArrayEquals("\\\"x\\\"".toCharArray(), result); in testQuoteAsString() 23 assertArrayEquals("foobar".toCharArray(), result); in testQuoteAsString() 25 assertArrayEquals("\\\"x\\\"".toCharArray(), result); in testQuoteAsString() 94 assertArrayEquals(expected, actual); in testQuoteAsUTF8() 109 assertArrayEquals(exp, encoder.encodeAsUTF8(str)); in testEncodeAsUTF8() 111 assertArrayEquals(exp, encoder.encodeAsUTF8((CharSequence)str)); in testEncodeAsUTF8()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListToArrayTester.java | 39 assertArrayEquals("toArray() order should match list", createOrderedArray(), actual); in testToArray_noArg() 45 assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual); in testToArray_tooSmall() 50 assertArrayEquals("toArray(largeEnough) order should match list", createOrderedArray(), actual); in testToArray_largeEnough() 53 private static void assertArrayEquals(String message, Object[] expected, Object[] actual) { in assertArrayEquals() method in ListToArrayTester
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListToArrayTester.java | 39 assertArrayEquals("toArray() order should match list", createOrderedArray(), actual); in testToArray_noArg() 45 assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual); in testToArray_tooSmall() 50 assertArrayEquals("toArray(largeEnough) order should match list", createOrderedArray(), actual); in testToArray_largeEnough() 53 private static void assertArrayEquals(String message, Object[] expected, Object[] actual) { in assertArrayEquals() method in ListToArrayTester
|
/external/icu/android_icu4j/testing/src/com/android/icu/test/text/ |
D | ExtendedDateFormatSymbolsTest.java | 23 import static org.junit.Assert.assertArrayEquals; 58 assertArrayEquals(expected, extendedDfs.getNarrowQuarters(FORMAT)); in test_en_US() 59 assertArrayEquals(expected, extendedDfs.getNarrowQuarters(STANDALONE)); in test_en_US() 67 assertArrayEquals(expected, extendedDfs.getNarrowQuarters(FORMAT)); in test_arabicQuarters() 68 assertArrayEquals(expected, extendedDfs.getNarrowQuarters(STANDALONE)); in test_arabicQuarters()
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/ |
D | X509CertificateTest.java | 19 import static org.junit.Assert.assertArrayEquals; 485 assertArrayEquals(TestUtils.decodeHex(signatureHex), c.getSignature()); in testV1Cert() 534 assertArrayEquals(TestUtils.decodeHex(signatureHex), c.getSignature()); in testManyExtensions() 540 assertArrayEquals(TestUtils.decodeHex("0500"), c.getSigAlgParams()); in testManyExtensions() 543 assertArrayEquals(new boolean[] {true, false, true, false}, c.getIssuerUniqueID()); in testManyExtensions() 544 assertArrayEquals( in testManyExtensions() 574 assertArrayEquals( in testManyExtensions() 630 assertArrayEquals(new boolean[] {true, false, true, false, false, false, false, in testLargeKeyUsage() 651 assertArrayEquals(TestUtils.decodeHex("0500"), c.getSigAlgParams()); in testSigAlgParams() 655 assertArrayEquals(TestUtils.decodeHex("0c05706172616d"), c.getSigAlgParams()); in testSigAlgParams() [all …]
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/ |
D | X509CertificateTest.java | 20 import static org.junit.Assert.assertArrayEquals; 488 assertArrayEquals(TestUtils.decodeHex(signatureHex), c.getSignature()); in testV1Cert() 537 assertArrayEquals(TestUtils.decodeHex(signatureHex), c.getSignature()); in testManyExtensions() 543 assertArrayEquals(TestUtils.decodeHex("0500"), c.getSigAlgParams()); in testManyExtensions() 546 assertArrayEquals(new boolean[] {true, false, true, false}, c.getIssuerUniqueID()); in testManyExtensions() 547 assertArrayEquals( in testManyExtensions() 577 assertArrayEquals( in testManyExtensions() 633 assertArrayEquals(new boolean[] {true, false, true, false, false, false, false, in testLargeKeyUsage() 654 assertArrayEquals(TestUtils.decodeHex("0500"), c.getSigAlgParams()); in testSigAlgParams() 658 assertArrayEquals(TestUtils.decodeHex("0c05706172616d"), c.getSigAlgParams()); in testSigAlgParams() [all …]
|
/external/guava/android/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()
|