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

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

Issue 2915843003: Simplify test_suite.dart. (Closed)
Patch Set: Fix path in test. Created 3 years, 6 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/main.dart ('k') | tools/testing/dart/package_testing_support.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import 'dart:io'; 5 import 'dart:io';
6 6
7 import 'configuration.dart'; 7 import 'configuration.dart';
8 import 'drt_updater.dart'; 8 import 'drt_updater.dart';
9 import 'path.dart'; 9 import 'path.dart';
10 import 'test_suite.dart'; 10 import 'utils.dart';
11 11
12 const _defaultTestSelectors = const [ 12 const _defaultTestSelectors = const [
13 'samples', 13 'samples',
14 'standalone', 14 'standalone',
15 'corelib', 15 'corelib',
16 'co19', 16 'co19',
17 'language', 17 'language',
18 'isolate', 18 'isolate',
19 'vm', 19 'vm',
20 'html', 20 'html',
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 if (name == option.name) return option; 764 if (name == option.name) return option;
765 765
766 // Allow hyphens instead of underscores as the separator since they are 766 // Allow hyphens instead of underscores as the separator since they are
767 // more common for command line flags. 767 // more common for command line flags.
768 if (name == option.name.replaceAll("_", "-")) return option; 768 if (name == option.name.replaceAll("_", "-")) return option;
769 } 769 }
770 770
771 return null; 771 return null;
772 } 772 }
773 } 773 }
OLDNEW
« no previous file with comments | « tools/testing/dart/main.dart ('k') | tools/testing/dart/package_testing_support.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698