OLD | NEW |
1 library dromaeo; | 1 library dromaeo; |
2 import 'dart:async'; | 2 import 'dart:async'; |
3 import 'dart:html'; | 3 import 'dart:html'; |
4 import "dart:convert"; | 4 import "dart:convert"; |
5 import 'dart:math' as Math; | 5 import 'dart:math' as Math; |
6 part 'Common.dart'; | 6 part 'Common.dart'; |
7 part 'RunnerSuite.dart'; | 7 part 'RunnerSuite.dart'; |
8 | 8 |
9 void main() { | 9 void main() { |
10 final int num = 10240; | 10 final int num = 10240; |
(...skipping 16 matching lines...) Expand all Loading... |
27 .test('setAttribute', () { | 27 .test('setAttribute', () { |
28 for (int i = 0; i < num; i++) | 28 for (int i = 0; i < num; i++) |
29 a.setAttribute('id', 'foo'); | 29 a.setAttribute('id', 'foo'); |
30 }) | 30 }) |
31 .test('element.property = value', () { | 31 .test('element.property = value', () { |
32 for (int i = 0; i < num; i++) | 32 for (int i = 0; i < num; i++) |
33 a.id = 'foo'; | 33 a.id = 'foo'; |
34 }) | 34 }) |
35 .end(); | 35 .end(); |
36 } | 36 } |
OLD | NEW |