OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #import "ios/chrome/test/earl_grey/chrome_test_case.h" | 5 #import "ios/chrome/test/earl_grey/chrome_test_case.h" |
6 | 6 |
7 #import <objc/runtime.h> | 7 #import <objc/runtime.h> |
8 | 8 |
9 #import <EarlGrey/EarlGrey.h> | 9 #import <EarlGrey/EarlGrey.h> |
10 | 10 |
11 #include "base/mac/scoped_block.h" | 11 #include "base/mac/scoped_block.h" |
12 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
13 #import "ios/chrome/test/app/chrome_test_util.h" | 13 #import "ios/chrome/test/app/chrome_test_util.h" |
14 #import "ios/chrome/test/app/settings_test_util.h" | 14 #include "ios/chrome/test/app/settings_test_util.h" |
15 #include "ios/chrome/test/app/signin_test_util.h" | 15 #include "ios/chrome/test/app/signin_test_util.h" |
16 #import "ios/chrome/test/app/sync_test_util.h" | 16 #import "ios/chrome/test/app/sync_test_util.h" |
17 #import "ios/chrome/test/app/tab_test_util.h" | 17 #import "ios/chrome/test/app/tab_test_util.h" |
18 #import "ios/web/public/test/http_server.h" | 18 #import "ios/web/public/test/http_server.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 // Contains a list of test names that run in multitasking test suite. | 22 // Contains a list of test names that run in multitasking test suite. |
23 NSArray* whiteListedMultitaskingTests = @[ | 23 NSArray* whiteListedMultitaskingTests = @[ |
24 // Integration tests | 24 // Integration tests |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 [NSInvocation invocationWithMethodSignature:methodSignature]; | 288 [NSInvocation invocationWithMethodSignature:methodSignature]; |
289 invocation.selector = selector; | 289 invocation.selector = selector; |
290 [multitaskingTestNames addObject:invocation]; | 290 [multitaskingTestNames addObject:invocation]; |
291 } | 291 } |
292 } | 292 } |
293 free(methods); | 293 free(methods); |
294 return multitaskingTestNames; | 294 return multitaskingTestNames; |
295 } | 295 } |
296 | 296 |
297 @end | 297 @end |
OLD | NEW |