Searched refs:TestTempDir (Results 1 – 11 of 11) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_plugin_unittest.cc | 85 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST() 101 std::string proto_path = "-I" + TestTempDir(); in TEST() 102 std::string python_out = "--python_out=" + TestTempDir(); in TEST() 103 std::string test_out = "--test_out=" + TestTempDir(); in TEST() 117 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test1.proto", in TEST() 125 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test2.proto", in TEST() 135 std::string proto_path = "-I" + TestTempDir(); in TEST() 136 std::string python_out = "--python_out=" + TestTempDir(); in TEST() 144 GOOGLE_CHECK_OK(File::GetContents(TestTempDir() + "/test1_pb2.py", &output, in TEST()
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator_unittest.cc | 76 TestTempDir() + proto_file + ".proto", in RubyTest() 81 string ruby_out = "--ruby_out=" + TestTempDir(); in RubyTest() 82 string proto_path = "--proto_path=" + TestTempDir(); in RubyTest() 83 string proto_target = TestTempDir() + proto_file + ".proto"; in RubyTest() 96 TestTempDir() + proto_file + "_pb.rb", in RubyTest()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_plugin_unittest.cc | 87 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST() 106 std::string proto_path = "-I" + TestTempDir(); in TEST() 107 std::string java_out = "--java_out=" + TestTempDir(); in TEST() 108 std::string test_out = "--test_out=" + TestTempDir(); in TEST()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_plugin_unittest.cc | 184 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/test.proto", in TEST() 231 std::string proto_path = "-I" + TestTempDir(); in TEST() 232 std::string cpp_out = "--cpp_out=" + TestTempDir(); in TEST() 233 std::string test_out = "--test_out=" + TestTempDir(); in TEST()
|
D | metadata_test.cc | 70 TestTempDir(); in CaptureMetadata() 78 std::string output_base = TestTempDir() + "/" + StripProto(filename); in CaptureMetadata()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | annotation_test_util.cc | 73 GOOGLE_CHECK_OK(File::SetContents(TestTempDir() + "/" + filename, data, in AddFile() 85 std::string proto_path = "-I" + TestTempDir(); in RunProtoCompiler() 86 std::string capture_out = "--capture_out=" + TestTempDir(); in RunProtoCompiler()
|
D | importer_unittest.cc | 266 dirnames_.push_back(TestTempDir() + "/test_proto2_import_path_1"); in SetUp() 267 dirnames_.push_back(TestTempDir() + "/test_proto2_import_path_2"); in SetUp()
|
D | command_line_interface_unittest.cc | 252 temp_directory_ = TestTempDir() + "/proto2_cli_test_temp"; in SetUp() 2255 std::string filename = TestTempDir() + "/test_stdin"; in RedirectStdinFromText() 2345 TestTempDir() + "/unittest_proto_descriptor_set.bin"; in WriteUnittestProtoDescriptorSet()
|
/external/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 189 string TestTempDir() { in TestTempDir() function 203 stdout_capture_filename_ = TestTempDir() + "/captured_stdout"; in CaptureTestStdout() 218 stderr_capture_filename_ = TestTempDir() + "/captured_stderr"; in CaptureTestStderr()
|
D | googletest.h | 56 string TestTempDir();
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 717 std::string filename = TestTempDir() + "/zero_copy_stream_test_file"; in TEST_F() 748 std::string filename = TestTempDir() + "/zero_copy_stream_test_file"; in TEST_F()
|