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

Unified Diff: ios/web_view/test/web_view_test.mm

Issue 2943063002: Removed Chrome prefix from ios_web_view_inttests test fixtures. (Closed)
Patch Set: Created 3 years, 6 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 | « ios/web_view/test/web_view_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/test/web_view_test.mm
diff --git a/ios/web_view/test/chrome_web_view_test.mm b/ios/web_view/test/web_view_test.mm
similarity index 89%
rename from ios/web_view/test/chrome_web_view_test.mm
rename to ios/web_view/test/web_view_test.mm
index 039eee429658bf6c3eeace4da4427ab3b510ada8..e0728e54dab799bb89025b145f5bb7586b06be06 100644
--- a/ios/web_view/test/chrome_web_view_test.mm
+++ b/ios/web_view/test/web_view_test.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/web_view/test/chrome_web_view_test.h"
+#import "ios/web_view/test/web_view_test.h"
#import <ChromeWebView/ChromeWebView.h>
#import <Foundation/Foundation.h>
@@ -96,30 +96,30 @@ std::unique_ptr<net::test_server::HttpResponse> TestRequestHandler(
namespace ios_web_view {
-ChromeWebViewTest::ChromeWebViewTest()
+WebViewTest::WebViewTest()
: web_view_(test::CreateWebView()),
test_server_(base::MakeUnique<net::EmbeddedTestServer>(
net::test_server::EmbeddedTestServer::TYPE_HTTP)) {
test_server_->RegisterRequestHandler(base::Bind(&TestRequestHandler));
}
-ChromeWebViewTest::~ChromeWebViewTest() = default;
+WebViewTest::~WebViewTest() = default;
-void ChromeWebViewTest::SetUp() {
+void WebViewTest::SetUp() {
PlatformTest::SetUp();
ASSERT_TRUE(test_server_->Start());
}
-GURL ChromeWebViewTest::GetUrlForPageWithTitle(const std::string& title) {
+GURL WebViewTest::GetUrlForPageWithTitle(const std::string& title) {
return GetUrlForPageWithTitleAndBody(title, std::string());
}
-GURL ChromeWebViewTest::GetUrlForPageWithHtmlBody(const std::string& html) {
+GURL WebViewTest::GetUrlForPageWithHtmlBody(const std::string& html) {
return GetUrlForPageWithTitleAndBody(std::string(), html);
}
-GURL ChromeWebViewTest::GetUrlForPageWithTitleAndBody(const std::string& title,
- const std::string& body) {
+GURL WebViewTest::GetUrlForPageWithTitleAndBody(const std::string& title,
+ const std::string& body) {
GURL url = test_server_->GetURL(kPageHtmlPath);
// Encode |title| and |body| in url query in order to build the server
« no previous file with comments | « ios/web_view/test/web_view_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698