Searched refs:golden_data (Results 1 – 2 of 2) sorted by relevance
86 golden_data = test_util.GoldenFileData(89 golden_message.ParseFromString(golden_data)91 self.assertEqual(golden_data, golden_message.SerializeToString())93 self.assertEqual(golden_data, golden_copy.SerializeToString())96 golden_data = test_util.GoldenFileData('golden_message')98 golden_message.ParseFromString(golden_data)102 self.assertEqual(golden_data, golden_message.SerializeToString())104 self.assertEqual(golden_data, golden_copy.SerializeToString())107 golden_data = test_util.GoldenFileData('golden_packed_fields_message')109 golden_message.ParseFromString(golden_data)[all …]
210 struct { const char *s; uint64_t hash; } golden_data[] = { in TEST() local321 for (unsigned i = 0; i < sizeof(golden_data)/sizeof(*golden_data); ++i) { in TEST()322 StringRef str = golden_data[i].s; in TEST()329 EXPECT_EQ(static_cast<size_t>(golden_data[i].hash), in TEST()