Merge branch 'feature-ImageRequestOperationTests' of https://github.com/codepost/AFNetworking into codepost-feature-ImageRequestOperationTests
Conflicts: Tests/AFNetworking Tests.xcodeproj/project.pbxproj
This commit is contained in:
commit
ea23240fbb
4 changed files with 152 additions and 31 deletions
|
|
@ -32,7 +32,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
`AFImageRequestOperation` is a subclass of `AFHTTPRequestOperation` for downloading an processing images.
|
`AFImageRequestOperation` is a subclass of `AFHTTPRequestOperation` for downloading and processing images.
|
||||||
|
|
||||||
## Acceptable Content Types
|
## Acceptable Content Types
|
||||||
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
Creates and returns an `AFImageRequestOperation` object and sets the specified success callback.
|
Creates and returns an `AFImageRequestOperation` object and sets the specified success callback.
|
||||||
|
|
||||||
@param urlRequest The request object to be loaded asynchronously during execution of the operation.
|
@param urlRequest The request object to be loaded asynchronously during execution of the operation.
|
||||||
@param success A block object to be executed when the request finishes successfully. This block has no return value and takes a single arguments, the image created from the response data of the request.
|
@param success A block object to be executed when the request finishes successfully. This block has no return value and takes a single argument, the image created from the response data of the request.
|
||||||
|
|
||||||
@return A new image request operation
|
@return A new image request operation
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ static dispatch_queue_t image_request_operation_processing_queue() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
}
|
}
|
||||||
|
|
|
||||||
111
Tests/AFImageRequestOperationTests.m
Normal file
111
Tests/AFImageRequestOperationTests.m
Normal file
|
|
@ -0,0 +1,111 @@
|
||||||
|
// AFHTTPRequestOperationTests.m
|
||||||
|
//
|
||||||
|
// Copyright (c) 2013 AFNetworking (http://afnetworking.com)
|
||||||
|
//
|
||||||
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
// of this software and associated documentation files (the "Software"), to deal
|
||||||
|
// in the Software without restriction, including without limitation the rights
|
||||||
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
// copies of the Software, and to permit persons to whom the Software is
|
||||||
|
// furnished to do so, subject to the following conditions:
|
||||||
|
//
|
||||||
|
// The above copyright notice and this permission notice shall be included in
|
||||||
|
// all copies or substantial portions of the Software.
|
||||||
|
//
|
||||||
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
// THE SOFTWARE.
|
||||||
|
|
||||||
|
#import "AFNetworkingTests.h"
|
||||||
|
|
||||||
|
@interface AFImageRequestOperationTests : SenTestCase
|
||||||
|
@property (readwrite, nonatomic, strong) NSURL *baseURL;
|
||||||
|
@end
|
||||||
|
|
||||||
|
@implementation AFImageRequestOperationTests
|
||||||
|
@synthesize baseURL = _baseURL;
|
||||||
|
|
||||||
|
- (void)setUp {
|
||||||
|
self.baseURL = [NSURL URLWithString:AFNetworkingTestsBaseURLString];
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark -
|
||||||
|
|
||||||
|
- (void)testThatImageRequestOperationAcceptsCorrectFormatTypes {
|
||||||
|
NSArray *acceptedFormats = @[@"image/tiff", @"image/jpeg", @"image/gif", @"image/png", @"image/ico", @"image/x-icon", @"image/bmp", @"image/x-bmp", @"image/x-xbitmap", @"image/x-win-bitmap"];
|
||||||
|
for (NSString *format in acceptedFormats) {
|
||||||
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"/response-headers?Content-Type=%@", format] relativeToURL:self.baseURL]];
|
||||||
|
AFImageRequestOperation *operation = [[AFImageRequestOperation alloc] initWithRequest:request];
|
||||||
|
[operation start];
|
||||||
|
|
||||||
|
expect([operation isFinished]).will.beTruthy();
|
||||||
|
expect(operation.error).will.beNil();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)testThatImageRequestOperationDoesNotAcceptInvalidFormatTypes {
|
||||||
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/response-headers?Content-Type=image/badFormat" relativeToURL:self.baseURL]];
|
||||||
|
AFImageRequestOperation *operation = [[AFImageRequestOperation alloc] initWithRequest:request];
|
||||||
|
[operation start];
|
||||||
|
|
||||||
|
expect([operation isFinished]).will.beTruthy();
|
||||||
|
expect(operation.error).willNot.beNil();
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)testThatImageResponseIsNotNilWhenRequestSucceeds {
|
||||||
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/response-headers?Content-Type=image/png" relativeToURL:self.baseURL]];
|
||||||
|
AFImageRequestOperation *operation = [[AFImageRequestOperation alloc] initWithRequest:request];
|
||||||
|
[operation start];
|
||||||
|
|
||||||
|
expect([operation isFinished]).will.beTruthy();
|
||||||
|
expect(operation.responseImage).willNot.beNil();
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)testThatImageResponseIsNilWhenRequestFails {
|
||||||
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/status/404" relativeToURL:self.baseURL]];
|
||||||
|
AFImageRequestOperation *operation = [[AFImageRequestOperation alloc] initWithRequest:request];
|
||||||
|
[operation start];
|
||||||
|
|
||||||
|
expect([operation isFinished]).will.beTruthy();
|
||||||
|
expect(operation.responseImage).will.beNil();
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)testImageProcessingBlockIsRunOnSuccess {
|
||||||
|
__block UIImage *blockImage = nil;
|
||||||
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/response-headers?Content-Type=image/png" relativeToURL:self.baseURL]];
|
||||||
|
|
||||||
|
AFImageRequestOperation *operation = [AFImageRequestOperation imageRequestOperationWithRequest:request imageProcessingBlock:^UIImage *(UIImage *image) {
|
||||||
|
blockImage = [[UIImage alloc] init];
|
||||||
|
return blockImage;
|
||||||
|
} success:^(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image) {
|
||||||
|
} failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error) {
|
||||||
|
}];
|
||||||
|
|
||||||
|
[operation start];
|
||||||
|
expect([operation isFinished]).will.beTruthy();
|
||||||
|
expect(operation.error).will.beNil();
|
||||||
|
expect(blockImage).willNot.beNil();
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)testImageProcessingBlockIsNotRunOnFailure {
|
||||||
|
__block UIImage *blockImage = nil;
|
||||||
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/status/404" relativeToURL:self.baseURL]];
|
||||||
|
|
||||||
|
AFImageRequestOperation *operation = [AFImageRequestOperation imageRequestOperationWithRequest:request imageProcessingBlock:^UIImage *(UIImage *image) {
|
||||||
|
blockImage = [[UIImage alloc] init];
|
||||||
|
return blockImage;
|
||||||
|
} success:^(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image) {
|
||||||
|
} failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error) {
|
||||||
|
}];
|
||||||
|
[operation start];
|
||||||
|
|
||||||
|
expect([operation isFinished]).will.beTruthy();
|
||||||
|
expect(operation.error).willNot.beNil();
|
||||||
|
expect(blockImage).will.beNil();
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -25,19 +25,22 @@
|
||||||
25C4EC42173D86B60083E116 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25C4EC30173D7DCA0083E116 /* MobileCoreServices.framework */; };
|
25C4EC42173D86B60083E116 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25C4EC30173D7DCA0083E116 /* MobileCoreServices.framework */; };
|
||||||
29A9CE2117456336002360C8 /* AFJSONRequestOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */; };
|
29A9CE2117456336002360C8 /* AFJSONRequestOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */; };
|
||||||
29A9CE2217456336002360C8 /* AFJSONRequestOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */; };
|
29A9CE2217456336002360C8 /* AFJSONRequestOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */; };
|
||||||
A70F4A96175A529400386DF5 /* root_certificate.cer in Resources */ = {isa = PBXBuildFile; fileRef = A70F4A95175A529400386DF5 /* root_certificate.cer */; };
|
667B268117599C5800764906 /* AFImageRequestOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 667B268017599C5800764906 /* AFImageRequestOperationTests.m */; };
|
||||||
A70F4A97175A529400386DF5 /* root_certificate.cer in Resources */ = {isa = PBXBuildFile; fileRef = A70F4A95175A529400386DF5 /* root_certificate.cer */; };
|
|
||||||
A70F4A9E175A726B00386DF5 /* ca.cer in Resources */ = {isa = PBXBuildFile; fileRef = A70F4A9C175A726B00386DF5 /* ca.cer */; };
|
|
||||||
A70F4A9F175A726B00386DF5 /* ca.cer in Resources */ = {isa = PBXBuildFile; fileRef = A70F4A9C175A726B00386DF5 /* ca.cer */; };
|
|
||||||
A70F4AA0175A726B00386DF5 /* derived.cert in Resources */ = {isa = PBXBuildFile; fileRef = A70F4A9D175A726B00386DF5 /* derived.cert */; };
|
|
||||||
A70F4AA1175A726B00386DF5 /* derived.cert in Resources */ = {isa = PBXBuildFile; fileRef = A70F4A9D175A726B00386DF5 /* derived.cert */; };
|
|
||||||
A7DC62A617592E4200EBEC2F /* AFMockURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = A7DC62A517592E4200EBEC2F /* AFMockURLProtocol.m */; };
|
|
||||||
A7DC62A717592E4200EBEC2F /* AFMockURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = A7DC62A517592E4200EBEC2F /* AFMockURLProtocol.m */; };
|
|
||||||
A7DC62A917592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */; };
|
A7DC62A917592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */; };
|
||||||
A7DC62AA17592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */; };
|
A7DC62AA17592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */; };
|
||||||
AC11A74923B64A3096ACADFC /* libPods-osx.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 96A923755B00464187DEDBAF /* libPods-osx.a */; };
|
AC11A74923B64A3096ACADFC /* libPods-osx.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 96A923755B00464187DEDBAF /* libPods-osx.a */; };
|
||||||
F8C6F282174D2C6200B154D5 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F8C6F281174D2C6200B154D5 /* Icon.png */; };
|
F8C6F282174D2C6200B154D5 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F8C6F281174D2C6200B154D5 /* Icon.png */; };
|
||||||
F8C6F283174D2C6200B154D5 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F8C6F281174D2C6200B154D5 /* Icon.png */; };
|
F8C6F283174D2C6200B154D5 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F8C6F281174D2C6200B154D5 /* Icon.png */; };
|
||||||
|
F8D62D3B175ABF5E00C717C3 /* AFMockURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = F8D62D3A175ABF5E00C717C3 /* AFMockURLProtocol.m */; };
|
||||||
|
F8D62D3C175ABF5E00C717C3 /* AFMockURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = F8D62D3A175ABF5E00C717C3 /* AFMockURLProtocol.m */; };
|
||||||
|
F8E801E1175AC349008D3886 /* ca.cer in Resources */ = {isa = PBXBuildFile; fileRef = F8E801DD175AC349008D3886 /* ca.cer */; };
|
||||||
|
F8E801E2175AC349008D3886 /* ca.cer in Resources */ = {isa = PBXBuildFile; fileRef = F8E801DD175AC349008D3886 /* ca.cer */; };
|
||||||
|
F8E801E3175AC349008D3886 /* derived.cert in Resources */ = {isa = PBXBuildFile; fileRef = F8E801DE175AC349008D3886 /* derived.cert */; };
|
||||||
|
F8E801E4175AC349008D3886 /* derived.cert in Resources */ = {isa = PBXBuildFile; fileRef = F8E801DE175AC349008D3886 /* derived.cert */; };
|
||||||
|
F8E801E5175AC349008D3886 /* root_certificate.cer in Resources */ = {isa = PBXBuildFile; fileRef = F8E801DF175AC349008D3886 /* root_certificate.cer */; };
|
||||||
|
F8E801E6175AC349008D3886 /* root_certificate.cer in Resources */ = {isa = PBXBuildFile; fileRef = F8E801DF175AC349008D3886 /* root_certificate.cer */; };
|
||||||
|
F8E801E7175AC349008D3886 /* root_certificate.key in Resources */ = {isa = PBXBuildFile; fileRef = F8E801E0175AC349008D3886 /* root_certificate.key */; };
|
||||||
|
F8E801E8175AC349008D3886 /* root_certificate.key in Resources */ = {isa = PBXBuildFile; fileRef = F8E801E0175AC349008D3886 /* root_certificate.key */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
|
@ -83,14 +86,16 @@
|
||||||
29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFJSONRequestOperationTests.m; sourceTree = "<group>"; };
|
29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFJSONRequestOperationTests.m; sourceTree = "<group>"; };
|
||||||
2B6D24F8E1B74E10A269E8B3 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
2B6D24F8E1B74E10A269E8B3 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
55E73C267F33406A9F92476C /* libPods-ios.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ios.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
55E73C267F33406A9F92476C /* libPods-ios.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ios.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
667B268017599C5800764906 /* AFImageRequestOperationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFImageRequestOperationTests.m; sourceTree = "<group>"; };
|
||||||
96A923755B00464187DEDBAF /* libPods-osx.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-osx.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
96A923755B00464187DEDBAF /* libPods-osx.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-osx.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
A70F4A95175A529400386DF5 /* root_certificate.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = root_certificate.cer; path = Resources/root_certificate.cer; sourceTree = "<group>"; };
|
|
||||||
A70F4A9C175A726B00386DF5 /* ca.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = ca.cer; path = Resources/ca.cer; sourceTree = "<group>"; };
|
|
||||||
A70F4A9D175A726B00386DF5 /* derived.cert */ = {isa = PBXFileReference; lastKnownFileType = file; name = derived.cert; path = Resources/derived.cert; sourceTree = "<group>"; };
|
|
||||||
A7DC62A417592E4200EBEC2F /* AFMockURLProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFMockURLProtocol.h; sourceTree = "<group>"; };
|
|
||||||
A7DC62A517592E4200EBEC2F /* AFMockURLProtocol.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFMockURLProtocol.m; sourceTree = "<group>"; };
|
|
||||||
A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLConnectionOperationTests.m; sourceTree = "<group>"; };
|
A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLConnectionOperationTests.m; sourceTree = "<group>"; };
|
||||||
F8C6F281174D2C6200B154D5 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Icon.png; path = ../Example/Icon.png; sourceTree = "<group>"; };
|
F8C6F281174D2C6200B154D5 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Icon.png; path = ../Example/Icon.png; sourceTree = "<group>"; };
|
||||||
|
F8D62D39175ABF5E00C717C3 /* AFMockURLProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFMockURLProtocol.h; sourceTree = "<group>"; };
|
||||||
|
F8D62D3A175ABF5E00C717C3 /* AFMockURLProtocol.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFMockURLProtocol.m; sourceTree = "<group>"; };
|
||||||
|
F8E801DD175AC349008D3886 /* ca.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = ca.cer; path = Resources/ca.cer; sourceTree = "<group>"; };
|
||||||
|
F8E801DE175AC349008D3886 /* derived.cert */ = {isa = PBXFileReference; lastKnownFileType = file; name = derived.cert; path = Resources/derived.cert; sourceTree = "<group>"; };
|
||||||
|
F8E801DF175AC349008D3886 /* root_certificate.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = root_certificate.cer; path = Resources/root_certificate.cer; sourceTree = "<group>"; };
|
||||||
|
F8E801E0175AC349008D3886 /* root_certificate.key */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = root_certificate.key; path = Resources/root_certificate.key; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
|
@ -205,12 +210,13 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
2580153E173EB3A70026AA6E /* AFNetworkingTests.h */,
|
2580153E173EB3A70026AA6E /* AFNetworkingTests.h */,
|
||||||
|
F8D62D39175ABF5E00C717C3 /* AFMockURLProtocol.h */,
|
||||||
|
F8D62D3A175ABF5E00C717C3 /* AFMockURLProtocol.m */,
|
||||||
2580153F173EB3A70026AA6E /* AFNetworkingTests.m */,
|
2580153F173EB3A70026AA6E /* AFNetworkingTests.m */,
|
||||||
A7DC62A417592E4200EBEC2F /* AFMockURLProtocol.h */,
|
|
||||||
A7DC62A517592E4200EBEC2F /* AFMockURLProtocol.m */,
|
|
||||||
A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */,
|
A7DC62A817592E4800EBEC2F /* AFURLConnectionOperationTests.m */,
|
||||||
2580153B173EB3A70026AA6E /* AFHTTPRequestOperationTests.m */,
|
2580153B173EB3A70026AA6E /* AFHTTPRequestOperationTests.m */,
|
||||||
29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */,
|
29A9CE2017456336002360C8 /* AFJSONRequestOperationTests.m */,
|
||||||
|
667B268017599C5800764906 /* AFImageRequestOperationTests.m */,
|
||||||
2580153A173EB3A70026AA6E /* AFHTTPClientTests.m */,
|
2580153A173EB3A70026AA6E /* AFHTTPClientTests.m */,
|
||||||
);
|
);
|
||||||
name = Tests;
|
name = Tests;
|
||||||
|
|
@ -219,18 +225,19 @@
|
||||||
25A753091747FC7E00F04F2F /* Resources */ = {
|
25A753091747FC7E00F04F2F /* Resources */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
A70F4A91175A4E0000386DF5 /* Certificates */,
|
|
||||||
F8C6F281174D2C6200B154D5 /* Icon.png */,
|
F8C6F281174D2C6200B154D5 /* Icon.png */,
|
||||||
|
F8E801E9175AC34D008D3886 /* Certificates */,
|
||||||
);
|
);
|
||||||
name = Resources;
|
name = Resources;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
A70F4A91175A4E0000386DF5 /* Certificates */ = {
|
F8E801E9175AC34D008D3886 /* Certificates */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
A70F4A9C175A726B00386DF5 /* ca.cer */,
|
F8E801DD175AC349008D3886 /* ca.cer */,
|
||||||
A70F4A9D175A726B00386DF5 /* derived.cert */,
|
F8E801DE175AC349008D3886 /* derived.cert */,
|
||||||
A70F4A95175A529400386DF5 /* root_certificate.cer */,
|
F8E801DF175AC349008D3886 /* root_certificate.cer */,
|
||||||
|
F8E801E0175AC349008D3886 /* root_certificate.key */,
|
||||||
);
|
);
|
||||||
name = Certificates;
|
name = Certificates;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
@ -307,9 +314,10 @@
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
F8C6F282174D2C6200B154D5 /* Icon.png in Resources */,
|
F8C6F282174D2C6200B154D5 /* Icon.png in Resources */,
|
||||||
A70F4A96175A529400386DF5 /* root_certificate.cer in Resources */,
|
F8E801E1175AC349008D3886 /* ca.cer in Resources */,
|
||||||
A70F4A9E175A726B00386DF5 /* ca.cer in Resources */,
|
F8E801E3175AC349008D3886 /* derived.cert in Resources */,
|
||||||
A70F4AA0175A726B00386DF5 /* derived.cert in Resources */,
|
F8E801E5175AC349008D3886 /* root_certificate.cer in Resources */,
|
||||||
|
F8E801E7175AC349008D3886 /* root_certificate.key in Resources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
@ -318,9 +326,10 @@
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
F8C6F283174D2C6200B154D5 /* Icon.png in Resources */,
|
F8C6F283174D2C6200B154D5 /* Icon.png in Resources */,
|
||||||
A70F4A97175A529400386DF5 /* root_certificate.cer in Resources */,
|
F8E801E2175AC349008D3886 /* ca.cer in Resources */,
|
||||||
A70F4A9F175A726B00386DF5 /* ca.cer in Resources */,
|
F8E801E4175AC349008D3886 /* derived.cert in Resources */,
|
||||||
A70F4AA1175A726B00386DF5 /* derived.cert in Resources */,
|
F8E801E6175AC349008D3886 /* root_certificate.cer in Resources */,
|
||||||
|
F8E801E8175AC349008D3886 /* root_certificate.key in Resources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
@ -364,8 +373,9 @@
|
||||||
25801542173EB3A70026AA6E /* AFHTTPRequestOperationTests.m in Sources */,
|
25801542173EB3A70026AA6E /* AFHTTPRequestOperationTests.m in Sources */,
|
||||||
25801546173EB3A70026AA6E /* AFNetworkingTests.m in Sources */,
|
25801546173EB3A70026AA6E /* AFNetworkingTests.m in Sources */,
|
||||||
29A9CE2117456336002360C8 /* AFJSONRequestOperationTests.m in Sources */,
|
29A9CE2117456336002360C8 /* AFJSONRequestOperationTests.m in Sources */,
|
||||||
A7DC62A617592E4200EBEC2F /* AFMockURLProtocol.m in Sources */,
|
|
||||||
A7DC62A917592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */,
|
A7DC62A917592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */,
|
||||||
|
667B268117599C5800764906 /* AFImageRequestOperationTests.m in Sources */,
|
||||||
|
F8D62D3B175ABF5E00C717C3 /* AFMockURLProtocol.m in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
@ -377,8 +387,8 @@
|
||||||
25801543173EB3A70026AA6E /* AFHTTPRequestOperationTests.m in Sources */,
|
25801543173EB3A70026AA6E /* AFHTTPRequestOperationTests.m in Sources */,
|
||||||
25801547173EB3A70026AA6E /* AFNetworkingTests.m in Sources */,
|
25801547173EB3A70026AA6E /* AFNetworkingTests.m in Sources */,
|
||||||
29A9CE2217456336002360C8 /* AFJSONRequestOperationTests.m in Sources */,
|
29A9CE2217456336002360C8 /* AFJSONRequestOperationTests.m in Sources */,
|
||||||
A7DC62A717592E4200EBEC2F /* AFMockURLProtocol.m in Sources */,
|
|
||||||
A7DC62AA17592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */,
|
A7DC62AA17592E4800EBEC2F /* AFURLConnectionOperationTests.m in Sources */,
|
||||||
|
F8D62D3C175ABF5E00C717C3 /* AFMockURLProtocol.m in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue