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

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

Issue 10191033: test renaming overhaul: step 4 client tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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/dom/EventsTest.dart ('k') | client/tests/client/dom/HTMLAudioElementTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/ExceptionsTest.dart
diff --git a/client/tests/client/dom/ExceptionsTest.dart b/client/tests/client/dom/ExceptionsTest.dart
deleted file mode 100644
index 92a0b7332ee0ec9aaf7ad3e9ed2e92b49c61899c..0000000000000000000000000000000000000000
--- a/client/tests/client/dom/ExceptionsTest.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-#library('ExceptionsTest');
-#import('../../../../lib/unittest/unittest.dart');
-#import('../../../../lib/unittest/dom_config.dart');
-#import('dart:dom');
-
-main() {
- useDomConfiguration();
- test('DOMException', () {
- try {
- window.webkitNotifications.createNotification('', '', '');
- } catch (DOMException e) {
- Expect.equals(DOMException.SECURITY_ERR, e.code);
- Expect.equals('SECURITY_ERR', e.name);
- Expect.equals('SECURITY_ERR: DOM Exception 18', e.message);
- }
- });
- test('EventException', () {
- final event = window.document.createEvent('Event');
- // Intentionally do not initialize it!
- try {
- window.document.dispatchEvent(event);
- } catch (EventException e) {
- Expect.equals(EventException.UNSPECIFIED_EVENT_TYPE_ERR, e.code);
- Expect.equals('UNSPECIFIED_EVENT_TYPE_ERR', e.name);
- Expect.equals('UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0', e.message);
- }
- });
-}
« no previous file with comments | « client/tests/client/dom/EventsTest.dart ('k') | client/tests/client/dom/HTMLAudioElementTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698