Classes | Namespaces | Functions
protobuf/src/google/protobuf/compiler/annotation_test_util.h File Reference
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/testing/googletest.h>
#include <gtest/gtest.h>
Include dependency graph for protobuf/src/google/protobuf/compiler/annotation_test_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  google::protobuf::compiler::annotation_test_util::ExpectedOutput
 

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::annotation_test_util
 

Functions

void google::protobuf::compiler::annotation_test_util::AddFile (const std::string &filename, const std::string &data)
 
bool google::protobuf::compiler::annotation_test_util::AnnotationMatchesSubstring (const std::string &file_content, const GeneratedCodeInfo::Annotation *annotation, const std::string &expected_text)
 
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)
 
bool google::protobuf::compiler::annotation_test_util::DecodeMetadata (const std::string &path, GeneratedCodeInfo *info)
 
const GeneratedCodeInfo::Annotationgoogle::protobuf::compiler::annotation_test_util::FindAnnotationOnPath (const GeneratedCodeInfo &info, const std::string &source_file, const std::vector< int > &path)
 
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)
 
bool google::protobuf::compiler::annotation_test_util::RunProtoCompiler (const std::string &filename, const std::string &plugin_specific_args, CommandLineInterface *cli, FileDescriptorProto *file)
 


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02