| Index: tests/html/key_name_location_test.dart
|
| ===================================================================
|
| --- tests/html/key_name_location_test.dart (revision 14156)
|
| +++ tests/html/key_name_location_test.dart (working copy)
|
| @@ -10,22 +10,22 @@
|
| useHtmlConfiguration();
|
|
|
| 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);
|
| + expect(KeyName.DOWN_LEFT, "DownLeft");
|
| + expect(KeyName.FN, "Fn");
|
| + expect(KeyName.F1, "F1");
|
| + expect(KeyName.META, "Meta");
|
| + expect(KeyName.MEDIA_NEXT_TRACK, "MediaNextTrack");
|
| + expect(KeyName.NUM_LOCK, "NumLock");
|
| + expect(KeyName.PAGE_DOWN, "PageDown");
|
| + expect(KeyName.DEAD_IOTA, "DeadIota");
|
| });
|
|
|
| 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);
|
| + expect(KeyLocation.STANDARD, 0);
|
| + expect(KeyLocation.LEFT, 1);
|
| + expect(KeyLocation.RIGHT, 2);
|
| + expect(KeyLocation.NUMPAD, 3);
|
| + expect(KeyLocation.MOBILE, 4);
|
| + expect(KeyLocation.JOYSTICK, 5);
|
| });
|
| }
|
|
|