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

Unified Diff: test/runner/runner_test.dart

Issue 1604043003: Add support for a timeout flag. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/frontend/timeout_test.dart ('k') | test/runner/timeout_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/runner_test.dart
diff --git a/test/runner/runner_test.dart b/test/runner/runner_test.dart
index 6bacd10a7c90a39d680b8cf008eab297e7cd611d..8a69547cb25321cdd2c3b2616dabf1a0bed0b8d1 100644
--- a/test/runner/runner_test.dart
+++ b/test/runner/runner_test.dart
@@ -344,27 +344,6 @@ $_usage""");
test.shouldExit(1);
});
- test("respects top-level @Timeout declarations", () {
- d.file("test.dart", '''
-@Timeout(const Duration(seconds: 0))
-
-import 'dart:async';
-
-import 'package:test/test.dart';
-
-void main() {
- test("timeout", () {});
-}
-''').create();
-
- var test = runTest(["test.dart"]);
- test.stdout.expect(containsInOrder([
- "Test timed out after 0 seconds.",
- "-1: Some tests failed."
- ]));
- test.shouldExit(1);
- });
-
test("respects top-level @Skip declarations", () {
d.file("test.dart", '''
@Skip()
« no previous file with comments | « test/frontend/timeout_test.dart ('k') | test/runner/timeout_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698