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

Unified Diff: ios/web/test/web_test_with_web_controller.h

Issue 2060483003: [ios] Extracted web_test.h classes into separate files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo Created 4 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/test/web_test.mm ('k') | ios/web/test/web_test_with_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/test/web_test_with_web_controller.h
diff --git a/ios/web/test/web_test_with_web_controller.h b/ios/web/test/web_test_with_web_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..31e40b5ce9e7c3485351569bc8d525c06cdd4ac5
--- /dev/null
+++ b/ios/web/test/web_test_with_web_controller.h
@@ -0,0 +1,24 @@
+// Copyright 2016 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_TEST_WEB_TEST_WITH_WEB_CONTROLLER_H_
+#define IOS_WEB_TEST_WEB_TEST_WITH_WEB_CONTROLLER_H_
+
+#import "ios/web/public/test/web_test_with_web_state.h"
+#import "ios/web/web_state/ui/crw_web_controller.h"
+
+namespace web {
+
+// Base test fixture to test CRWWebController.
+class WebTestWithWebController : public WebTestWithWebState {
+ protected:
+ WebTestWithWebController();
+ ~WebTestWithWebController() override;
+ // Returns web controller for testing.
+ CRWWebController* web_controller();
+};
+
+} // namespace web
+
+#endif // IOS_WEB_TEST_WEB_TEST_WITH_WEB_CONTROLLER_H_
« no previous file with comments | « ios/web/test/web_test.mm ('k') | ios/web/test/web_test_with_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698