Searched refs:pb_h (Results 1 – 1 of 1) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | metadata_test.cc | 86 string* pb_h, GeneratedCodeInfo* pb_h_info, in CaptureMetadata() argument 119 if (pb_h != NULL && pb_h_info != NULL) { in CaptureMetadata() 121 File::GetContents(output_base + ".pb.h", pb_h, true)); in CaptureMetadata() 195 string pb_h; in TEST_F() local 198 CaptureMetadata("test.proto", &file, &pb_h, &info, NULL, NULL, NULL)); in TEST_F() 206 EXPECT_TRUE(AnnotationMatchesSubstring(pb_h, enum_annotation, "Enum")); in TEST_F() 212 string pb_h; in TEST_F() local 215 CaptureMetadata("test.proto", &file, &pb_h, &info, NULL, NULL, NULL)); in TEST_F() 216 EXPECT_TRUE(pb_h.find("#ifdef guard_name") != string::npos); in TEST_F() 217 EXPECT_TRUE(pb_h.find("#pragma pragma_name \"test.pb.h.meta\"") != in TEST_F() [all …]
|