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

Side by Side Diff: ios/web_view/test/test_server.h

Issue 2892193002: Add unittest to test CWVWebView. (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_VIEW_TEST_TEST_SERVER_H_
6 #define IOS_WEB_VIEW_TEST_TEST_SERVER_H_
7
8 #include <string>
9
10 namespace ios_web_view {
11
12 class TestServer {
Eugene But (OOO till 7-30) 2017/05/19 18:39:49 I think we should be consistent with other tests i
michaeldo 2017/05/23 16:20:52 Acknowledged.
13 public:
14 static bool Start();
Eugene But (OOO till 7-30) 2017/05/19 18:39:49 Generally there is no need to create a class which
michaeldo 2017/05/23 16:20:52 Good point, I removed this class and followed exam
15 static void Shutdown();
16
17 // Returns URL to an html page with title set to |title|.
18 static std::string GetPageTitleURL(const std::string& title);
19
20 // Returns URL to an html page with |html| within page's body tags.
21 static std::string GetPageWithHTMLBody(const std::string& html);
22 };
23
24 } // namespace ios_web_view
25
26 #endif // IOS_WEB_VIEW_TEST_TEST_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698