Searched refs:actualBytes (Results 1 – 7 of 7) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowParcelTest.java | 241 byte[] actualBytes = parcel.createByteArray(); in testWriteAndCreateByteArray() 242 assertTrue(Arrays.equals(bytes, actualBytes)); in testWriteAndCreateByteArray() 257 byte[] actualBytes = parcel.createByteArray(); in testWriteAndCreateByteArray_lengthZero() 258 assertTrue(Arrays.equals(bytes, actualBytes)); in testWriteAndCreateByteArray_lengthZero() 266 byte[] actualBytes = new byte[bytes.length]; in testWriteAndReadByteArray() 267 parcel.readByteArray(actualBytes); in testWriteAndReadByteArray() 268 assertTrue(Arrays.equals(bytes, actualBytes)); in testWriteAndReadByteArray() 276 byte[] actualBytes = new byte[0]; in testWriteAndReadByteArray_badLength() 277 parcel.readByteArray(actualBytes); in testWriteAndReadByteArray_badLength()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | FixedLengthBlockOutputStreamTest.java | 285 private void validate(int blockSize, byte[] expectedBytes, byte[] actualBytes) { in validate() argument 287 assertEquals("wrong size", (long) v, actualBytes.length); in validate() 288 assertContainsAtOffset("output", expectedBytes, 0, actualBytes); in validate() 289 for (int i = expectedBytes.length; i < actualBytes.length; i++) { in validate() 290 assertEquals(String.format("output[%d]", i), 0, actualBytes[i]); in validate()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ucptrietest.c | 519 uint32_t value, expectedBytes, actualBytes; in testTrieUTF8() local 618 actualBytes=expectedBytes; in testTrieUTF8() 620 actualBytes=0; in testTrieUTF8() 623 actualBytes=(actualBytes<<8)|s[k++]; in testTrieUTF8() 629 testName, (int)prev8, (unsigned long)actualBytes, (long)c, (int)((p-s)-prev8), in testTrieUTF8() 635 testName, (int)prev8, (unsigned long)actualBytes, (long)c, in testTrieUTF8() 664 actualBytes=expectedBytes; in testTrieUTF8() 666 actualBytes=0; in testTrieUTF8() 669 actualBytes=(actualBytes<<8)|s[k++]; in testTrieUTF8() 675 testName, (int)prev8, (unsigned long)actualBytes, (long)c, (int)(prev8-(p-s)), in testTrieUTF8() [all …]
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 250 byte[] actualBytes = unwrap(encryptedBuffers, serverEngine); in exchangeMessages() 251 assertEquals(MESSAGE_SIZE * numMessages, actualBytes.length); in exchangeMessages() 255 Arrays.copyOfRange(actualBytes, offset, offset + MESSAGE_SIZE); in exchangeMessages() 437 byte[] actualBytes = unwrap(encryptedBuffers, dest); in exchangeMessage() 438 assertArrayEquals(messageBytes, actualBytes); in exchangeMessage()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 257 byte[] actualBytes = unwrap(encryptedBuffers, serverEngine); in exchangeMessages() 258 assertEquals(MESSAGE_SIZE * numMessages, actualBytes.length); in exchangeMessages() 262 Arrays.copyOfRange(actualBytes, offset, offset + MESSAGE_SIZE); in exchangeMessages() 444 byte[] actualBytes = unwrap(encryptedBuffers, dest); in exchangeMessage() 445 assertArrayEquals(messageBytes, actualBytes); in exchangeMessage()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | FilesTest.java | 634 byte[] actualBytes = Files.toByteArray(file); in testMap_readWrite() 635 assertTrue(Arrays.equals(expectedBytes, actualBytes)); in testMap_readWrite() 657 byte[] actualBytes = Files.toByteArray(file); in testMap_readWrite_creates() 658 assertTrue(Arrays.equals(expectedBytes, actualBytes)); in testMap_readWrite_creates()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | WrappersTest.cs | 171 var actualBytes = message.ToByteArray(); in RepeatedWrappersBinaryFormat() 172 Assert.AreEqual(expectedBytes, actualBytes); in RepeatedWrappersBinaryFormat()
|