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

Unified Diff: components/mus/public/cpp/tests/window_server_test_base.cc

Issue 1771393002: Convert mus apptests to shelltests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/mus/public/cpp/tests/window_server_test_base.h ('k') | components/mus/ws/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/tests/window_server_test_base.cc
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc
index affbf31a4beefa8f43058cc675197a29e33adfbc..fe7a922c024d2876b08412a520e9dd73b88cdd74 100644
--- a/components/mus/public/cpp/tests/window_server_test_base.cc
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc
@@ -63,7 +63,7 @@ bool WindowServerTestBase::QuitRunLoop() {
}
void WindowServerTestBase::SetUp() {
- ApplicationTestBase::SetUp();
+ WindowServerShellTestBase::SetUp();
CreateWindowTreeHost(connector(), this, &host_, this);
@@ -71,10 +71,6 @@ void WindowServerTestBase::SetUp() {
std::swap(window_manager_, most_recent_connection_);
}
-mojo::ShellClient* WindowServerTestBase::GetShellClient() {
- return this;
-}
-
bool WindowServerTestBase::AcceptConnection(mojo::Connection* connection) {
connection->AddInterface<mojom::WindowTreeClient>(this);
return true;
« no previous file with comments | « components/mus/public/cpp/tests/window_server_test_base.h ('k') | components/mus/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698