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

Unified Diff: ios/web_view/test/web_view_kvo_inttest.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/chrome_web_view_test.mm ('k') | ios/web_view/test/web_view_restorable_state_inttest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/test/web_view_kvo_inttest.mm
diff --git a/ios/web_view/test/chrome_web_view_kvo_inttest.mm b/ios/web_view/test/web_view_kvo_inttest.mm
similarity index 96%
rename from ios/web_view/test/chrome_web_view_kvo_inttest.mm
rename to ios/web_view/test/web_view_kvo_inttest.mm
index 4cbd0c2c2d9ec5bd1cd25bff26b25dbda957b24d..03d6b6674c25fc56af924f36a342d629962ef98c 100644
--- a/ios/web_view/test/chrome_web_view_kvo_inttest.mm
+++ b/ios/web_view/test/web_view_kvo_inttest.mm
@@ -8,8 +8,8 @@
#include "base/strings/stringprintf.h"
#import "base/strings/sys_string_conversions.h"
#import "ios/testing/wait_util.h"
-#import "ios/web_view/test/chrome_web_view_test.h"
#import "ios/web_view/test/observer.h"
+#import "ios/web_view/test/web_view_test.h"
#import "ios/web_view/test/web_view_test_util.h"
#import "net/base/mac/url_conversions.h"
#include "testing/gtest_mac.h"
@@ -23,10 +23,10 @@ namespace ios_web_view {
// Tests that the KVO compliant properties of CWVWebView correctly report
// changes.
-typedef ios_web_view::ChromeWebViewTest ChromeWebViewKvoTest;
+typedef ios_web_view::WebViewTest WebViewKvoTest;
// Tests that CWVWebView correctly reports |canGoBack| and |canGoForward| state.
-TEST_F(ChromeWebViewKvoTest, CanGoBackForward) {
+TEST_F(WebViewKvoTest, CanGoBackForward) {
Observer* back_observer = [[Observer alloc] init];
[back_observer setObservedObject:web_view_ keyPath:@"canGoBack"];
@@ -84,7 +84,7 @@ TEST_F(ChromeWebViewKvoTest, CanGoBackForward) {
}
// Tests that CWVWebView correctly reports current |title|.
-TEST_F(ChromeWebViewKvoTest, Title) {
+TEST_F(WebViewKvoTest, Title) {
Observer* observer = [[Observer alloc] init];
[observer setObservedObject:web_view_ keyPath:@"title"];
@@ -113,7 +113,7 @@ TEST_F(ChromeWebViewKvoTest, Title) {
}
// Tests that CWVWebView correctly reports |isLoading| value.
-TEST_F(ChromeWebViewKvoTest, Loading) {
+TEST_F(WebViewKvoTest, Loading) {
Observer* observer = [[Observer alloc] init];
[observer setObservedObject:web_view_ keyPath:@"loading"];
@@ -141,7 +141,7 @@ TEST_F(ChromeWebViewKvoTest, Loading) {
}
// Tests that CWVWebView correctly reports |visibleURL| and |lastCommittedURL|.
-TEST_F(ChromeWebViewKvoTest, URLs) {
+TEST_F(WebViewKvoTest, URLs) {
Observer* last_committed_url_observer = [[Observer alloc] init];
[last_committed_url_observer setObservedObject:web_view_
keyPath:@"lastCommittedURL"];
« no previous file with comments | « ios/web_view/test/chrome_web_view_test.mm ('k') | ios/web_view/test/web_view_restorable_state_inttest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698