Searched refs:MockCodeGenerator (Results 1 – 4 of 4) sorted by relevance
77 MockCodeGenerator::MockCodeGenerator(const string& name) in MockCodeGenerator() function in google::protobuf::compiler::MockCodeGenerator80 MockCodeGenerator::~MockCodeGenerator() {} in ~MockCodeGenerator()82 void MockCodeGenerator::ExpectGenerated( in ExpectGenerated()129 bool MockCodeGenerator::Generate( in Generate()218 string MockCodeGenerator::GetOutputFileName(const string& generator_name, in GetOutputFileName()223 string MockCodeGenerator::GetOutputFileName(const string& generator_name, in GetOutputFileName()228 string MockCodeGenerator::GetOutputFileContent( in GetOutputFileContent()242 string MockCodeGenerator::GetOutputFileContent( in GetOutputFileContent()
71 class MockCodeGenerator : public CodeGenerator {73 MockCodeGenerator(const string& name);74 virtual ~MockCodeGenerator();
49 google::protobuf::compiler::MockCodeGenerator generator("test_plugin"); in main()
264 CodeGenerator* generator = new MockCodeGenerator("test_generator"); in SetUp()269 generator = new MockCodeGenerator("alt_generator"); in SetUp()427 MockCodeGenerator::ExpectGenerated( in Run()438 MockCodeGenerator::ExpectGenerated( in Run()448 MockCodeGenerator::ExpectGenerated( in Run()460 MockCodeGenerator::ExpectGenerated( in Run()1281 MockCodeGenerator::GetOutputFileName("test_generator", "foo.proto"); in Run()1310 MockCodeGenerator::GetOutputFileName("test_plugin", "foo.proto"); in Run()