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

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

Issue 2941763003: Cleanup ios_web_view integration tests. (Closed)
Patch Set: Moved CreateWebView to web_view_test_util.h 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/web_view_interaction_test_util.h
diff --git a/ios/web_view/test/web_view_interaction_test_util.h b/ios/web_view/test/web_view_interaction_test_util.h
deleted file mode 100644
index 0af2cb7c7d8944dca5fb1d552aee5392d0c29cea..0000000000000000000000000000000000000000
--- a/ios/web_view/test/web_view_interaction_test_util.h
+++ /dev/null
@@ -1,31 +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_WEB_VIEW_INTERACTION_TEST_UTIL_H_
-#define IOS_WEB_VIEW_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_
-
-#import <Foundation/Foundation.h>
-
-@class CWVWebView;
-
-namespace ios_web_view {
-namespace test {
-
-// Returns whether the element with |element_id| in the passed |web_view| has
-// been tapped using a JavaScript click() event.
-bool TapChromeWebViewElementWithId(CWVWebView* web_view, NSString* element_id);
-
-// Waits until script is executed and synchronously returns the evaluation
-// result.
-id EvaluateJavaScript(CWVWebView* web_view, NSString* script, NSError** error);
-
-// Waits for |web_view| to contain |text|. Returns false if the condition is not
-// met within a timeout.
-bool WaitForWebViewContainingTextOrTimeout(CWVWebView* web_view,
- NSString* text);
-
-} // namespace test
-} // namespace ios_web_view
-
-#endif // IOS_WEB_VIEW_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698