Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator_unittest.cc71 GOOGLE_CHECK_OK(File::GetContents( in RubyTest()
75 GOOGLE_CHECK_OK(File::SetContents( in RubyTest()
95 GOOGLE_CHECK_OK(File::GetContentsAsText( in RubyTest()
100 GOOGLE_CHECK_OK(File::GetContentsAsText( in RubyTest()
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_plugin_unittest.cc85 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST()
117 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test1.proto", in TEST()
125 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test2.proto", in TEST()
144 GOOGLE_CHECK_OK(File::GetContents(TestTempDir() + "/test1_pb2.py", &output, in TEST()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dmetadata_test.cc81 GOOGLE_CHECK_OK( in CaptureMetadata()
86 GOOGLE_CHECK_OK( in CaptureMetadata()
94 GOOGLE_CHECK_OK(File::GetContents(output_base + ".proto.h", proto_h, in CaptureMetadata()
Dcpp_bootstrap_unittest.cc94 GOOGLE_CHECK_OK( in ExpectFileMatches()
101 GOOGLE_CHECK_OK(File::SetContents("/tmp/expected.cc", expected_contents, in ExpectFileMatches()
103 GOOGLE_CHECK_OK( in ExpectFileMatches()
Dcpp_plugin_unittest.cc184 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST()
/third_party/protobuf/src/google/protobuf/stubs/
Dlogging.h127 #undef GOOGLE_CHECK_OK
155 #define GOOGLE_CHECK_OK(A) GOOGLE_CHECK(::google::protobuf::internal::IsOk(A)) macro
195 #define GOOGLE_DCHECK_OK GOOGLE_CHECK_OK
Dstatus_test.cc64 GOOGLE_CHECK_OK(status); in TEST()
65 GOOGLE_CHECK_OK(status) << "Failed"; in TEST()
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc273 GOOGLE_CHECK_OK(File::CreateDir(dirnames_[i], 0777)); in SetUp()
286 GOOGLE_CHECK_OK(File::SetContents(filename, contents, true)); in AddFile()
290 GOOGLE_CHECK_OK(File::CreateDir(dirname, 0777)); in AddSubdir()
404 GOOGLE_CHECK_OK(File::CreateDir(dirnames_[0] + "/bar", 0777)); in TEST_F()
Dcommand_line_interface_unittest.cc276 GOOGLE_CHECK_OK(File::CreateDir(temp_directory_, 0777)); in SetUp()
388 GOOGLE_CHECK_OK(File::RecursivelyCreateDir(temp_directory_ + "/" + dir, in CreateTempFile()
395 GOOGLE_CHECK_OK(File::SetContents( in CreateTempFile()
401 GOOGLE_CHECK_OK(File::RecursivelyCreateDir(temp_directory_ + "/" + name, in CreateTempDir()
490 GOOGLE_CHECK_OK(File::GetContents(path, &file_contents, true)); in ReadDescriptorSet()
520 GOOGLE_CHECK_OK(File::GetContents(path, &file_contents, true)); in ExpectFileContent()
2539 GOOGLE_CHECK_OK(File::SetContents(filename, input, true)); in RedirectStdinFromText()
2603 GOOGLE_CHECK_OK(File::GetContents(filename, &expected_output, true)); in ExpectStdoutMatchesBinaryFile()
2612 GOOGLE_CHECK_OK(File::GetContents(filename, &expected_output, true)); in ExpectStdoutMatchesTextFile()
2648 GOOGLE_CHECK_OK(File::SetContents(unittest_proto_descriptor_set_filename_, in WriteUnittestProtoDescriptorSet()
Dannotation_test_util.cc73 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/" + filename, data, in AddFile()
97 GOOGLE_CHECK_OK(File::GetContents(path, &data, true)); in DecodeMetadata()
Dmock_code_generator.cc106 GOOGLE_CHECK_OK( in ExpectGenerated()
164 GOOGLE_CHECK_OK( in CheckGeneratedAnnotations()
168 GOOGLE_CHECK_OK(File::GetContents( in CheckGeneratedAnnotations()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_plugin_unittest.cc87 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_bootstrap_unittest.cc88 GOOGLE_CHECK_OK( in ExpectFileMatches()
/third_party/protobuf/src/google/protobuf/testing/
Dfile.cc125 GOOGLE_CHECK_OK(name[name.size() - 1] != '.'); in CreateDir()
/third_party/protobuf/src/google/protobuf/util/
Djson_util_test.cc72 GOOGLE_CHECK_OK(MessageToJsonString(message, &result, options)); in ToJson()
/third_party/protobuf/src/google/protobuf/
Dtext_format_unittest.cc85 GOOGLE_CHECK_OK(File::GetContents( in SetUpTestSuite()
108 GOOGLE_CHECK_OK(File::GetContents( in SetUpTestSuite()
Dmap_test.cc3326 GOOGLE_CHECK_OK(File::GetContents( in TEST()
3367 GOOGLE_CHECK_OK( in TEST()
3381 GOOGLE_CHECK_OK( in TEST()
3398 GOOGLE_CHECK_OK( in TEST()
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc570 GOOGLE_CHECK_OK(File::GetContents(golden_filename, &golden, true)); in TEST_F()