Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Unified Diff: third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc

Issue 1406073004: Change mojo_public_bindings_unittests to use chromium environment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5d1617f446c097e9500e65eb4a03d73cf95fc1c2..58878a7f0d33c7d607be75aca360c7ac5c445585 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,8 +6,6 @@
#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"
@@ -313,16 +311,7 @@ class SimpleMessageReceiver : public mojo::MessageReceiverWithResponder {
}
};
-class BindingsSampleTest : public testing::Test {
- public:
- BindingsSampleTest() {}
- ~BindingsSampleTest() override {}
-
- private:
- mojo::Environment env_;
-
- MOJO_DISALLOW_COPY_AND_ASSIGN(BindingsSampleTest);
-};
+using BindingsSampleTest = testing::Test;
TEST_F(BindingsSampleTest, Basic) {
SimpleMessageReceiver receiver;

Powered by Google App Engine
This is Rietveld 408576698