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

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

Issue 2941763003: Cleanup ios_web_view integration tests. (Closed)
Patch Set: Addressed review comments 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
index 389338a469e416657322995ee7a3de019d56651e..92505c53d3d835de0b7513eacc86a051130bb928 100644
--- a/ios/web_view/test/chrome_web_view_test.h
+++ b/ios/web_view/test/chrome_web_view_test.h
@@ -8,6 +8,7 @@
#include <memory>
#include <string>
+#import "base/mac/scoped_nsobject.h"
#include "testing/platform_test.h"
namespace net {
@@ -51,6 +52,10 @@ class ChromeWebViewTest : public PlatformTest {
// 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_;
« 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