Lines Matching refs:vecoftables
132 auto vecoftables = builder.CreateVectorOfSortedTables(mlocs, 3); in CreateFlatBufferTest() local
180 testv, vecofstrings, vecoftables, 0, in CreateFlatBufferTest()
307 auto vecoftables = monster->testarrayoftables(); in AccessFlatBufferTest() local
308 TEST_EQ(vecoftables->size(), 3U); in AccessFlatBufferTest()
309 for (auto it = vecoftables->begin(); it != vecoftables->end(); ++it) in AccessFlatBufferTest()
311 TEST_EQ_STR(vecoftables->Get(0)->name()->c_str(), "Barney"); in AccessFlatBufferTest()
312 TEST_EQ(vecoftables->Get(0)->hp(), 1000); in AccessFlatBufferTest()
313 TEST_EQ_STR(vecoftables->Get(1)->name()->c_str(), "Fred"); in AccessFlatBufferTest()
314 TEST_EQ_STR(vecoftables->Get(2)->name()->c_str(), "Wilma"); in AccessFlatBufferTest()
315 TEST_NOTNULL(vecoftables->LookupByKey("Barney")); in AccessFlatBufferTest()
316 TEST_NOTNULL(vecoftables->LookupByKey("Fred")); in AccessFlatBufferTest()
317 TEST_NOTNULL(vecoftables->LookupByKey("Wilma")); in AccessFlatBufferTest()
517 auto &vecoftables = monster2->testarrayoftables; in ObjectFlatBuffersTest() local
518 TEST_EQ(vecoftables.size(), 3U); in ObjectFlatBuffersTest()
519 TEST_EQ_STR(vecoftables[0]->name.c_str(), "Barney"); in ObjectFlatBuffersTest()
520 TEST_EQ(vecoftables[0]->hp, 1000); in ObjectFlatBuffersTest()
521 TEST_EQ_STR(vecoftables[1]->name.c_str(), "Fred"); in ObjectFlatBuffersTest()
522 TEST_EQ_STR(vecoftables[2]->name.c_str(), "Wilma"); in ObjectFlatBuffersTest()