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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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) 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 import "package:expect/expect.dart";
6 import "dart:isolate"; 5 import "dart:isolate";
7 import "dart:async"; 6 import "dart:async";
8 import "dart:utf"; 7 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/status_file_parser.dart"; 10 import "../../../tools/testing/dart/status_file_parser.dart";
12 import "../../../tools/testing/dart/test_options.dart"; 11 import "../../../tools/testing/dart/test_options.dart";
13 import "process_test_util.dart"; 12 import "process_test_util.dart";
14 13
15 final DEFAULT_TIMEOUT = 2; 14 final DEFAULT_TIMEOUT = 2;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 break; 114 break;
116 case 'timeout': 115 case 'timeout':
117 // Run for 10 seconds, then exit. This tests a 2 second timeout. 116 // Run for 10 seconds, then exit. This tests a 2 second timeout.
118 new Timer(new Duration(seconds: 10), (){ }); 117 new Timer(new Duration(seconds: 10), (){ });
119 break; 118 break;
120 default: 119 default:
121 throw "Unknown option ${arguments[0]} passed to test_runner_test"; 120 throw "Unknown option ${arguments[0]} passed to test_runner_test";
122 } 121 }
123 } 122 }
124 } 123 }
OLDNEW
« no previous file with comments | « tests/standalone/io/test_runner_exit_code_test.dart ('k') | tests/standalone/io/url_encoding_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698