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

Side by Side Diff: mojo/public/cpp/bindings/tests/versioning_apptest.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/application/public/cpp/application_impl.h" 5 #include "mojo/application/public/cpp/application_impl.h"
6 #include "mojo/application/public/cpp/application_test_base.h" 6 #include "mojo/application/public/cpp/application_test_base.h"
7 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" 7 #include "mojo/public/cpp/system/macros.h"
8 #include "third_party/mojo/src/mojo/public/interfaces/bindings/tests/versioning_ test_client.mojom.h" 8 #include "mojo/public/interfaces/bindings/tests/versioning_test_client.mojom.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace test { 11 namespace test {
12 namespace versioning { 12 namespace versioning {
13 13
14 class VersioningApplicationTest : public ApplicationTestBase { 14 class VersioningApplicationTest : public ApplicationTestBase {
15 public: 15 public:
16 VersioningApplicationTest() : ApplicationTestBase() {} 16 VersioningApplicationTest() : ApplicationTestBase() {}
17 ~VersioningApplicationTest() override {} 17 ~VersioningApplicationTest() override {}
18 18
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Calling a version 2 method (which the service side doesn't support) closes 112 // Calling a version 2 method (which the service side doesn't support) closes
113 // the pipe. 113 // the pipe.
114 database_->ListEmployeeIds([](Array<uint64_t> ids) { EXPECT_TRUE(false); }); 114 database_->ListEmployeeIds([](Array<uint64_t> ids) { EXPECT_TRUE(false); });
115 database_.WaitForIncomingResponse(); 115 database_.WaitForIncomingResponse();
116 EXPECT_TRUE(database_.encountered_error()); 116 EXPECT_TRUE(database_.encountered_error());
117 } 117 }
118 118
119 } // namespace versioning 119 } // namespace versioning
120 } // namespace examples 120 } // namespace examples
121 } // namespace mojo 121 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/validation_unittest.cc ('k') | mojo/public/cpp/bindings/tests/versioning_test_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698