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

Unified Diff: lib/unittest/description.dart

Issue 10579008: Added test setup/teardown. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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/description.dart
===================================================================
--- lib/unittest/description.dart (revision 8828)
+++ lib/unittest/description.dart (working copy)
@@ -8,9 +8,16 @@
*/
class StringDescription implements Description {
- var _out = '';
+ var _out;
/**
+ * Initialize the description with initial contents [init].
+ */
+ StringDescription([String init = '']) {
+ _out = init;
+ }
+
+ /**
* Get the description as a string.
*/
String toString() => _out;

Powered by Google App Engine
This is Rietveld 408576698