File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tensorflow_serving/test_util Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ string TestSrcDirPath(const string& relative_path) {
3030
3131ProtoStringMatcher::ProtoStringMatcher (const string& expected)
3232 : expected_(expected) {}
33- ProtoStringMatcher::ProtoStringMatcher (const proto2 ::Message& expected)
33+ ProtoStringMatcher::ProtoStringMatcher (const google::protobuf ::Message& expected)
3434 : expected_(expected.DebugString()) {}
3535
3636} // namespace test_util
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ string TestSrcDirPath(const string& relative_path);
4545class ProtoStringMatcher {
4646 public:
4747 explicit ProtoStringMatcher (const string& expected);
48- explicit ProtoStringMatcher (const proto2 ::Message& expected);
48+ explicit ProtoStringMatcher (const google::protobuf ::Message& expected);
4949
5050 template <typename Message>
5151 bool MatchAndExplain (const Message& p,
@@ -68,7 +68,7 @@ inline ::testing::PolymorphicMatcher<ProtoStringMatcher> EqualsProto(
6868
6969// Polymorphic matcher to compare any two protos.
7070inline ::testing::PolymorphicMatcher<ProtoStringMatcher> EqualsProto (
71- const proto2 ::Message& x) {
71+ const google::protobuf ::Message& x) {
7272 return ::testing::MakePolymorphicMatcher (ProtoStringMatcher (x));
7373}
7474
You can’t perform that action at this time.
0 commit comments