OLD | NEW |
1 library dromaeo; | 1 library dromaeo; |
2 import 'dart:html'; | 2 import 'dart:html'; |
3 import 'dart:json'; | 3 import 'dart:json' as json; |
4 import 'dart:math' as Math; | 4 import 'dart:math' as Math; |
5 part 'Common.dart'; | 5 part 'Common.dart'; |
6 part 'RunnerSuite.dart'; | 6 part 'RunnerSuite.dart'; |
7 | 7 |
8 void main() { | 8 void main() { |
9 final int num = 10240; | 9 final int num = 10240; |
10 | 10 |
11 // Try to force real results. | 11 // Try to force real results. |
12 var ret; | 12 var ret; |
13 | 13 |
(...skipping 12 matching lines...) Expand all Loading... |
26 .test('setAttribute', () { | 26 .test('setAttribute', () { |
27 for (int i = 0; i < num; i++) | 27 for (int i = 0; i < num; i++) |
28 a.$dom_setAttribute('id', 'foo'); | 28 a.$dom_setAttribute('id', 'foo'); |
29 }) | 29 }) |
30 .test('element.property = value', () { | 30 .test('element.property = value', () { |
31 for (int i = 0; i < num; i++) | 31 for (int i = 0; i < num; i++) |
32 a.id = 'foo'; | 32 a.id = 'foo'; |
33 }) | 33 }) |
34 .end(); | 34 .end(); |
35 } | 35 } |
OLD | NEW |