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

Unified Diff: client/tests/client/layout/GridLayoutDemo.dart

Issue 8337004: Move layout tests to new API. (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 | client/tests/client/layout/GridLayoutTests.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/layout/GridLayoutDemo.dart
diff --git a/client/tests/client/layout/GridLayoutDemo.dart b/client/tests/client/layout/GridLayoutDemo.dart
index dfc85252324f5f2acd59d8e19dae62525d4e9815..8306b06c8511c356a1f89f0ed5b3b29976b5060a 100644
--- a/client/tests/client/layout/GridLayoutDemo.dart
+++ b/client/tests/client/layout/GridLayoutDemo.dart
@@ -104,14 +104,14 @@ void printMetrics(String example) {
final node = document.body.query('#grid');
String exampleId = example.split(' ')[0];
final sb = new StringBuffer();
- sb.add('void testSpecExample${exampleId}() {\n');
+ sb.add("test('Spec Example $exampleId', () {\n");
Siggi Cherem (dart-lang) 2011/10/18 01:29:56 just to understand this code better - this is just
Bob Nystrom 2011/10/18 17:14:19 Yeah, I believe so. I can check with John to make
sb.add(" verifyExample('$example', {\n");
final elems = new List.from(node.elements);
for (Element child in node.elements) {
_appendMetrics(sb, child, ' ');
}
sb.add(' });\n');
- sb.add('}\n\n');
+ sb.add('});\n\n');
window.console.log(sb.toString());
}
« no previous file with comments | « no previous file | client/tests/client/layout/GridLayoutTests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698