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

Unified Diff: services/ui/ws/window_tree_client_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 | « services/ui/ws/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index 07804b3056f533808ac01f5bd1d0357ca9b3d44e..096f9b021f3b88f489b4fe56e97b1205a8f1ff74 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -11,7 +11,7 @@
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
-#include "services/shell/public/cpp/shell_test.h"
+#include "services/shell/public/cpp/service_test.h"
#include "services/ui/public/cpp/tests/window_server_shelltest_base.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
#include "services/ui/public/interfaces/window_tree_host.mojom.h"
@@ -483,7 +483,7 @@ class WindowTreeClientFactory
} // namespace
-class WindowTreeClientTest : public WindowServerShellTestBase {
+class WindowTreeClientTest : public WindowServerServiceTestBase {
public:
WindowTreeClientTest()
: client_id_1_(0), client_id_2_(0), root_window_id_(0) {}
@@ -575,7 +575,7 @@ class WindowTreeClientTest : public WindowServerShellTestBase {
return client;
}
- // WindowServerShellTestBase:
+ // WindowServerServiceTestBase:
bool OnConnect(shell::Connection* connection) override {
connection->AddInterface(client_factory_.get());
return true;
@@ -584,7 +584,7 @@ class WindowTreeClientTest : public WindowServerShellTestBase {
void SetUp() override {
client_factory_.reset(new WindowTreeClientFactory());
- WindowServerShellTestBase::SetUp();
+ WindowServerServiceTestBase::SetUp();
mojom::WindowTreeHostFactoryPtr factory;
connector()->ConnectToInterface("mojo:ui", &factory);
@@ -614,12 +614,12 @@ class WindowTreeClientTest : public WindowServerShellTestBase {
void TearDown() override {
// Destroy these before the message loop is destroyed (happens in
- // WindowServerShellTestBase::TearDown).
+ // WindowServerServiceTestBase::TearDown).
wt_client1_.reset();
wt_client2_.reset();
wt_client3_.reset();
client_factory_.reset();
- WindowServerShellTestBase::TearDown();
+ WindowServerServiceTestBase::TearDown();
}
std::unique_ptr<TestWindowTreeClient> wt_client1_;
« no previous file with comments | « services/ui/ws/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698