| Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
|
| diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
|
| index 58878a7f0d33c7d607be75aca360c7ac5c445585..5d1617f446c097e9500e65eb4a03d73cf95fc1c2 100644
|
| --- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
|
| +++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
|
| @@ -6,6 +6,8 @@
|
| #include <ostream>
|
| #include <string>
|
|
|
| +#include "mojo/public/cpp/environment/environment.h"
|
| +#include "mojo/public/cpp/system/macros.h"
|
| #include "mojo/public/interfaces/bindings/tests/sample_service.mojom.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -311,7 +313,16 @@
|
| }
|
| };
|
|
|
| -using BindingsSampleTest = testing::Test;
|
| +class BindingsSampleTest : public testing::Test {
|
| + public:
|
| + BindingsSampleTest() {}
|
| + ~BindingsSampleTest() override {}
|
| +
|
| + private:
|
| + mojo::Environment env_;
|
| +
|
| + MOJO_DISALLOW_COPY_AND_ASSIGN(BindingsSampleTest);
|
| +};
|
|
|
| TEST_F(BindingsSampleTest, Basic) {
|
| SimpleMessageReceiver receiver;
|
|
|