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

Side by Side Diff: LayoutTests/dart/dom/KeyNameLocation.dart

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/dart/dom/Isolates-expected.txt ('k') | LayoutTests/dart/dom/KeyNameLocation.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #import('../../../../../dart/client/testing/unittest/unittest.dart');
2 #import('dart:dom');
3
4 // Test for existence of some KeyName and KeyLocation constants.
5
6 main() {
7
8 forLayoutTests();
9
10 test('keyNames', () {
11 Expect.equals("DownLeft", KeyName.DOWN_LEFT);
12 Expect.equals("Fn", KeyName.FN);
13 Expect.equals("F1", KeyName.F1);
14 Expect.equals("Meta", KeyName.META);
15 Expect.equals("MediaNextTrack", KeyName.MEDIA_NEXT_TRACK);
16 Expect.equals("NumLock", KeyName.NUM_LOCK);
17 Expect.equals("PageDown", KeyName.PAGE_DOWN);
18 Expect.equals("DeadIota", KeyName.DEAD_IOTA);
19 });
20
21 test('keyLocations', () {
22 Expect.equals(0, KeyLocation.STANDARD);
23 Expect.equals(1, KeyLocation.LEFT);
24 Expect.equals(2, KeyLocation.RIGHT);
25 Expect.equals(3, KeyLocation.NUMPAD);
26 Expect.equals(4, KeyLocation.MOBILE);
27 Expect.equals(5, KeyLocation.JOYSTICK);
28 });
29 }
OLDNEW
« no previous file with comments | « LayoutTests/dart/dom/Isolates-expected.txt ('k') | LayoutTests/dart/dom/KeyNameLocation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698