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

Side by Side Diff: samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month 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("dom_query_html"); 1 library dom_query_html;
2 #import("dart:html"); 2 import 'dart:html';
3 #import('../common/common.dart'); 3 import '../common/common.dart';
4 #import("dart:math", prefix: "Math"); 4 import 'dart:math' as Math;
5 #source("Common.dart"); 5 part 'Common.dart';
6 #source("RunnerSuite.dart"); 6 part 'RunnerSuite.dart';
7 7
8 void main() { 8 void main() {
9 final int num = 40; 9 final int num = 40;
10 10
11 // Try to force real results. 11 // Try to force real results.
12 var ret; 12 var ret;
13 13
14 String html = document.body.innerHTML; 14 String html = document.body.innerHTML;
15 15
16 new Suite(window, 'dom-query') 16 new Suite(window, 'dom-query')
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 for (int i = 0; i < num * 20; i++) { 95 for (int i = 0; i < num * 20; i++) {
96 ret = document.queryAll('[name="test"]').length == 0; 96 ret = document.queryAll('[name="test"]').length == 0;
97 ret = document.queryAll('[name="test"]').length == 0; 97 ret = document.queryAll('[name="test"]').length == 0;
98 ret = document.queryAll('[name="test"]').length == 0; 98 ret = document.queryAll('[name="test"]').length == 0;
99 ret = document.queryAll('[name="test"]').length == 0; 99 ret = document.queryAll('[name="test"]').length == 0;
100 ret = document.queryAll('[name="test"]').length == 0; 100 ret = document.queryAll('[name="test"]').length == 0;
101 } 101 }
102 }) 102 })
103 .end(); 103 .end();
104 } 104 }
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-query-html.dart ('k') | samples/third_party/dromaeo/tests/dom-traverse-html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698