Home
last modified time | relevance | path

Searched refs:TestTempDir (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/python/
Dpython_plugin_unittest.cc85 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/
Druby_generator_unittest.cc76 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/
Djava_plugin_unittest.cc87 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/
Dcpp_plugin_unittest.cc184 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()
Dmetadata_test.cc70 TestTempDir(); in CaptureMetadata()
78 std::string output_base = TestTempDir() + "/" + StripProto(filename); in CaptureMetadata()
/external/protobuf/src/google/protobuf/compiler/
Dannotation_test_util.cc73 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()
Dimporter_unittest.cc266 dirnames_.push_back(TestTempDir() + "/test_proto2_import_path_1"); in SetUp()
267 dirnames_.push_back(TestTempDir() + "/test_proto2_import_path_2"); in SetUp()
Dcommand_line_interface_unittest.cc252 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/
Dgoogletest.cc189 string TestTempDir() { in TestTempDir() function
203 stdout_capture_filename_ = TestTempDir() + "/captured_stdout"; in CaptureTestStdout()
218 stderr_capture_filename_ = TestTempDir() + "/captured_stderr"; in CaptureTestStderr()
Dgoogletest.h56 string TestTempDir();
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc717 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()