Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Dtest.cpp2605 auto movie_object = flat_movie->UnPack(); in UnionVectorTest() local
2606 TEST_EQ(movie_object->main_character.AsRapunzel()->hair_length(), 6); in UnionVectorTest()
2607 TEST_EQ(movie_object->characters[0].AsBelle()->books_read(), 7); in UnionVectorTest()
2608 TEST_EQ(movie_object->characters[1].AsMuLan()->sword_attack_damage, 5); in UnionVectorTest()
2609 TEST_EQ(movie_object->characters[2].AsBookFan()->books_read(), 2); in UnionVectorTest()
2610 TEST_EQ_STR(movie_object->characters[3].AsOther()->c_str(), "Other"); in UnionVectorTest()
2611 TEST_EQ_STR(movie_object->characters[4].AsUnused()->c_str(), "Unused"); in UnionVectorTest()
2614 fbb.Finish(Movie::Pack(fbb, movie_object)); in UnionVectorTest()
2616 delete movie_object; in UnionVectorTest()