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

Unified Diff: client/testing/unittest/unittestsuite.dart

Issue 8337020: Add a support for layout tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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
« 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: client/testing/unittest/unittestsuite.dart
diff --git a/client/testing/unittest/unittestsuite.dart b/client/testing/unittest/unittestsuite.dart
index a12972e44561780ce0eae718b70c788fc383adb3..a1057c818fcb786a3df6b264db53cd4d3d512d57 100644
--- a/client/testing/unittest/unittestsuite.dart
+++ b/client/testing/unittest/unittestsuite.dart
@@ -331,6 +331,11 @@ void callbackDone() {
_currentSuite.callbackDone();
}
+void forLayoutTests() {
+ _ensureActiveSuite();
+ _currentSuite._isLayoutTest = true;
+}
+
String _fullSpec(String spec) {
if (spec === null) return '$_currentGroup';
return _currentGroup != '' ? '$_currentGroup $spec' : spec;
« 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