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

Side by Side Diff: components/leveldb/remote_iterator_unittest.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 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
« no previous file with comments | « components/leveldb/public/cpp/BUILD.gn ('k') | components/mus/BUILD.gn » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <map> 5 #include <map>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "components/leveldb/public/cpp/remote_iterator.h" 8 #include "components/leveldb/public/cpp/remote_iterator.h"
9 #include "components/leveldb/public/interfaces/leveldb.mojom.h" 9 #include "components/leveldb/public/interfaces/leveldb.mojom.h"
10 #include "mojo/common/common_type_converters.h" 10 #include "mojo/common/common_type_converters.h"
11 #include "mojo/shell/public/cpp/shell_connection.h"
12 #include "mojo/shell/public/cpp/shell_test.h"
13 #include "mojo/util/capture_util.h" 11 #include "mojo/util/capture_util.h"
12 #include "services/shell/public/cpp/shell_connection.h"
13 #include "services/shell/public/cpp/shell_test.h"
14 14
15 using mojo::Capture; 15 using mojo::Capture;
16 16
17 namespace leveldb { 17 namespace leveldb {
18 namespace { 18 namespace {
19 19
20 class RemoteIteratorTest : public mojo::test::ShellTest { 20 class RemoteIteratorTest : public mojo::test::ShellTest {
21 public: 21 public:
22 RemoteIteratorTest() : ShellTest("exe:leveldb_service_unittests") {} 22 RemoteIteratorTest() : ShellTest("exe:leveldb_service_unittests") {}
23 ~RemoteIteratorTest() override {} 23 ~RemoteIteratorTest() override {}
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 EXPECT_TRUE(it.Valid()); 137 EXPECT_TRUE(it.Valid());
138 EXPECT_EQ("a", it.key()); 138 EXPECT_EQ("a", it.key());
139 EXPECT_EQ("first", it.value()); 139 EXPECT_EQ("first", it.value());
140 140
141 it.Prev(); 141 it.Prev();
142 EXPECT_FALSE(it.Valid()); 142 EXPECT_FALSE(it.Valid());
143 } 143 }
144 144
145 } // namespace 145 } // namespace
146 } // namespace leveldb 146 } // namespace leveldb
OLDNEW
« no previous file with comments | « components/leveldb/public/cpp/BUILD.gn ('k') | components/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698