diff options
| author | Tomáš Znamenáček | 2014-08-05 15:10:00 +0200 | 
|---|---|---|
| committer | Tomáš Znamenáček | 2015-01-07 15:05:11 +0100 | 
| commit | 42daeb6f1298c800b3d42a6b746e2e6ef6b0670e (patch) | |
| tree | 155d7f4a04b740ec3f61df5e47ba4e1604158d72 /Framework | |
| parent | 0eb5c2e87388cb4a6aae9b7e4e92a270eb419b4d (diff) | |
| download | MASShortcut-42daeb6f1298c800b3d42a6b746e2e6ef6b0670e.tar.bz2 | |
Added a unit testing target.
Diffstat (limited to 'Framework')
| -rw-r--r-- | Framework/MASShortcutTests.m | 14 | 
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 | 
