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

Side by Side Diff: tools/testing/dart/co19_test.dart

Issue 2827793002: Format all files under tools and utils directory. (Closed)
Patch Set: Format all files under tools and utils directory. Created 3 years, 8 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 | « tools/testing/dart/android.dart ('k') | tools/testing/dart/compiler_configuration.dart » ('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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Tool for running co19 tests. Used when updating co19. 6 * Tool for running co19 tests. Used when updating co19.
7 * 7 *
8 * Currently, this tool is merely a convenience around multiple 8 * Currently, this tool is merely a convenience around multiple
9 * invocations of test.dart. Long term, we hope to evolve this into a 9 * invocations of test.dart. Long term, we hope to evolve this into a
10 * script that can automate most of the tasks necessary when updating 10 * script that can automate most of the tasks necessary when updating
(...skipping 29 matching lines...) Expand all
40 '--use-sdk', 40 '--use-sdk',
41 '--minified' 41 '--minified'
42 ], 42 ],
43 const <String>[ 43 const <String>[
44 '-mrelease', 44 '-mrelease',
45 '-rd8,jsshell', 45 '-rd8,jsshell',
46 '-cdart2js', 46 '-cdart2js',
47 '--use-sdk', 47 '--use-sdk',
48 '--checked' 48 '--checked'
49 ], 49 ],
50 const <String>['-mrelease', '-rdartium', '-cnone', '--use-sdk', '--fast-startu p'], 50 const <String>[
51 '-mrelease',
52 '-rdartium',
53 '-cnone',
54 '--use-sdk',
55 '--fast-startup'
56 ],
51 const <String>['-mrelease', '-rdartium', '-cnone', '--use-sdk'], 57 const <String>['-mrelease', '-rdartium', '-cnone', '--use-sdk'],
52 ]; 58 ];
53 59
54 void main(List<String> args) { 60 void main(List<String> args) {
55 TestUtils.setDartDirUri(Platform.script.resolve('../../..')); 61 TestUtils.setDartDirUri(Platform.script.resolve('../../..'));
56 var optionsParser = new TestOptionsParser(); 62 var optionsParser = new TestOptionsParser();
57 List<Map> configurations = <Map>[]; 63 List<Map> configurations = <Map>[];
58 for (var commandLine in COMMAND_LINES) { 64 for (var commandLine in COMMAND_LINES) {
59 List arguments = <String>[]; 65 List arguments = <String>[];
60 arguments.addAll(COMMON_ARGUMENTS); 66 arguments.addAll(COMMON_ARGUMENTS);
61 arguments.addAll(args); 67 arguments.addAll(args);
62 arguments.addAll(commandLine); 68 arguments.addAll(commandLine);
63 configurations.addAll(optionsParser.parse(arguments)); 69 configurations.addAll(optionsParser.parse(arguments));
64 } 70 }
65 71
66 if (configurations != null || configurations.length > 0) { 72 if (configurations != null || configurations.length > 0) {
67 testConfigurations(configurations); 73 testConfigurations(configurations);
68 } 74 }
69 } 75 }
OLDNEW
« no previous file with comments | « tools/testing/dart/android.dart ('k') | tools/testing/dart/compiler_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698