Lines Matching refs:inventory
117 invsum += monster.inventory(i); in TestBuffer()
201 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateByteVector()
202 int vec = fbb.createByteVector(inventory); in TestCreateByteVector()
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()
218 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateUninitializedVector()
219 ByteBuffer bb = fbb.createUnintializedVector(1, inventory.length, 1); in TestCreateUninitializedVector()
220 for (byte i:inventory) { in TestCreateUninitializedVector()
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()
401 TestEq(monster.inventory(i), i + 1); in TestBuilderBasics()