aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomáš Znamenáček2014-08-07 10:59:47 +0200
committerTomáš Znamenáček2015-01-07 15:42:21 +0100
commitf03fad7b629d3fac525bed5e37d064343fe773cd (patch)
treefe225dad356887c120df97997ab88aadd5527e58
parent942bbe849ed245d8b2e9afcb0a61d66b23beaef9 (diff)
downloadMASShortcut-f03fad7b629d3fac525bed5e37d064343fe773cd.tar.bz2
Added Shortcut.h to the tests prefix header to simplify tests.
-rw-r--r--Framework/MASDictionaryTransformerTests.m2
-rw-r--r--Framework/MASShortcutBinderTests.m2
-rw-r--r--Framework/MASShortcutTests.m2
-rw-r--r--Tests/Prefix.pch1
4 files changed, 1 insertions, 6 deletions
diff --git a/Framework/MASDictionaryTransformerTests.m b/Framework/MASDictionaryTransformerTests.m
index 78dfa25..bd5c1db 100644
--- a/Framework/MASDictionaryTransformerTests.m
+++ b/Framework/MASDictionaryTransformerTests.m
@@ -1,5 +1,3 @@
-#import "Shortcut.h"
-
@interface MASDictionaryTransformerTests : XCTestCase
@end
diff --git a/Framework/MASShortcutBinderTests.m b/Framework/MASShortcutBinderTests.m
index 199eb2f..50d093d 100644
--- a/Framework/MASShortcutBinderTests.m
+++ b/Framework/MASShortcutBinderTests.m
@@ -1,5 +1,3 @@
-#import "Shortcut.h"
-
static NSString *const SampleDefaultsKey = @"sampleShortcut";
@interface MASShortcutBinderTests : XCTestCase
diff --git a/Framework/MASShortcutTests.m b/Framework/MASShortcutTests.m
index d1cd8c4..28eab56 100644
--- a/Framework/MASShortcutTests.m
+++ b/Framework/MASShortcutTests.m
@@ -1,5 +1,3 @@
-#import "MASShortcut.h"
-
@interface MASShortcutTests : XCTestCase
@end
diff --git a/Tests/Prefix.pch b/Tests/Prefix.pch
index ce88bd0..f3bf22d 100644
--- a/Tests/Prefix.pch
+++ b/Tests/Prefix.pch
@@ -1,4 +1,5 @@
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#import <XCTest/XCTest.h>
+ #import "Shortcut.h"
#endif