Lines Matching refs:vecoftables
161 auto vecoftables = builder.CreateVectorOfSortedTables(mlocs, 3); in CreateFlatBufferTest() local
210 testv, vecofstrings, vecoftables, 0, nested_flatbuffer_vector, 0, false, in CreateFlatBufferTest()
343 auto vecoftables = monster->testarrayoftables(); in AccessFlatBufferTest() local
344 TEST_EQ(vecoftables->size(), 3U); in AccessFlatBufferTest()
345 for (auto it = vecoftables->begin(); it != vecoftables->end(); ++it) { in AccessFlatBufferTest()
348 TEST_EQ_STR(vecoftables->Get(0)->name()->c_str(), "Barney"); in AccessFlatBufferTest()
349 TEST_EQ(vecoftables->Get(0)->hp(), 1000); in AccessFlatBufferTest()
350 TEST_EQ_STR(vecoftables->Get(1)->name()->c_str(), "Fred"); in AccessFlatBufferTest()
351 TEST_EQ_STR(vecoftables->Get(2)->name()->c_str(), "Wilma"); in AccessFlatBufferTest()
352 TEST_NOTNULL(vecoftables->LookupByKey("Barney")); in AccessFlatBufferTest()
353 TEST_NOTNULL(vecoftables->LookupByKey("Fred")); in AccessFlatBufferTest()
354 TEST_NOTNULL(vecoftables->LookupByKey("Wilma")); in AccessFlatBufferTest()
554 auto &vecoftables = monster2->testarrayoftables; in ObjectFlatBuffersTest() local
555 TEST_EQ(vecoftables.size(), 3U); in ObjectFlatBuffersTest()
556 TEST_EQ_STR(vecoftables[0]->name.c_str(), "Barney"); in ObjectFlatBuffersTest()
557 TEST_EQ(vecoftables[0]->hp, 1000); in ObjectFlatBuffersTest()
558 TEST_EQ_STR(vecoftables[1]->name.c_str(), "Fred"); in ObjectFlatBuffersTest()
559 TEST_EQ_STR(vecoftables[2]->name.c_str(), "Wilma"); in ObjectFlatBuffersTest()