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

Unified Diff: third_party/mojo/src/mojo/public/cpp/bindings/tests/array_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/array_unittest.cc
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/array_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/array_unittest.cc
index 8befe81d0fea6c7fa3f856c68b3e22b7dc895d35..293dc955ac670df202338f1ece64b30f1e1f77d3 100644
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/array_unittest.cc
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/array_unittest.cc
@@ -7,6 +7,7 @@
#include "mojo/public/cpp/bindings/lib/array_serialization.h"
#include "mojo/public/cpp/bindings/lib/fixed_buffer.h"
#include "mojo/public/cpp/bindings/tests/container_test_util.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"
@@ -19,7 +20,13 @@
using mojo::internal::FixedBufferForTesting;
using mojo::internal::String_Data;
-using ArrayTest = testing::Test;
+class ArrayTest : public testing::Test {
+ public:
+ ~ArrayTest() override {}
+
+ private:
+ Environment env_;
+};
// Tests that basic Array operations work.
TEST_F(ArrayTest, Basic) {

Powered by Google App Engine
This is Rietveld 408576698