Classes | |
| struct | ExpectedOutput |
Functions | |
| void | AddFile (const std::string &filename, const std::string &data) |
| bool | AnnotationMatchesSubstring (const std::string &file_content, const GeneratedCodeInfo::Annotation *annotation, const std::string &expected_text) |
| bool | AtLeastOneAnnotationMatchesSubstring (const std::string &file_content, const std::vector< const GeneratedCodeInfo::Annotation * > &annotations, const std::string &expected_text) |
| bool | DecodeMetadata (const std::string &path, GeneratedCodeInfo *info) |
| const GeneratedCodeInfo::Annotation * | FindAnnotationOnPath (const GeneratedCodeInfo &info, const std::string &source_file, const std::vector< int > &path) |
| void | FindAnnotationsOnPath (const GeneratedCodeInfo &info, const std::string &source_file, const std::vector< int > &path, std::vector< const GeneratedCodeInfo::Annotation * > *annotations) |
| bool | RunProtoCompiler (const std::string &filename, const std::string &plugin_specific_args, CommandLineInterface *cli, FileDescriptorProto *file) |
| void google::protobuf::compiler::annotation_test_util::AddFile | ( | const std::string & | filename, |
| const std::string & | data | ||
| ) |
Definition at line 72 of file annotation_test_util.cc.
| bool google::protobuf::compiler::annotation_test_util::AnnotationMatchesSubstring | ( | const std::string & | file_content, |
| const GeneratedCodeInfo::Annotation * | annotation, | ||
| const std::string & | expected_text | ||
| ) |
Definition at line 156 of file annotation_test_util.cc.
| bool google::protobuf::compiler::annotation_test_util::AtLeastOneAnnotationMatchesSubstring | ( | const std::string & | file_content, |
| const std::vector< const GeneratedCodeInfo::Annotation * > & | annotations, | ||
| const std::string & | expected_text | ||
| ) |
Definition at line 135 of file annotation_test_util.cc.
| bool google::protobuf::compiler::annotation_test_util::DecodeMetadata | ( | const std::string & | path, |
| GeneratedCodeInfo * | info | ||
| ) |
Definition at line 95 of file annotation_test_util.cc.
| const GeneratedCodeInfo::Annotation * google::protobuf::compiler::annotation_test_util::FindAnnotationOnPath | ( | const GeneratedCodeInfo & | info, |
| const std::string & | source_file, | ||
| const std::vector< int > & | path | ||
| ) |
Definition at line 124 of file annotation_test_util.cc.
| void google::protobuf::compiler::annotation_test_util::FindAnnotationsOnPath | ( | const GeneratedCodeInfo & | info, |
| const std::string & | source_file, | ||
| const std::vector< int > & | path, | ||
| std::vector< const GeneratedCodeInfo::Annotation * > * | annotations | ||
| ) |
Definition at line 102 of file annotation_test_util.cc.
| bool google::protobuf::compiler::annotation_test_util::RunProtoCompiler | ( | const std::string & | filename, |
| const std::string & | plugin_specific_args, | ||
| CommandLineInterface * | cli, | ||
| FileDescriptorProto * | file | ||
| ) |
Definition at line 77 of file annotation_test_util.cc.