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

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

Issue 10178014: Copy lib/dom tests that use dart:html to lib/html. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 7 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 | « tests/html/isolates_test.dart ('k') | tests/html/messageevent_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('KeyNameLocationTest'); 1 #library('KeyNameLocationTest');
2 #import('../../lib/unittest/unittest.dart'); 2 #import('../../lib/unittest/unittest.dart');
3 #import('../../lib/unittest/html_config.dart'); 3 #import('../../lib/unittest/html_config.dart');
4 #import('dart:html'); 4 #import('dart:html');
5 5
6 // Test for existence of some KeyName and KeyLocation constants. 6 // Test for existence of some KeyName and KeyLocation constants.
7 7
8 main() { 8 main() {
9 9
10 useHtmlConfiguration(); 10 useHtmlConfiguration();
(...skipping 11 matching lines...) Expand all
22 22
23 test('keyLocations', () { 23 test('keyLocations', () {
24 Expect.equals(0, KeyLocation.STANDARD); 24 Expect.equals(0, KeyLocation.STANDARD);
25 Expect.equals(1, KeyLocation.LEFT); 25 Expect.equals(1, KeyLocation.LEFT);
26 Expect.equals(2, KeyLocation.RIGHT); 26 Expect.equals(2, KeyLocation.RIGHT);
27 Expect.equals(3, KeyLocation.NUMPAD); 27 Expect.equals(3, KeyLocation.NUMPAD);
28 Expect.equals(4, KeyLocation.MOBILE); 28 Expect.equals(4, KeyLocation.MOBILE);
29 Expect.equals(5, KeyLocation.JOYSTICK); 29 Expect.equals(5, KeyLocation.JOYSTICK);
30 }); 30 });
31 } 31 }
OLDNEW
« no previous file with comments | « tests/html/isolates_test.dart ('k') | tests/html/messageevent_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698