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

Unified Diff: ios/web_view/test/chrome_web_view_test.h

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
Index: ios/web_view/test/chrome_web_view_test.h
diff --git a/ios/web_view/test/chrome_web_view_test.h b/ios/web_view/test/chrome_web_view_test.h
deleted file mode 100644
index d6e735340bcbf9537f38652b359ef34177a9ec85..0000000000000000000000000000000000000000
--- a/ios/web_view/test/chrome_web_view_test.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_WEB_VIEW_TEST_CHROME_WEB_VIEW_TEST_H_
-#define IOS_WEB_VIEW_TEST_CHROME_WEB_VIEW_TEST_H_
-
-#include <memory>
-#include <string>
-
-#import "base/mac/scoped_nsobject.h"
-#include "testing/platform_test.h"
-
-namespace net {
-namespace test_server {
-class EmbeddedTestServer;
-} // namespace test_server
-} // namespace net
-
-@class CWVWebView;
-class GURL;
-@class NSURL;
-
-namespace ios_web_view {
-
-// A test fixture for testing CWVWebView. A test server is also created to
-// support loading content. The server supports the urls returned by the GetUrl*
-// methods below.
-class ChromeWebViewTest : public PlatformTest {
- protected:
- ChromeWebViewTest();
- ~ChromeWebViewTest() override;
-
- // Returns URL to an html page with title set to |title|.
- GURL GetUrlForPageWithTitle(const std::string& title);
-
- // Returns URL to an html page with |html| within page's body tags.
- GURL GetUrlForPageWithHtmlBody(const std::string& html);
-
- // Returns URL to an html page with title set to |title| and |body| within
- // the page's body tags.
- GURL GetUrlForPageWithTitleAndBody(const std::string& title,
- const std::string& body);
-
- // PlatformTest methods.
- void SetUp() override;
-
- // CWVWebView created with default configuration and frame equal to screen
- // bounds.
- base::scoped_nsobject<CWVWebView> web_view_;
-
- // Embedded server for handling requests sent to the URLs returned by the
- // GetURL* methods.
- std::unique_ptr<net::test_server::EmbeddedTestServer> test_server_;
-};
-
-} // namespace ios_web_view
-
-#endif // IOS_WEB_VIEW_TEST_CHROME_WEB_VIEW_TEST_H_
« no previous file with comments | « ios/web_view/test/chrome_web_view_restorable_state_inttest.mm ('k') | ios/web_view/test/chrome_web_view_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698