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

Side by Side Diff: tests/standalone/io/test_runner_test.dart

Issue 841193003: cleanup to tools/testing/dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: one last bit Created 5 years, 11 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 | Annotate | Revision Log
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 import "dart:isolate";
7 import "dart:async"; 6 import "dart:async";
7
8 import "../../../tools/testing/dart/test_runner.dart"; 8 import "../../../tools/testing/dart/test_runner.dart";
9 import "../../../tools/testing/dart/test_suite.dart"; 9 import "../../../tools/testing/dart/test_suite.dart";
10 import "../../../tools/testing/dart/test_progress.dart" as progress; 10 import '../../../tools/testing/dart/lib/command.dart';
11 import "../../../tools/testing/dart/status_file_parser.dart"; 11 import "../../../tools/testing/dart/lib/test_case.dart";
12 import "../../../tools/testing/dart/lib/test_progress.dart" as progress;
13 import "../../../tools/testing/dart/lib/status_file_parser.dart";
12 import "../../../tools/testing/dart/test_options.dart"; 14 import "../../../tools/testing/dart/test_options.dart";
13 import "process_test_util.dart"; 15 import "process_test_util.dart";
14 16
15 final DEFAULT_TIMEOUT = 10; 17 final DEFAULT_TIMEOUT = 10;
16 final LONG_TIMEOUT = 30; 18 final LONG_TIMEOUT = 30;
17 19
18 class TestController { 20 class TestController {
19 static int numTests = 0; 21 static int numTests = 0;
20 static int numCompletedTests = 0; 22 static int numCompletedTests = 0;
21 23
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 break; 145 break;
144 case 'timeout': 146 case 'timeout':
145 // This process should be killed by the test after DEFAULT_TIMEOUT 147 // This process should be killed by the test after DEFAULT_TIMEOUT
146 new Timer(new Duration(hours: 42), (){ }); 148 new Timer(new Duration(hours: 42), (){ });
147 break; 149 break;
148 default: 150 default:
149 throw "Unknown option ${arguments[0]} passed to test_runner_test"; 151 throw "Unknown option ${arguments[0]} passed to test_runner_test";
150 } 152 }
151 } 153 }
152 } 154 }
OLDNEW
« no previous file with comments | « tests/standalone/io/test_harness_analyzer_test.dart ('k') | tests/standalone/status_expression_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698