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

Unified Diff: lib/unittest/test_case.dart

Issue 10168022: Enhanced HTML test look & feel, thanks to John Evans (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: newline Created 8 years, 8 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
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;
}
}
-
-
« lib/unittest/html_enhanced_config.dart ('K') | « lib/unittest/html_enhanced_config.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698