Searched refs:json_val (Results 1 – 1 of 1) sorted by relevance
15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument16 ASSERT_THAT(json_val, testing::NotNull()); in TestJSON()17 ASSERT_TRUE(T::classof(json_val)); in TestJSON()18 test_func(static_cast<T &>(*json_val)); in TestJSON()29 auto json_val = ParseJSON(json_string); local30 TestJSON<T>(json_val.get(), test_func);