Index: lib/unittest/test_case.dart |
diff --git a/lib/unittest/test_case.dart b/lib/unittest/test_case.dart |
index 02aea4399361a1ce232dcf2a41d4e082e7fcf3e4..ebd6c562153277861ce5f7003d3f0cd8c1cf17d5 100644 |
--- a/lib/unittest/test_case.dart |
+++ b/lib/unittest/test_case.dart |
@@ -7,6 +7,7 @@ |
* and assumes unittest defines the type [TestFunction]. |
*/ |
+ |
/** Summarizes information about a single test case. */ |
class TestCase { |
/** Identifier for this test. */ |
@@ -32,11 +33,15 @@ class TestCase { |
/** Stack trace associated with this test, or null if it succeeded. */ |
String stackTrace; |
+ /** The group (or groups) under which this test is running. */ |
+ final String currentGroup; |
+ |
Date startTime; |
Duration runningTime; |
- TestCase(this.id, this.description, this.test, this.callbacks); |
+ TestCase(this.id, this.description, this.test, this.callbacks) |
+ : currentGroup = _currentGroup; |
bool get isComplete() => result != null; |
@@ -56,5 +61,3 @@ class TestCase { |
this.stackTrace = stackTrace; |
} |
} |
- |
- |