Index: dart/pkg/unittest/lib/src/simple_configuration.dart |
diff --git a/dart/pkg/unittest/lib/src/simple_configuration.dart b/dart/pkg/unittest/lib/src/simple_configuration.dart |
index b9d3a02bf87ee8dd5e6fbac0c09963bc9239d59c..a7a997be8752537a0206bbd14fbea721d81afbc4 100644 |
--- a/dart/pkg/unittest/lib/src/simple_configuration.dart |
+++ b/dart/pkg/unittest/lib/src/simple_configuration.dart |
@@ -52,6 +52,9 @@ class SimpleConfiguration implements Configuration { |
// we do with this List. |
final _testLogBuffer = <Pair<String, Trace>>[]; |
+ /// How long a [TestCase] can run before it is considered an error. |
+ Duration timeout = const Duration(seconds: 20); |
+ |
/** |
* The constructor sets up a failure handler for [expect] that redirects |
* [expect] failures to [onExpectFailure]. |