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

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

Issue 1430913005: Revert of 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/equals_unittest.cc
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc
index 5306f1f6cc4ab989f4b2f34e430b0605ae5164ab..72b02d413de560a4e404c558ddd95f961199a7db 100644
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "mojo/public/cpp/bindings/lib/value_traits.h"
+#include "mojo/public/cpp/environment/environment.h"
#include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -20,9 +21,14 @@
return r.Pass();
}
-using EqualsTest = testing::Test;
+class EqualsTest : public testing::Test {
+ public:
+ ~EqualsTest() override {}
-} // namespace
+ private:
+ Environment env_;
+};
+}
TEST_F(EqualsTest, NullStruct) {
RectPtr r1;

Powered by Google App Engine
This is Rietveld 408576698