Searched refs:myBuffer (Results 1 – 3 of 3) sorted by relevance
200 ByteBuffer myBuffer = ByteBuffer.allocate(BYTES.length); in testCopyTo_ByteBuffer() local201 testString.copyTo(myBuffer); in testCopyTo_ByteBuffer()202 myBuffer.flip(); in testCopyTo_ByteBuffer()204 backingBuffer, myBuffer); in testCopyTo_ByteBuffer()207 myBuffer = ByteBuffer.allocate(testString.size() + 1); in testCopyTo_ByteBuffer()208 testString.copyTo(myBuffer); in testCopyTo_ByteBuffer()209 myBuffer.flip(); in testCopyTo_ByteBuffer()210 assertEquals(backingBuffer, myBuffer); in testCopyTo_ByteBuffer()213 myBuffer = ByteBuffer.allocate(0); in testCopyTo_ByteBuffer()215 testString.copyTo(myBuffer); in testCopyTo_ByteBuffer()[all …]
205 ByteBuffer myBuffer = ByteBuffer.allocate(referenceBytes.length); in testCopyTo_ByteBuffer() local206 stringUnderTest.copyTo(myBuffer); in testCopyTo_ByteBuffer()208 Arrays.equals(referenceBytes, myBuffer.array())); in testCopyTo_ByteBuffer()
191 ByteBuffer myBuffer = ByteBuffer.allocate(referenceBytes.length); in testCopyTo_ByteBuffer() local192 stringUnderTest.copyTo(myBuffer); in testCopyTo_ByteBuffer()194 Arrays.equals(referenceBytes, myBuffer.array())); in testCopyTo_ByteBuffer()