Working on fixing tests
This commit is contained in:
@@ -299,8 +299,12 @@
|
||||
// Get the file attributes of the target file following the unzipping
|
||||
NSDictionary *fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:targetFilePath error:nil];
|
||||
|
||||
|
||||
NSInteger permissions = ((NSNumber *)fileAttributes[NSFilePosixPermissions]).longValue;
|
||||
NSInteger preZipPermissions = ((NSNumber *)preZipAttributes[NSFilePosixPermissions]).longValue;
|
||||
|
||||
// Compare the value of the permissions attribute to assert equality
|
||||
XCTAssertEqual(fileAttributes[NSFilePosixPermissions], preZipAttributes[NSFilePosixPermissions], @"File permissions should be retained during compression and de-compression");
|
||||
XCTAssertEqual(permissions, preZipPermissions, @"File permissions should be retained during compression and de-compression");
|
||||
}
|
||||
|
||||
- (void)testUnzippingWithCancel {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'SSZipArchive'
|
||||
s.version = '1.0.1'
|
||||
s.version = '1.1'
|
||||
s.summary = 'Utility class for zipping and unzipping files on iOS and Mac.'
|
||||
s.description = 'SSZipArchive is a simple utility class for zipping and unzipping files on iOS and Mac.'
|
||||
s.homepage = 'https://github.com/ZipArchive/ZipArchive'
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AFF75A231C37279600F450AC"
|
||||
BuildableName = "ZipArchive-Mac.framework"
|
||||
BuildableName = "ZipArchive.framework"
|
||||
BlueprintName = "ZipArchive-Mac"
|
||||
ReferencedContainer = "container:ZipArchive.xcodeproj">
|
||||
</BuildableReference>
|
||||
@@ -46,7 +46,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AFF75A231C37279600F450AC"
|
||||
BuildableName = "ZipArchive-Mac.framework"
|
||||
BuildableName = "ZipArchive.framework"
|
||||
BlueprintName = "ZipArchive-Mac"
|
||||
ReferencedContainer = "container:ZipArchive.xcodeproj">
|
||||
</BuildableReference>
|
||||
@@ -64,7 +64,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "AFF75A231C37279600F450AC"
|
||||
BuildableName = "ZipArchive-Mac.framework"
|
||||
BuildableName = "ZipArchive.framework"
|
||||
BlueprintName = "ZipArchive-Mac"
|
||||
ReferencedContainer = "container:ZipArchive.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B423AE191C0DF76A0004A2F1"
|
||||
BuildableName = "ZipArchive-iOS.framework"
|
||||
BuildableName = "ZipArchive.framework"
|
||||
BlueprintName = "ZipArchive-iOS"
|
||||
ReferencedContainer = "container:ZipArchive.xcodeproj">
|
||||
</BuildableReference>
|
||||
@@ -46,7 +46,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B423AE191C0DF76A0004A2F1"
|
||||
BuildableName = "ZipArchive-iOS.framework"
|
||||
BuildableName = "ZipArchive.framework"
|
||||
BlueprintName = "ZipArchive-iOS"
|
||||
ReferencedContainer = "container:ZipArchive.xcodeproj">
|
||||
</BuildableReference>
|
||||
@@ -64,7 +64,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "B423AE191C0DF76A0004A2F1"
|
||||
BuildableName = "ZipArchive-iOS.framework"
|
||||
BuildableName = "ZipArchive.framework"
|
||||
BlueprintName = "ZipArchive-iOS"
|
||||
ReferencedContainer = "container:ZipArchive.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
||||
Reference in New Issue
Block a user