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

Side by Side Diff: samples/third_party/dromaeo/tests/dom-traverse-html.dart

Issue 12086028: Fix up dromaeo after lib v2 merge and add Dromaeo smoketest to prevent future (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dromaeo; 1 library dromaeo;
2 import 'dart:html'; 2 import 'dart:html';
3 import 'dart:json' as json;
3 import '../common/common.dart'; 4 import '../common/common.dart';
4 import 'dart:math' as Math; 5 import 'dart:math' as Math;
5 import 'dart:json' as json; 6 import 'dart:json' as json;
6 part 'Common.dart'; 7 part 'Common.dart';
7 part 'RunnerSuite.dart'; 8 part 'RunnerSuite.dart';
8 9
9 10
10 void main() { 11 void main() {
11 final int num = 40; 12 final int num = 40;
12 13
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 .test('childNodes', () { 82 .test('childNodes', () {
82 for (int i = 0; i < num; i++) { 83 for (int i = 0; i < num; i++) {
83 final nodes = document.body.$dom_childNodes; 84 final nodes = document.body.$dom_childNodes;
84 for (int j = 0; j < nodes.length; j++) { 85 for (int j = 0; j < nodes.length; j++) {
85 ret = nodes[j]; 86 ret = nodes[j];
86 } 87 }
87 } 88 }
88 }) 89 })
89 .end(); 90 .end();
90 } 91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698