aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASHotKeyTests.m
blob: 65361ab02ea6ef7e309fa24a0de5299b6f90406d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#import "MASHotKey.h"

@interface MASHotKeyTests : XCTestCase
@end

@implementation MASHotKeyTests

- (void) testBasicFunctionality
{
    MASHotKey *hotKey = [MASHotKey registeredHotKeyWithShortcut:
        [MASShortcut shortcutWithKeyCode:kVK_ANSI_H modifierFlags:NSCommandKeyMask|NSAlternateKeyMask]];
    XCTAssertNotNil(hotKey, @"Register a simple Cmd-Alt-H hotkey.");
}

@end