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

Side by Side Diff: ios/web/public/test/web_js_test.h

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « ios/web/public/test/test_web_view_content_view.mm ('k') | ios/web/public/test/web_test.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_PUBLIC_TEST_WEB_JS_TEST_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_WEB_JS_TEST_H_
6 #define IOS_WEB_PUBLIC_TEST_WEB_JS_TEST_H_ 6 #define IOS_WEB_PUBLIC_TEST_WEB_JS_TEST_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #import "base/mac/bundle_locations.h" 10 #import "base/mac/bundle_locations.h"
11 #import "base/mac/scoped_nsobject.h" 11 #import "base/mac/scoped_nsobject.h"
12 #include "testing/gtest_mac.h" 12 #import "testing/gtest_mac.h"
13 13
14 namespace web { 14 namespace web {
15 15
16 // Base fixture mixin for testing JavaScripts. 16 // Base fixture mixin for testing JavaScripts.
17 template <class WebTestT> 17 template <class WebTestT>
18 class WebJsTest : public WebTestT { 18 class WebJsTest : public WebTestT {
19 public: 19 public:
20 WebJsTest(NSArray* java_script_paths) 20 WebJsTest(NSArray* java_script_paths)
21 : java_script_paths_([java_script_paths copy]) {} 21 : java_script_paths_([java_script_paths copy]) {}
22 22
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 EXPECT_NSEQ(@(expected), ExecuteJavaScriptWithFormat( 106 EXPECT_NSEQ(@(expected), ExecuteJavaScriptWithFormat(
107 java_script, get_element_java_script)) 107 java_script, get_element_java_script))
108 << [NSString stringWithFormat:@"%@ on %@ should return %d", java_script, 108 << [NSString stringWithFormat:@"%@ on %@ should return %d", java_script,
109 get_element_java_script, expected]; 109 get_element_java_script, expected];
110 } 110 }
111 } 111 }
112 112
113 } // namespace web 113 } // namespace web
114 114
115 #endif // IOS_WEB_PUBLIC_TEST_WEB_JS_TEST_H_ 115 #endif // IOS_WEB_PUBLIC_TEST_WEB_JS_TEST_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/test_web_view_content_view.mm ('k') | ios/web/public/test/web_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698