Lines Matching refs:TEST_EQ_STR
239 TEST_EQ_STR(monster->name()->c_str(), "MyMonster");
286 TEST_EQ_STR(monster2->name()->c_str(), "Fred");
291 TEST_EQ_STR(vecofstrings->Get(0)->c_str(), "bob");
292 TEST_EQ_STR(vecofstrings->Get(1)->c_str(), "fred");
302 TEST_EQ_STR(vecofstrings2->Get(0)->c_str(), "jane");
303 TEST_EQ_STR(vecofstrings2->Get(1)->c_str(), "mary");
311 TEST_EQ_STR(vecoftables->Get(0)->name()->c_str(), "Barney");
313 TEST_EQ_STR(vecoftables->Get(1)->name()->c_str(), "Fred");
314 TEST_EQ_STR(vecoftables->Get(2)->name()->c_str(), "Wilma");
339 TEST_EQ_STR(nested_monster->name()->c_str(), "NestedMonster");
487 TEST_EQ_STR(monster2->name.c_str(), "MyMonster");
505 TEST_EQ_STR(monster3->name.c_str(), "Fred");
509 TEST_EQ_STR(vecofstrings[0].c_str(), "bob");
510 TEST_EQ_STR(vecofstrings[1].c_str(), "fred");
514 TEST_EQ_STR(vecofstrings2[0].c_str(), "jane");
515 TEST_EQ_STR(vecofstrings2[1].c_str(), "mary");
519 TEST_EQ_STR(vecoftables[0]->name.c_str(), "Barney");
521 TEST_EQ_STR(vecoftables[1]->name.c_str(), "Fred");
522 TEST_EQ_STR(vecoftables[2]->name.c_str(), "Wilma");
547 TEST_EQ_STR(m->name()->c_str(), "bob");
644 TEST_EQ_STR(jsongen.c_str(), jsonfile.c_str());
668 TEST_EQ_STR(text.c_str(), jsonfile.c_str());
684 TEST_EQ_STR(jsongen_utf8.c_str(), jsonfile_utf8.c_str());
702 TEST_EQ_STR(root_table->name()->c_str(), "MyGame.Example.Monster");
707 TEST_EQ_STR(hp_field.name()->c_str(), "hp");
721 TEST_EQ_STR(pos_table_ptr->name()->c_str(), "MyGame.Example.Vec3");
740 TEST_EQ_STR(hp_string.c_str(), "80");
795 TEST_EQ_STR(GetFieldS(**rroot, name_field)->c_str(), "totally new string");
831 TEST_EQ_STR(rtestarrayofstring->Get(0)->c_str(), "bob");
832 TEST_EQ_STR(rtestarrayofstring->Get(2)->c_str(), "hank");
849 TEST_EQ_STR(GetFieldS(**rroot, name_field)->c_str(), "hank");
869 TEST_EQ_STR(
935 TEST_EQ_STR(fbs.c_str(), goldenfile.c_str());
948 TEST_EQ_STR(fbs_union.c_str(), goldenunionfile.c_str());
1319 TEST_EQ_STR(parser.error_.c_str(), "");
1405 TEST_EQ_STR("Red", EnumNameColor(Color_Red));
1406 TEST_EQ_STR("Green", EnumNameColor(Color_Green));
1407 TEST_EQ_STR("Blue", EnumNameColor(Color_Blue));
1414 TEST_EQ_STR("", EnumNameColor(static_cast<Color>(0)));
1415 TEST_EQ_STR("", EnumNameColor(static_cast<Color>(Color_ANY-1)));
1416 TEST_EQ_STR("", EnumNameColor(static_cast<Color>(Color_ANY+1)));
1749 TEST_EQ_STR(jsongen.c_str(),
1769 TEST_EQ_STR(
1808 TEST_EQ_STR(string->c_str(), "\xF0\x9F\x92\xA9");
1979 TEST_EQ_STR(jsongen.c_str(), "{str: \"test\",i: 10}");
2089 TEST_EQ_STR(other->c_str(), "Other");
2091 TEST_EQ_STR(unused->c_str(), "Unused");
2101 TEST_EQ_STR(movie_object->characters[3].AsOther()->c_str(), "Other");
2102 TEST_EQ_STR(movie_object->characters[4].AsUnused()->c_str(), "Unused");
2115 TEST_EQ_STR(
2125 TEST_EQ_STR(
2191 TEST_EQ_STR(text.c_str(),
2261 TEST_EQ_STR(vec[1].AsString().c_str(), "Fred");
2265 TEST_EQ_STR(vec[2].AsString().c_str(), ""); // This still works though.
2266 TEST_EQ_STR(vec[2].ToString().c_str(), "4.0"); // Or have it converted.
2270 TEST_EQ_STR(vec[1].As<std::string>().c_str(), "Fred");
2300 TEST_EQ_STR(vec[1].AsString().c_str(), "John");
2319 TEST_EQ_STR(jmap["b"].AsString().c_str(), "hello");
2326 TEST_EQ_STR(jsontest, jsonback.c_str());
2465 TEST_EQ_STR(monster->name()->c_str(), "two");
2469 TEST_EQ_STR(a[0]->c_str(), "one");
2470 TEST_EQ_STR(a[1]->c_str(), "two");
2471 TEST_EQ_STR(a[2]->c_str(), "one");
2472 TEST_EQ_STR(a[3]->c_str(), "onetwo");