webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
google::protobuf::compiler::MockCodeGenerator Class Reference

#include <mock_code_generator.h>

Inheritance diagram for google::protobuf::compiler::MockCodeGenerator:
google::protobuf::compiler::CodeGenerator

Public Member Functions

 MockCodeGenerator (const string &name)
 
virtual ~MockCodeGenerator ()
 
virtual bool Generate (const FileDescriptor *file, const string &parameter, GeneratorContext *context, string *error) const
 
- Public Member Functions inherited from google::protobuf::compiler::CodeGenerator
 CodeGenerator ()
 
virtual ~CodeGenerator ()
 
virtual bool GenerateAll (const vector< const FileDescriptor *> &files, const string &parameter, GeneratorContext *generator_context, string *error) const
 
virtual bool HasGenerateAll () const
 

Static Public Member Functions

static void ExpectGenerated (const string &name, const string &parameter, const string &insertions, const string &file, const string &first_message_name, const string &parsed_file_list, const string &output_directory)
 
static string GetOutputFileName (const string &generator_name, const FileDescriptor *file)
 
static string GetOutputFileName (const string &generator_name, const string &file)
 

Constructor & Destructor Documentation

◆ MockCodeGenerator()

google::protobuf::compiler::MockCodeGenerator::MockCodeGenerator ( const string name)

◆ ~MockCodeGenerator()

google::protobuf::compiler::MockCodeGenerator::~MockCodeGenerator ( )
virtual

Member Function Documentation

◆ ExpectGenerated()

void google::protobuf::compiler::MockCodeGenerator::ExpectGenerated ( const string name,
const string parameter,
const string insertions,
const string file,
const string first_message_name,
const string parsed_file_list,
const string output_directory 
)
static

◆ Generate()

bool google::protobuf::compiler::MockCodeGenerator::Generate ( const FileDescriptor file,
const string parameter,
GeneratorContext context,
string error 
) const
virtual

◆ GetOutputFileName() [1/2]

string google::protobuf::compiler::MockCodeGenerator::GetOutputFileName ( const string generator_name,
const FileDescriptor file 
)
static

◆ GetOutputFileName() [2/2]

string google::protobuf::compiler::MockCodeGenerator::GetOutputFileName ( const string generator_name,
const string file 
)
static

The documentation for this class was generated from the following files: