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

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

Issue 22909059: Some more removals of dart:utf. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change ArgumentError to FormatException. Created 7 years, 3 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"; 6 import "dart:isolate";
7 import "dart:async"; 7 import "dart:async";
8 import "dart:utf";
9 import "../../../tools/testing/dart/test_runner.dart"; 8 import "../../../tools/testing/dart/test_runner.dart";
10 import "../../../tools/testing/dart/test_suite.dart"; 9 import "../../../tools/testing/dart/test_suite.dart";
11 import "../../../tools/testing/dart/test_progress.dart" as progress; 10 import "../../../tools/testing/dart/test_progress.dart" as progress;
12 import "../../../tools/testing/dart/status_file_parser.dart"; 11 import "../../../tools/testing/dart/status_file_parser.dart";
13 import "../../../tools/testing/dart/test_options.dart"; 12 import "../../../tools/testing/dart/test_options.dart";
14 import "process_test_util.dart"; 13 import "process_test_util.dart";
15 14
16 final DEFAULT_TIMEOUT = 2; 15 final DEFAULT_TIMEOUT = 2;
17 final LONG_TIMEOUT = 30; 16 final LONG_TIMEOUT = 30;
18 17
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 break; 129 break;
131 case 'timeout': 130 case 'timeout':
132 // Run for 10 seconds, then exit. This tests a 2 second timeout. 131 // Run for 10 seconds, then exit. This tests a 2 second timeout.
133 new Timer(new Duration(seconds: 10), (){ }); 132 new Timer(new Duration(seconds: 10), (){ });
134 break; 133 break;
135 default: 134 default:
136 throw "Unknown option ${arguments[0]} passed to test_runner_test"; 135 throw "Unknown option ${arguments[0]} passed to test_runner_test";
137 } 136 }
138 } 137 }
139 } 138 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698