Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
| 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
| 4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 // TODO(ager): Get rid of this version of test.dart when we don't have | 6 // TODO(ager): Get rid of this version of test.dart when we don't have |
| 7 // to worry about the special runtime checkout anymore. | 7 // to worry about the special runtime checkout anymore. |
| 8 // This file is identical to test.dart with test suites in the | 8 // This file is identical to test.dart with test suites in the |
| 9 // directories samples, client, compiler, and utils removed. | 9 // directories samples, client, compiler, and utils removed. |
| 10 | 10 |
| 11 #library("test"); | 11 #library("test"); |
| 12 | 12 |
| 13 #import("dart:io"); | 13 #import("dart:io"); |
| 14 #import("testing/dart/test_runner.dart"); | 14 #import("testing/dart/test_runner.dart"); |
| 15 #import("testing/dart/test_options.dart"); | 15 #import("testing/dart/test_options.dart"); |
| 16 #import("testing/dart/test_suite.dart"); | 16 #import("testing/dart/test_suite.dart"); |
| 17 #import("testing/dart/http_server.dart"); | 17 #import("testing/dart/http_server.dart"); |
| 18 #import("testing/dart/utils.dart"); | 18 #import("testing/dart/utils.dart"); |
| 19 import "testing/dart/test_progress.dart"; | |
|
ricow1
2013/03/13 16:37:50
if anybody cares, the rest of these lines are alre
| |
| 19 | 20 |
| 20 #import("../tests/co19/test_config.dart"); | 21 #import("../tests/co19/test_config.dart"); |
| 21 #import("../runtime/tests/vm/test_config.dart"); | 22 #import("../runtime/tests/vm/test_config.dart"); |
| 22 | 23 |
| 23 /** | 24 /** |
| 24 * The directories that contain test suites which follow the conventions | 25 * The directories that contain test suites which follow the conventions |
| 25 * required by [StandardTestSuite]'s forDirectory constructor. | 26 * required by [StandardTestSuite]'s forDirectory constructor. |
| 26 * New test suites should follow this convention because it makes it much | 27 * New test suites should follow this convention because it makes it much |
| 27 * simpler to add them to test.dart. Existing test suites should be | 28 * simpler to add them to test.dart. Existing test suites should be |
| 28 * moved to here, if possible. | 29 * moved to here, if possible. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 133 new ProcessQueue( | 134 new ProcessQueue( |
| 134 maxProcesses, | 135 maxProcesses, |
| 135 maxBrowserProcesses, | 136 maxBrowserProcesses, |
| 136 startTime, | 137 startTime, |
| 137 testSuites, | 138 testSuites, |
| 138 eventListener, | 139 eventListener, |
| 139 allTestsFinished, | 140 allTestsFinished, |
| 140 verbose, | 141 verbose, |
| 141 listTests); | 142 listTests); |
| 142 } | 143 } |
| OLD | NEW |