aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcutTests.m
diff options
context:
space:
mode:
Diffstat (limited to 'Framework/MASShortcutTests.m')
-rw-r--r--Framework/MASShortcutTests.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/Framework/MASShortcutTests.m b/Framework/MASShortcutTests.m
new file mode 100644
index 0000000..37a801f
--- /dev/null
+++ b/Framework/MASShortcutTests.m
@@ -0,0 +1,14 @@
+#import "MASShortcut.h"
+
+@interface MASShortcutTests : XCTestCase
+@end
+
+@implementation MASShortcutTests
+
+- (void) testShortcutRecorderCompatibility
+{
+ MASShortcut *key = [MASShortcut shortcutWithKeyCode:87 modifierFlags:1048576];
+ XCTAssertEqualObjects([key description], @"⌘5", @"Basic compatibility with the keycode & modifier combination used by Shortcut Recorder.");
+}
+
+@end