Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_TEST_UTIL2_H__
32 #define GOOGLE_PROTOBUF_TEST_UTIL2_H__
34 #include <google/protobuf/stubs/strutil.h>
36 #include <google/protobuf/util/message_differencer.h>
37 #include <google/protobuf/testing/googletest.h>
52 return "google/protobuf/" +
path;
71 template <
typename ProtoType>
74 other.ParsePartialFromString(
data);
82 #endif // GOOGLE_PROTOBUF_TEST_UTIL2_H__
bool EqualsToSerialized(const ProtoType &message, const std::string &data)
std::string GetTestDataPath(const std::string &google3_path)
static bool Equals(const Message &message1, const Message &message2)
std::string MaybeTranslatePath(const std::string &google3_path)
void StringReplace(const string &s, const string &oldsub, const string &newsub, bool replace_all, string *res)
static const char prefix[]
#define GOOGLE_CHECK(EXPRESSION)
std::string TestSourceDir()
std::string TranslatePathToOpensource(const std::string &google3_path)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:31