Home
last modified time | relevance | path

Searched refs:MockCodeGenerator (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/
Dmock_code_generator.cc86 MockCodeGenerator::MockCodeGenerator(const std::string& name) : name_(name) {} in MockCodeGenerator() function in google::protobuf::compiler::MockCodeGenerator
88 MockCodeGenerator::~MockCodeGenerator() {} in ~MockCodeGenerator()
90 void MockCodeGenerator::ExpectGenerated( in ExpectGenerated()
151 void MockCodeGenerator::CheckGeneratedAnnotations( in CheckGeneratedAnnotations()
173 bool MockCodeGenerator::Generate(const FileDescriptor* file, in Generate()
297 std::string MockCodeGenerator::GetOutputFileName( in GetOutputFileName()
302 std::string MockCodeGenerator::GetOutputFileName( in GetOutputFileName()
307 std::string MockCodeGenerator::GetOutputFileContent( in GetOutputFileContent()
318 std::string MockCodeGenerator::GetOutputFileContent( in GetOutputFileContent()
Dmock_code_generator.h75 class MockCodeGenerator : public CodeGenerator {
77 MockCodeGenerator(const std::string& name);
78 virtual ~MockCodeGenerator();
Dtest_plugin.cc46 MockCodeGenerator generator("test_plugin"); in ProtobufMain()
Dcommand_line_interface_unittest.cc264 CodeGenerator* generator = new MockCodeGenerator("test_generator"); in SetUp()
269 generator = new MockCodeGenerator("alt_generator"); in SetUp()
421 MockCodeGenerator::ExpectGenerated(generator_name, parameter, "", proto_name, in ExpectGenerated()
429 MockCodeGenerator::ExpectGenerated(generator_name, parameter, "", proto_name, in ExpectGenerated()
437 MockCodeGenerator::ExpectGenerated(generator_name, "", "", proto_name, in ExpectGeneratedWithMultipleInputs()
446 MockCodeGenerator::ExpectGenerated(generator_name, parameter, insertions, in ExpectGeneratedWithInsertions()
453 MockCodeGenerator::CheckGeneratedAnnotations(name, file, temp_directory_); in CheckGeneratedAnnotations()
1820 MockCodeGenerator::GetOutputFileName("test_generator", "foo.proto"); in TEST_F()
1849 MockCodeGenerator::GetOutputFileName("test_plugin", "foo.proto"); in TEST_F()