/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator_unittest.cc | 71 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/ |
D | python_plugin_unittest.cc | 85 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/ |
D | metadata_test.cc | 81 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()
|
D | cpp_bootstrap_unittest.cc | 94 GOOGLE_CHECK_OK( in ExpectFileMatches() 101 GOOGLE_CHECK_OK(File::SetContents("/tmp/expected.cc", expected_contents, in ExpectFileMatches() 103 GOOGLE_CHECK_OK( in ExpectFileMatches()
|
D | cpp_plugin_unittest.cc | 184 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | logging.h | 127 #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
|
D | status_test.cc | 64 GOOGLE_CHECK_OK(status); in TEST() 65 GOOGLE_CHECK_OK(status) << "Failed"; in TEST()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 273 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()
|
D | command_line_interface_unittest.cc | 276 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()
|
D | annotation_test_util.cc | 73 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/" + filename, data, in AddFile() 97 GOOGLE_CHECK_OK(File::GetContents(path, &data, true)); in DecodeMetadata()
|
D | mock_code_generator.cc | 106 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/ |
D | java_plugin_unittest.cc | 87 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST()
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_bootstrap_unittest.cc | 88 GOOGLE_CHECK_OK( in ExpectFileMatches()
|
/third_party/protobuf/src/google/protobuf/testing/ |
D | file.cc | 125 GOOGLE_CHECK_OK(name[name.size() - 1] != '.'); in CreateDir()
|
/third_party/protobuf/src/google/protobuf/util/ |
D | json_util_test.cc | 72 GOOGLE_CHECK_OK(MessageToJsonString(message, &result, options)); in ToJson()
|
/third_party/protobuf/src/google/protobuf/ |
D | text_format_unittest.cc | 85 GOOGLE_CHECK_OK(File::GetContents( in SetUpTestSuite() 108 GOOGLE_CHECK_OK(File::GetContents( in SetUpTestSuite()
|
D | map_test.cc | 3326 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/ |
D | zero_copy_stream_unittest.cc | 570 GOOGLE_CHECK_OK(File::GetContents(golden_filename, &golden, true)); in TEST_F()
|