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

Unified Diff: pkg/unittest/lib/src/configuration.dart

Issue 108513013: Add a setter for timeout on Configuration (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/src/configuration.dart
diff --git a/pkg/unittest/lib/src/configuration.dart b/pkg/unittest/lib/src/configuration.dart
index 2a2ea0c9c2d50ab666aa25837b44b77a5f1b5fd5..5a6f21a2886d1f586885fb3505f0435ebc80b36f 100644
--- a/pkg/unittest/lib/src/configuration.dart
+++ b/pkg/unittest/lib/src/configuration.dart
@@ -31,6 +31,7 @@ abstract class Configuration {
/// How long a [TestCase] can run before it is considered an error.
/// A [timeout] value of [:null:] means that the limit is infinite.
Duration get timeout => const Duration(minutes: 2);
+ void set timeout(Duration newTimeout) {}
Bob Nystrom 2013/12/11 21:54:19 Ditch the void. Also, should the setter actually
/**
* Called as soon as the unittest framework becomes initialized. This is done
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698