Searched refs:readerOf (Results 1 – 1 of 1) sorted by relevance
/dalvik/dx/junit-tests/com/android/dex/ |
D | EncodedValueReaderTest.java | 25 assertEquals((byte) 0x80, readerOf(0, 0x80).readByte()); in testReadByte() 26 assertEquals((byte) 0xff, readerOf(0, 0xff).readByte()); in testReadByte() 27 assertEquals((byte) 0x00, readerOf(0, 0x00).readByte()); in testReadByte() 28 assertEquals((byte) 0x01, readerOf(0, 0x01).readByte()); in testReadByte() 29 assertEquals((byte) 0x7f, readerOf(0, 0x7f).readByte()); in testReadByte() 33 assertEquals((short) 0x8000, readerOf(34, 0x00, 0x80).readShort()); in testReadShort() 34 assertEquals((short) 0, readerOf( 2, 0x00).readShort()); in testReadShort() 35 assertEquals((short) 0xab, readerOf(34, 0xab, 0x00).readShort()); in testReadShort() 36 assertEquals((short) 0xabcd, readerOf(34, 0xcd, 0xab).readShort()); in testReadShort() 37 assertEquals((short) 0x7FFF, readerOf(34, 0xff, 0x7f).readShort()); in testReadShort() [all …]
|