Searched refs:NAIRealmDataTestUtil (Results 1 – 4 of 4) sorted by relevance
54 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseTruncatedBuffer()67 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseBufferWithUTF8EncodedNAIRealmData()68 assertEquals(NAIRealmDataTestUtil.TEST_REALM_DATA, NAIRealmData.parse(buffer)); in parseBufferWithUTF8EncodedNAIRealmData()80 NAIRealmDataTestUtil.TEST_REAML_WITH_NON_UTF8_DATA_BYTES); in parseBufferWithNonUTF8EncodedNAIRealmData()81 assertEquals(NAIRealmDataTestUtil.TEST_REALM_DATA, NAIRealmData.parse(buffer)); in parseBufferWithNonUTF8EncodedNAIRealmData()
46 int dataLength = NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES.length * dataCount; in getTestBufferWithNAIRealmData()51 buffer.put(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in getTestBufferWithNAIRealmData()79 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithSingleNAIRealmData()95 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithMultipleNAIRealmData()96 realmDataList.add(NAIRealmDataTestUtil.TEST_REALM_DATA); in parseBufferWithMultipleNAIRealmData()
39 public class NAIRealmDataTestUtil { class
349 byte[][] testBytes = new byte[][] {NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES}; in parseNAIRealmElement()350 NAIRealmData[] realmDataList = new NAIRealmData[] {NAIRealmDataTestUtil.TEST_REALM_DATA}; in parseNAIRealmElement()