Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/unittests/debugserver/
H A DJSONTest.cpp15 void TestJSON(JSONValue *json_val, const std::function<void(T &)> &test_func) { in TestJSON() argument
16 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); local
30 TestJSON<T>(json_val.get(), test_func);