Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
DJavaTest.java322 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateByteVector() local
324 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateByteVector()
325 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateByteVector()
326 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateByteVector()
343 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateUninitializedVector() local
345 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateUninitializedVector()
346 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateUninitializedVector()
347 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateUninitializedVector()