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

Unified Diff: client/tests/client/dom/IsolateLightTest.dart

Issue 9977009: Remove IsolateLightTest and the corresponding suppression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
« no previous file with comments | « client/tests/client/client.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/IsolateLightTest.dart
diff --git a/client/tests/client/dom/IsolateLightTest.dart b/client/tests/client/dom/IsolateLightTest.dart
deleted file mode 100644
index bade2f8dcff3a82b29a30dc5f9544b40ce42ba8b..0000000000000000000000000000000000000000
--- a/client/tests/client/dom/IsolateLightTest.dart
+++ /dev/null
@@ -1,39 +0,0 @@
-#library('IsolateLightTest');
-#import('../../../../lib/unittest/unittest_dom.dart');
-#import('dart:dom');
-#import('dart:json');
-#import('dart:isolate');
-
-var _isolateId;
-
-class TestIsolate extends Isolate {
- TestIsolate() : super.light();
-
- void main() {
- _isolateId = 1;
- final div = document.getElementById('testid');
-
- // These events fire in the main isolate. Note, dispatchEvent is
- // handled synchronously.
- Event event = document.createEvent('Event');
- event.initEvent('test', true, false);
- div.dispatchEvent(event);
-
- Expect.equals(1, _isolateId);
- event = document.createEvent('Event');
- event.initEvent('done', true, false);
- div.dispatchEvent(event);
- }
-}
-
-main() {
- _isolateId = 0;
- asyncTest('IsolatedStatic', 1, () {
- final div = document.createElement('div');
- div.id = 'testid';
- document.body.appendChild(div);
- div.addEventListener('test', (e) => Expect.equals(0, _isolateId), false);
- div.addEventListener('done', (e) => callbackDone(), false);
- new TestIsolate().spawn();
- });
-}
« no previous file with comments | « client/tests/client/client.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698