#include <google/protobuf/compiler/annotation_test_util.h>
#include <cstdint>
#include <memory>
#include <google/protobuf/testing/file.h>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/compiler/command_line_interface.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/testing/googletest.h>
#include <gtest/gtest.h>
Go to the source code of this file.
|
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::Annotation * | google::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) |
|
◆ file_