pw_rpc: #include gtest.h instead of framework.h
This updates the test_method_context to include gtest.h instead of
pw_unit_test's framework.h, to work with projects that use Google test.
Change-Id: I2f4461b4b7abc30c63314ad0cea531ff0d8b2de2
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/14561
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
diff --git a/pw_rpc/public/pw_rpc/test_method_context.h b/pw_rpc/public/pw_rpc/test_method_context.h
index 058efe5..4817b2d 100644
--- a/pw_rpc/public/pw_rpc/test_method_context.h
+++ b/pw_rpc/public/pw_rpc/test_method_context.h
@@ -15,6 +15,7 @@
#include <tuple>
+#include "gtest/gtest.h"
#include "pw_containers/vector.h"
#include "pw_preprocessor/macro_arg_count.h"
#include "pw_rpc/channel.h"
@@ -22,7 +23,6 @@
#include "pw_rpc/internal/method.h"
#include "pw_rpc/internal/packet.h"
#include "pw_rpc/internal/server.h"
-#include "pw_unit_test/framework.h"
// Declares a context object that may be used to invoke an RPC. The context is
// declared with the RPC service and method name. The RPC is then invoked with