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

Unified Diff: components/leveldb/leveldb_service_unittest.cc

Issue 2123363002: ShellTest -> ServiceTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « components/leveldb/BUILD.gn ('k') | components/leveldb/remote_iterator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb/leveldb_service_unittest.cc
diff --git a/components/leveldb/leveldb_service_unittest.cc b/components/leveldb/leveldb_service_unittest.cc
index 893ea6f6d160db76eb4427beb25fc53654201b79..4dd79f9eec13422ba064c9cd6dafeab07354bebb 100644
--- a/components/leveldb/leveldb_service_unittest.cc
+++ b/components/leveldb/leveldb_service_unittest.cc
@@ -10,8 +10,8 @@
#include "components/leveldb/public/interfaces/leveldb.mojom.h"
#include "mojo/common/common_type_converters.h"
#include "mojo/public/cpp/bindings/binding_set.h"
+#include "services/shell/public/cpp/service_test.h"
#include "services/shell/public/cpp/shell_connection.h"
-#include "services/shell/public/cpp/shell_test.h"
using filesystem::mojom::FileError;
@@ -35,15 +35,15 @@ base::Callback<void(T1, T2)> Capture(T1* t1, T2* t2) {
return base::Bind(&DoCaptures<T1, T2>, t1, t2);
}
-class LevelDBServiceTest : public shell::test::ShellTest {
+class LevelDBServiceTest : public shell::test::ServiceTest {
public:
- LevelDBServiceTest() : ShellTest("exe:leveldb_service_unittests") {}
+ LevelDBServiceTest() : ServiceTest("exe:leveldb_service_unittests") {}
~LevelDBServiceTest() override {}
protected:
// Overridden from mojo::test::ApplicationTestBase:
void SetUp() override {
- ShellTest::SetUp();
+ ServiceTest::SetUp();
connector()->ConnectToInterface("mojo:filesystem", &files_);
connector()->ConnectToInterface("mojo:leveldb", &leveldb_);
}
@@ -51,7 +51,7 @@ class LevelDBServiceTest : public shell::test::ShellTest {
void TearDown() override {
leveldb_.reset();
files_.reset();
- ShellTest::TearDown();
+ ServiceTest::TearDown();
}
// Note: This has an out parameter rather than returning the |DirectoryPtr|,
« no previous file with comments | « components/leveldb/BUILD.gn ('k') | components/leveldb/remote_iterator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698