diff options
Diffstat (limited to 'tests/test_vs_proto2.cc')
-rw-r--r-- | tests/test_vs_proto2.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_vs_proto2.cc b/tests/test_vs_proto2.cc index 07946dd..22683c3 100644 --- a/tests/test_vs_proto2.cc +++ b/tests/test_vs_proto2.cc @@ -19,8 +19,8 @@ #include <stdio.h> #include <stdlib.h> #include "benchmarks/google_messages.pb.h" +#include "upb/bindings/googlepb/bridge.h" #include "upb/def.h" -#include "upb/google/bridge.h" #include "upb/handlers.h" #include "upb/pb/decoder.h" #include "upb/pb/glue.h" @@ -125,7 +125,7 @@ int run_tests(int argc, char *argv[]) MESSAGE_CIDENT msg1; MESSAGE_CIDENT msg2; - upb::reffed_ptr<const upb::Handlers> h(upb::google::NewWriteHandlers(msg1)); + upb::reffed_ptr<const upb::Handlers> h(upb::googlepb::NewWriteHandlers(msg1)); compare_metadata(msg1.GetDescriptor(), h->message_def()); @@ -142,7 +142,7 @@ int run_tests(int argc, char *argv[]) factory->GetPrototype(msg1.descriptor()); google::protobuf::Message* dyn_msg1 = prototype->New(); google::protobuf::Message* dyn_msg2 = prototype->New(); - h = upb::google::NewWriteHandlers(*dyn_msg1); + h = upb::googlepb::NewWriteHandlers(*dyn_msg1); parse_and_compare(dyn_msg1, dyn_msg2, h.get(), str, len, false); parse_and_compare(dyn_msg1, dyn_msg2, h.get(), str, len, true); delete dyn_msg1; |