Searched refs:FromJson (Results 1 – 1 of 1) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | json_util_test.cc | 76 bool FromJson(const string& json, Message* message, in FromJson() function in google::protobuf::util::__anonfc78bf940111::JsonUtilTest 81 bool FromJson(const string& json, Message* message) { in FromJson() function in google::protobuf::util::__anonfc78bf940111::JsonUtilTest 82 return FromJson(json, message, JsonParseOptions()); in FromJson() 149 ASSERT_TRUE(FromJson(input, &m, options)); in TEST_F() 167 ASSERT_TRUE(FromJson(ToJson(message, print_options), &other, parse_options)); in TEST_F() 175 EXPECT_TRUE(FromJson("{\"unknownName\":0}", &m, options)); in TEST_F() 182 EXPECT_FALSE(FromJson("{\"unknownName\":0}", &m, options)); in TEST_F() 184 EXPECT_FALSE(FromJson("{\"int32Value\":2147483648}", &m, options)); in TEST_F() 208 EXPECT_TRUE(FromJson(input, message.get())); in TEST_F()
|