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

Side by Side Diff: samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.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 part 'Common.dart'; 6 part 'Common.dart';
6 part 'RunnerSuite.dart'; 7 part 'RunnerSuite.dart';
7 8
8 void main() { 9 void main() {
9 final int num = 40; 10 final int num = 40;
10 11
11 // Try to force real results. 12 // Try to force real results.
12 var ret; 13 var ret;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 .test('childNodes', () { 80 .test('childNodes', () {
80 for (int i = 0; i < num; i++) { 81 for (int i = 0; i < num; i++) {
81 final nodes = document.body.nodes; 82 final nodes = document.body.nodes;
82 for (int j = 0; j < nodes.length; j++) { 83 for (int j = 0; j < nodes.length; j++) {
83 ret = nodes[j]; 84 ret = nodes[j];
84 } 85 }
85 } 86 }
86 }) 87 })
87 .end(); 88 .end();
88 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698