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

Side by Side Diff: mojo/public/bindings/tests/array_unittest.cc

Issue 218613010: Mojo: Move mojo/public/bindings/*.h to mojo/public/cpp/bindings/*.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/public/bindings/sync_dispatcher.h ('k') | mojo/public/bindings/tests/buffer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/public/bindings/allocation_scope.h"
6 #include "mojo/public/bindings/array.h"
7 #include "mojo/public/bindings/lib/fixed_buffer.h" 5 #include "mojo/public/bindings/lib/fixed_buffer.h"
8 #include "mojo/public/bindings/lib/scratch_buffer.h" 6 #include "mojo/public/bindings/lib/scratch_buffer.h"
7 #include "mojo/public/cpp/bindings/allocation_scope.h"
8 #include "mojo/public/cpp/bindings/array.h"
9 #include "mojo/public/cpp/environment/environment.h" 9 #include "mojo/public/cpp/environment/environment.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace test { 13 namespace test {
14 namespace { 14 namespace {
15 15
16 // Tests that basic Array operations work. 16 // Tests that basic Array operations work.
17 TEST(ArrayTest, Basic) { 17 TEST(ArrayTest, Basic) {
18 Environment env; 18 Environment env;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 EXPECT_TRUE(handles[1].is_valid()); 80 EXPECT_TRUE(handles[1].is_valid());
81 81
82 pipe0 = handles[0].Pass(); 82 pipe0 = handles[0].Pass();
83 EXPECT_TRUE(pipe0.is_valid()); 83 EXPECT_TRUE(pipe0.is_valid());
84 EXPECT_FALSE(handles[0].is_valid()); 84 EXPECT_FALSE(handles[0].is_valid());
85 } 85 }
86 86
87 } // namespace 87 } // namespace
88 } // namespace test 88 } // namespace test
89 } // namespace mojo 89 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/bindings/sync_dispatcher.h ('k') | mojo/public/bindings/tests/buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698