mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Guard some test cases for use on Xcode 6+ only.
This commit is contained in:
1 parent
fb9b4a4f35
commit
83f6dd3052
2 files changed
+4
No files matched your search
@@ -30,6 +30,7 @@
|
||||
[super tearDown];
|
||||
}
|
||||
|
||||
#if __clang_major__ >= 6
|
||||
- (void)testInstallIfRoot
|
||||
{
|
||||
uid_t uid = getuid();
|
||||
@@ -61,5 +62,6 @@
|
||||
[self waitForExpectationsWithTimeout:40 handler:nil];
|
||||
[fm removeItemAtPath:expectedDestination error:nil];
|
||||
}
|
||||
#endif
|
||||
|
||||
@end
|
||||
@@ -11,6 +11,7 @@
|
||||
#import "SUUnarchiver.h"
|
||||
#import "SUPipedUnarchiver.h"
|
||||
|
||||
#if __clang_major__ >= 6
|
||||
@interface SUPipedUnarchiverTest : XCTestCase <SUUnarchiverDelegate>
|
||||
|
||||
@property (nonatomic, strong) XCTestExpectation *unarchived;
|
||||
@@ -78,3 +79,4 @@
|
||||
}
|
||||
|
||||
@end
|
||||
#endif
|
||||
Reference in new issue
Block a user