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

Unified Diff: samples/third_party/dromaeo/tests/dom-attr-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, 11 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 side-by-side diff with in-line comments
Download patch
Index: samples/third_party/dromaeo/tests/dom-attr-htmlidiomatic.dart
diff --git a/samples/third_party/dromaeo/tests/dom-attr-htmlidiomatic.dart b/samples/third_party/dromaeo/tests/dom-attr-htmlidiomatic.dart
deleted file mode 100644
index cf8dcfd068b862b4f2c2f97eed869115ca5e32be..0000000000000000000000000000000000000000
--- a/samples/third_party/dromaeo/tests/dom-attr-htmlidiomatic.dart
+++ /dev/null
@@ -1,35 +0,0 @@
-library dromaeo;
-import 'dart:html';
-import 'dart:json' as json;
-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.query('#test1');
- Element a = document.queryAll('a')[0];
-
- new Suite(window, 'dom-attr')
- .test('getAttribute', () {
- for (int i = 0; i < num; i++)
- ret = elem.attributes['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.attributes['id'] = 'foo';
- })
- .test('element.property = value', () {
- for (int i = 0; i < num; i++)
- a.id = 'foo';
- })
- .end();
-}
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-attr-html.html ('k') | samples/third_party/dromaeo/tests/dom-attr-htmlidiomatic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698