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

Side by Side Diff: tests/html/key_name_location_test.dart

Issue 26332002: Removed KeyName test since KeyName has gone away. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 library KeyNameLocationTest;
2 import '../../pkg/unittest/lib/unittest.dart';
3 import '../../pkg/unittest/lib/html_config.dart';
4 import 'dart:html';
5
6 // Test for existence of some KeyName and KeyLocation constants.
7
8 main() {
9
10 useHtmlConfiguration();
11
12 test('keyNames', () {
13 expect(KeyName.DOWN_LEFT, "DownLeft");
14 expect(KeyName.FN, "Fn");
15 expect(KeyName.F1, "F1");
16 expect(KeyName.META, "Meta");
17 expect(KeyName.MEDIA_NEXT_TRACK, "MediaNextTrack");
18 expect(KeyName.NUM_LOCK, "NumLock");
19 expect(KeyName.PAGE_DOWN, "PageDown");
20 expect(KeyName.DEAD_IOTA, "DeadIota");
21 });
22
23 test('keyLocations', () {
24 expect(KeyLocation.STANDARD, 0);
25 expect(KeyLocation.LEFT, 1);
26 expect(KeyLocation.RIGHT, 2);
27 expect(KeyLocation.NUMPAD, 3);
28 expect(KeyLocation.MOBILE, 4);
29 expect(KeyLocation.JOYSTICK, 5);
30 });
31 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698