@@ -61,6 +61,7 @@ import 'package:path/path.dart' as path;
61
61
import 'run_command.dart' ;
62
62
import 'suite_runners/run_add_to_app_life_cycle_tests.dart' ;
63
63
import 'suite_runners/run_analyze_tests.dart' ;
64
+ import 'suite_runners/run_android_preview_integration_tool_tests.dart' ;
64
65
import 'suite_runners/run_customer_testing_tests.dart' ;
65
66
import 'suite_runners/run_docs_tests.dart' ;
66
67
import 'suite_runners/run_flutter_packages_tests.dart' ;
@@ -145,7 +146,7 @@ Future<void> main(List<String> args) async {
145
146
'tool_tests' : _runToolTests,
146
147
'web_tool_tests' : _runWebToolTests,
147
148
'tool_integration_tests' : _runIntegrationToolTests,
148
- 'android_preview_tool_integration_tests' : _runAndroidPreviewIntegrationToolTests ,
149
+ 'android_preview_tool_integration_tests' : androidPreviewIntegrationToolTestsRunner ,
149
150
'tool_host_cross_arch_tests' : _runToolHostCrossArchTests,
150
151
// All the unit/widget tests run using `flutter test --platform=chrome --web-renderer=html`
151
152
'web_tests' : webTestsSuite.runWebHtmlUnitTests,
@@ -388,20 +389,6 @@ Future<void> _runIntegrationToolTests() async {
388
389
);
389
390
}
390
391
391
- Future <void > _runAndroidPreviewIntegrationToolTests () async {
392
- final List <String > allTests = Directory (path.join (_toolsPath, 'test' , 'android_preview_integration.shard' ))
393
- .listSync (recursive: true ).whereType <File >()
394
- .map <String >((FileSystemEntity entry) => path.relative (entry.path, from: _toolsPath))
395
- .where ((String testPath) => path.basename (testPath).endsWith ('_test.dart' )).toList ();
396
-
397
- await runDartTest (
398
- _toolsPath,
399
- forceSingleCore: true ,
400
- testPaths: selectIndexOfTotalSubshard <String >(allTests),
401
- collectMetrics: true ,
402
- );
403
- }
404
-
405
392
Future <void > _runToolTests () async {
406
393
await selectSubshard (< String , ShardRunner > {
407
394
'general' : _runGeneralToolTests,
0 commit comments