Lines Matching refs:vecoftables
135 auto vecoftables = builder.CreateVectorOfSortedTables(mlocs, 3); in CreateFlatBufferTest() local
140 testv, vecofstrings, vecoftables, 0, 0, 0, false, in CreateFlatBufferTest()
240 auto vecoftables = monster->testarrayoftables(); in AccessFlatBufferTest() local
241 TEST_EQ(vecoftables->Length(), 3U); in AccessFlatBufferTest()
242 for (auto it = vecoftables->begin(); it != vecoftables->end(); ++it) in AccessFlatBufferTest()
244 TEST_EQ_STR(vecoftables->Get(0)->name()->c_str(), "Barney"); in AccessFlatBufferTest()
245 TEST_EQ(vecoftables->Get(0)->hp(), 1000); in AccessFlatBufferTest()
246 TEST_EQ_STR(vecoftables->Get(1)->name()->c_str(), "Fred"); in AccessFlatBufferTest()
247 TEST_EQ_STR(vecoftables->Get(2)->name()->c_str(), "Wilma"); in AccessFlatBufferTest()
248 TEST_NOTNULL(vecoftables->LookupByKey("Barney")); in AccessFlatBufferTest()
249 TEST_NOTNULL(vecoftables->LookupByKey("Fred")); in AccessFlatBufferTest()
250 TEST_NOTNULL(vecoftables->LookupByKey("Wilma")); in AccessFlatBufferTest()
392 auto &vecoftables = monster2->testarrayoftables; in ObjectFlatBuffersTest() local
393 TEST_EQ(vecoftables.size(), 3U); in ObjectFlatBuffersTest()
394 TEST_EQ_STR(vecoftables[0]->name.c_str(), "Barney"); in ObjectFlatBuffersTest()
395 TEST_EQ(vecoftables[0]->hp, 1000); in ObjectFlatBuffersTest()
396 TEST_EQ_STR(vecoftables[1]->name.c_str(), "Fred"); in ObjectFlatBuffersTest()
397 TEST_EQ_STR(vecoftables[2]->name.c_str(), "Wilma"); in ObjectFlatBuffersTest()