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/KeyNameLocationTest.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/IsolatesTest.dart ('k') | client/tests/client/dom/MessageEventTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/KeyNameLocationTest.dart
diff --git a/client/tests/client/dom/KeyNameLocationTest.dart b/client/tests/client/dom/KeyNameLocationTest.dart
deleted file mode 100644
index b92e40acc6a921e9f22ad93758809b476c044dc5..0000000000000000000000000000000000000000
--- a/client/tests/client/dom/KeyNameLocationTest.dart
+++ /dev/null
@@ -1,31 +0,0 @@
-#library('KeyNameLocationTest');
-#import('../../../../lib/unittest/unittest.dart');
-#import('../../../../lib/unittest/dom_config.dart');
-#import('dart:dom');
-
-// Test for existence of some KeyName and KeyLocation constants.
-
-main() {
-
- useDomConfiguration();
-
- test('keyNames', () {
- Expect.equals("DownLeft", KeyName.DOWN_LEFT);
- Expect.equals("Fn", KeyName.FN);
- Expect.equals("F1", KeyName.F1);
- Expect.equals("Meta", KeyName.META);
- Expect.equals("MediaNextTrack", KeyName.MEDIA_NEXT_TRACK);
- Expect.equals("NumLock", KeyName.NUM_LOCK);
- Expect.equals("PageDown", KeyName.PAGE_DOWN);
- Expect.equals("DeadIota", KeyName.DEAD_IOTA);
- });
-
- test('keyLocations', () {
- Expect.equals(0, KeyLocation.STANDARD);
- Expect.equals(1, KeyLocation.LEFT);
- Expect.equals(2, KeyLocation.RIGHT);
- Expect.equals(3, KeyLocation.NUMPAD);
- Expect.equals(4, KeyLocation.MOBILE);
- Expect.equals(5, KeyLocation.JOYSTICK);
- });
-}
« no previous file with comments | « client/tests/client/dom/IsolatesTest.dart ('k') | client/tests/client/dom/MessageEventTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698