diff options
author | eugenebut <eugenebut@chromium.org> | 2016-03-11 11:09:37 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-11 19:11:12 +0000 |
commit | 0fe236004ed35fca225d17eebaa0d4d3c8795b80 (patch) | |
tree | 12a55301c4fe222f6dac0e7765ae0e578584a0dd /ios/web | |
parent | a0a0219dde77a6b75a57e439d43664e978878ef4 (diff) | |
download | chromium_src-0fe236004ed35fca225d17eebaa0d4d3c8795b80.zip chromium_src-0fe236004ed35fca225d17eebaa0d4d3c8795b80.tar.gz chromium_src-0fe236004ed35fca225d17eebaa0d4d3c8795b80.tar.bz2 |
[ios] Removed web_test_util as unused.
BUG=579697
Review URL: https://codereview.chromium.org/1791533002
Cr-Commit-Position: refs/heads/master@{#380691}
Diffstat (limited to 'ios/web')
-rw-r--r-- | ios/web/BUILD.gn | 1 | ||||
-rw-r--r-- | ios/web/ios_web.gyp | 1 | ||||
-rw-r--r-- | ios/web/public/test/web_test_util.h | 20 |
3 files changed, 0 insertions, 22 deletions
diff --git a/ios/web/BUILD.gn b/ios/web/BUILD.gn index 9ac855e..ace65c8 100644 --- a/ios/web/BUILD.gn +++ b/ios/web/BUILD.gn @@ -353,7 +353,6 @@ source_set("test_support") { "public/test/test_web_thread_bundle.h", "public/test/test_web_view_content_view.h", "public/test/test_web_view_content_view.mm", - "public/test/web_test_util.h", "test/crw_fake_web_controller_observer.h", "test/crw_fake_web_controller_observer.mm", "test/test_web_thread.cc", diff --git a/ios/web/ios_web.gyp b/ios/web/ios_web.gyp index 008c807..49aff7f 100644 --- a/ios/web/ios_web.gyp +++ b/ios/web/ios_web.gyp @@ -443,7 +443,6 @@ 'public/test/test_web_thread_bundle.h', 'public/test/test_web_view_content_view.h', 'public/test/test_web_view_content_view.mm', - 'public/test/web_test_util.h', 'test/crw_fake_web_controller_observer.h', 'test/crw_fake_web_controller_observer.mm', 'test/test_web_thread.cc', diff --git a/ios/web/public/test/web_test_util.h b/ios/web/public/test/web_test_util.h deleted file mode 100644 index fe93d07..0000000 --- a/ios/web/public/test/web_test_util.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2014 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_PUBLIC_TEST_WEB_TEST_UTIL_H_ -#define IOS_WEB_PUBLIC_TEST_WEB_TEST_UTIL_H_ - -#include "ios/web/public/web_view_creation_util.h" - -// A helper macro that allows skipping a unit test on iOS7 and earlier. Example: -// -// TEST_F(WKWebViewTest, WebViewInitializesCorrectly) { -// CR_TEST_REQUIRES_WK_WEB_VIEW(); -// EXPECT_TRUE(NSClassFromString(@"WKWebView") != nil); -// } -#define CR_TEST_REQUIRES_WK_WEB_VIEW() \ - if (!web::IsWKWebViewSupported()) \ - return - -#endif // IOS_WEB_PUBLIC_TEST_WEB_TEST_UTIL_H_ |