Lines Matching refs:check_value
323 void check_value(skiatest::Reporter* reporter, const Value& v, const char* expected_string) { in check_value() function
337 check_value<NullValue>(reporter, v0, "null"); in DEF_TEST()
340 check_value<BoolValue>(reporter, v1, "true"); in DEF_TEST()
343 check_value<BoolValue>(reporter, v2, "false"); in DEF_TEST()
346 check_value<NumberValue>(reporter, v3, "0"); in DEF_TEST()
349 check_value<NumberValue>(reporter, v4, "42"); in DEF_TEST()
352 check_value<NumberValue>(reporter, v5, "42.75"); in DEF_TEST()
355 check_value<StringValue>(reporter, v6, "\"\""); in DEF_TEST()
358 check_value<StringValue>(reporter, v7, "\" foo \""); in DEF_TEST()
361 check_value<StringValue>(reporter, v8, "\" foo bar baz \""); in DEF_TEST()
364 check_value<ArrayValue>(reporter, v9, "[]"); in DEF_TEST()
368 check_value<ArrayValue>(reporter, v10, "[null,0,[]]"); in DEF_TEST()
371 check_value<ObjectValue>(reporter, v11, "{}"); in DEF_TEST()
379 check_value<ObjectValue>(reporter, v12, "{" in DEF_TEST()
387 check_value<ArrayValue>(reporter, v13, "[" in DEF_TEST()
403 check_value<ObjectValue>(reporter, v14, "{" in DEF_TEST()