File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 25
25
#import " AFURLSessionManager.h"
26
26
27
27
@interface AFURLSessionManagerTests : AFTestCase
28
- @property (nonatomic ) AFURLSessionManager *manager;
28
+ @property (readwrite , nonatomic , strong ) AFURLSessionManager *manager;
29
29
@end
30
30
31
31
@implementation AFURLSessionManagerTests
32
32
33
- - (void )setUp
34
- {
33
+ - (void )setUp {
35
34
[super setUp ];
36
35
self.manager = [[AFURLSessionManager alloc ] init ];
37
36
}
38
37
38
+ #pragma mark -
39
39
40
- - (void )testUploadTasksProgressBecomesPartOfCurrentProgress
41
- {
40
+ - (void )testUploadTasksProgressBecomesPartOfCurrentProgress {
42
41
NSProgress *overallProgress = [NSProgress progressWithTotalUnitCount: 100 ];
43
42
44
43
[overallProgress becomeCurrentWithPendingUnitCount: 80 ];
@@ -59,8 +58,7 @@ - (void)testUploadTasksProgressBecomesPartOfCurrentProgress
59
58
expect (overallProgress.fractionCompleted ).to .equal (0.8 );
60
59
}
61
60
62
- - (void )testDownloadTasksProgressBecomesPartOfCurrentProgress
63
- {
61
+ - (void )testDownloadTasksProgressBecomesPartOfCurrentProgress {
64
62
NSProgress *overallProgress = [NSProgress progressWithTotalUnitCount: 100 ];
65
63
66
64
[overallProgress becomeCurrentWithPendingUnitCount: 80 ];
You can’t perform that action at this time.
0 commit comments