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

Unified Diff: mojo/shell/public/cpp/application_test_base.h

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 years, 10 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 | « mojo/shell/public/cpp/BUILD.gn ('k') | mojo/shell/public/cpp/connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/application_test_base.h
diff --git a/mojo/shell/public/cpp/application_test_base.h b/mojo/shell/public/cpp/application_test_base.h
index bba59168f9e3d6f517a4a3128e7b548ff3e72c6a..c81e7bfde194497277f3c3cc2f378059b776345f 100644
--- a/mojo/shell/public/cpp/application_test_base.h
+++ b/mojo/shell/public/cpp/application_test_base.h
@@ -34,7 +34,7 @@ class TestHelper {
~TestHelper();
Connector* connector() { return shell_connection_->connector(); }
- std::string test_url() { return url_; }
+ std::string test_name() { return name_; }
private:
// The application delegate used if GetShellClient is not overridden.
@@ -43,7 +43,7 @@ class TestHelper {
// The application implementation instance, reconstructed for each test.
scoped_ptr<ShellConnection> shell_connection_;
- std::string url_;
+ std::string name_;
MOJO_DISALLOW_COPY_AND_ASSIGN(TestHelper);
};
@@ -58,8 +58,8 @@ class ApplicationTestBase : public testing::Test {
Connector* connector() {
return test_helper_ ? test_helper_->connector() : nullptr;
}
- std::string test_url() const {
- return test_helper_ ? test_helper_->test_url() : std::string();
+ std::string test_name() const {
+ return test_helper_ ? test_helper_->test_name() : std::string();
}
// Get the ShellClient for the application to be tested.
« no previous file with comments | « mojo/shell/public/cpp/BUILD.gn ('k') | mojo/shell/public/cpp/connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698