Home
last modified time | relevance | path

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

/external/cronet/testing/perf/
Dluci_test_result_unittest.cc40 const std::string& expected_json) { in ValidateResult() argument
50 base::JSONReader::Read(expected_json); in ValidateResult()
54 << expected_json << "\nActual:\n====\n" in ValidateResult()
87 const std::string expected_json = in TEST_F() local
119 ValidateResult(result, expected_json); in TEST_F()
151 const std::string expected_json = in TEST_F() local
153 ValidateResult(result, expected_json); in TEST_F()
190 const std::string expected_json = in TEST_P() local
192 ValidateResult(result, expected_json); in TEST_P()
239 const std::string expected_json = in TYPED_TEST_P() local
[all …]
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc208 std::string expected_json = "{\"enumValue\":1,\"repeatedEnumValue\":[0,1]}"; in TEST_F() local
209 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
213 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
231 std::string expected_json = in TEST_F() local
233 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
237 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
253 std::string expected_json = "{\"enumValue\":2}"; in TEST_F() local
254 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
258 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
/external/cronet/third_party/protobuf/src/google/protobuf/util/
Djson_util_test.cc208 std::string expected_json = "{\"enumValue\":1,\"repeatedEnumValue\":[0,1]}"; in TEST_F() local
209 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
213 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
231 std::string expected_json = in TEST_F() local
233 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
237 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
253 std::string expected_json = "{\"enumValue\":2}"; in TEST_F() local
254 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
258 ASSERT_TRUE(FromJson(expected_json, &parsed, parse_options)); in TEST_F()
/external/tensorflow/tensorflow/core/profiler/convert/
Dtrace_events_to_json_test.cc84 Json::Value expected_json = ToJsonValue(R"( in TEST() local
/external/cronet/net/http/
Dhttp_server_properties_manager_unittest.cc1216 const char expected_json[] = in TEST_F() local
1247 EXPECT_EQ(expected_json, preferences_json); in TEST_F()
1519 const char expected_json[] = in TEST_F() local
1548 EXPECT_EQ(expected_json, preferences_json); in TEST_F()
1638 const char expected_json[] = in TEST_F() local
1658 EXPECT_EQ(expected_json, preferences_json); in TEST_F()
Dhttp_server_properties_unittest.cc2452 const char expected_json[] = in TEST_F() local
2477 EXPECT_EQ(expected_json, alternative_service_info_json); in TEST_F()