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

Unified Diff: mojo/public/tests/bindings/array_unittest.cc

Issue 134253004: Mojo: AsyncWaiter and mojo/public/environment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing files Created 6 years, 11 months 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: mojo/public/tests/bindings/array_unittest.cc
diff --git a/mojo/public/tests/bindings/array_unittest.cc b/mojo/public/tests/bindings/array_unittest.cc
index bb46c67aaddff447ff5c642b3477c775f0c80aa9..dac4b5024667da38274818bcecf90088702caa76 100644
--- a/mojo/public/tests/bindings/array_unittest.cc
+++ b/mojo/public/tests/bindings/array_unittest.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "mojo/public/bindings/lib/array.h"
-#include "mojo/public/tests/bindings/simple_bindings_support.h"
+#include "mojo/public/environment/environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
@@ -11,7 +11,7 @@ namespace test {
// Tests that basic Array operations work.
TEST(ArrayTest, Basic) {
- SimpleBindingsSupport bindings_support;
+ Environment env;
// 8 bytes for the array, with 8 bytes left over for elements.
internal::FixedBuffer buf(8 + 8*sizeof(char));
@@ -34,7 +34,7 @@ TEST(ArrayTest, Basic) {
// Tests that basic Array<bool> operations work, and that it's packed into 1
// bit per element.
TEST(ArrayTest, Bool) {
- SimpleBindingsSupport bindings_support;
+ Environment env;
// 8 bytes for the array header, with 8 bytes left over for elements.
internal::FixedBuffer buf(8 + 3);
@@ -57,7 +57,7 @@ TEST(ArrayTest, Bool) {
// Tests that Array<Handle> supports transferring handles.
TEST(ArrayTest, Handle) {
- SimpleBindingsSupport bindings_support;
+ Environment env;
AllocationScope scope;

Powered by Google App Engine
This is Rietveld 408576698