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

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

Issue 2984203002: Move the status file parser into its own package. (Closed)
Patch Set: Created 3 years, 4 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/test_runner.dart ('k') | no next file » | 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 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
11 * and creating [TestCase]s for those files that meet the relevant criteria. 11 * and creating [TestCase]s for those files that meet the relevant criteria.
12 * - Preparing tests, including copying files and frameworks to temporary 12 * - Preparing tests, including copying files and frameworks to temporary
13 * directories, and computing the command line and arguments to be run. 13 * directories, and computing the command line and arguments to be run.
14 */ 14 */
15 import 'dart:async'; 15 import 'dart:async';
16 import 'dart:io'; 16 import 'dart:io';
17 17
18 import "package:status_file/expectation.dart";
19
18 import 'browser_test.dart'; 20 import 'browser_test.dart';
19 import 'command.dart'; 21 import 'command.dart';
20 import 'compiler_configuration.dart'; 22 import 'compiler_configuration.dart';
21 import 'configuration.dart'; 23 import 'configuration.dart';
22 import 'expectation.dart';
23 import 'expectation_set.dart'; 24 import 'expectation_set.dart';
24 import 'html_test.dart' as html_test; 25 import 'html_test.dart' as html_test;
25 import 'http_server.dart'; 26 import 'http_server.dart';
26 import 'multitest.dart'; 27 import 'multitest.dart';
27 import 'path.dart'; 28 import 'path.dart';
28 import 'runtime_updater.dart'; 29 import 'runtime_updater.dart';
29 import 'summary_report.dart'; 30 import 'summary_report.dart';
30 import 'test_configurations.dart'; 31 import 'test_configurations.dart';
31 import 'test_runner.dart'; 32 import 'test_runner.dart';
32 import 'utils.dart'; 33 import 'utils.dart';
(...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 1694
1694 bool isTestFile(String filename) { 1695 bool isTestFile(String filename) {
1695 // NOTE: We exclude tests and patch files for now. 1696 // NOTE: We exclude tests and patch files for now.
1696 return filename.endsWith(".dart") && 1697 return filename.endsWith(".dart") &&
1697 !filename.endsWith("_test.dart") && 1698 !filename.endsWith("_test.dart") &&
1698 !filename.contains("_internal/js_runtime/lib"); 1699 !filename.contains("_internal/js_runtime/lib");
1699 } 1700 }
1700 1701
1701 bool get listRecursively => true; 1702 bool get listRecursively => true;
1702 } 1703 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698