Home
last modified time | relevance | path

Searched refs:monsterObject (Results 1 – 1 of 1) sorted by relevance

/external/flatbuffers/tests/
DJavaTest.java208 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateByteVector() local
210 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateByteVector()
211 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateByteVector()
212 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateByteVector()
229 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateUninitializedVector() local
231 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateUninitializedVector()
232 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateUninitializedVector()
233 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateUninitializedVector()