| 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 #include "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/http_server.h" |
| 19 | 19 |
| 20 #if !defined(__has_feature) || !__has_feature(objc_arc) | 20 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 21 #error "This file requires ARC support." | 21 #error "This file requires ARC support." |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 namespace { | 24 namespace { |
| 25 | 25 |
| 26 NSString* const kFlakyEarlGreyTestTargetSuffix = @"_flaky_egtests"; | 26 NSString* const kFlakyEarlGreyTestTargetSuffix = @"_flaky_egtests"; |
| 27 | 27 |
| 28 // Contains a list of test names that run in multitasking test suite. | 28 // Contains a list of test names that run in multitasking test suite. |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 [NSInvocation invocationWithMethodSignature:methodSignature]; | 298 [NSInvocation invocationWithMethodSignature:methodSignature]; |
| 299 invocation.selector = selector; | 299 invocation.selector = selector; |
| 300 [multitaskingTestNames addObject:invocation]; | 300 [multitaskingTestNames addObject:invocation]; |
| 301 } | 301 } |
| 302 } | 302 } |
| 303 free(methods); | 303 free(methods); |
| 304 return multitaskingTestNames; | 304 return multitaskingTestNames; |
| 305 } | 305 } |
| 306 | 306 |
| 307 @end | 307 @end |
| OLD | NEW |