Index: samples/third_party/dromaeo/tests/dom-attr-html.dart |
diff --git a/samples/third_party/dromaeo/tests/dom-attr-html.dart b/samples/third_party/dromaeo/tests/dom-attr-html.dart |
deleted file mode 100644 |
index f1b103112a9d423cfab43eb5767a8713e23313bf..0000000000000000000000000000000000000000 |
--- a/samples/third_party/dromaeo/tests/dom-attr-html.dart |
+++ /dev/null |
@@ -1,36 +0,0 @@ |
-library dromaeo; |
-import 'dart:async'; |
-import 'dart:html'; |
-import "dart:convert"; |
-import 'dart:math' as Math; |
-part 'Common.dart'; |
-part 'RunnerSuite.dart'; |
- |
-void main() { |
- final int num = 10240; |
- |
- // Try to force real results. |
- var ret; |
- |
- Element elem = document.querySelector('#test1'); |
- Element a = document.querySelector('a'); |
- |
- new Suite(window, 'dom-attr') |
- .test('getAttribute', () { |
- for (int i = 0; i < num; i++) |
- ret = elem.getAttribute('id'); |
- }) |
- .test('element.property', () { |
- for (int i = 0; i < num * 2; i++) |
- ret = elem.id; |
- }) |
- .test('setAttribute', () { |
- for (int i = 0; i < num; i++) |
- a.setAttribute('id', 'foo'); |
- }) |
- .test('element.property = value', () { |
- for (int i = 0; i < num; i++) |
- a.id = 'foo'; |
- }) |
- .end(); |
-} |