root / asi-http-request-with-pithos / Classes / Tests / PerformanceTests.h @ be116d22
History | View | Annotate | Download (742 Bytes)
1 |
//
|
---|---|
2 |
// PerformanceTests.h
|
3 |
// Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
|
4 |
//
|
5 |
// Created by Ben Copsey on 17/12/2009.
|
6 |
// Copyright 2009 All-Seeing Interactive. All rights reserved.
|
7 |
//
|
8 |
|
9 |
#import <Foundation/Foundation.h>
|
10 |
#import "ASITestCase.h" |
11 |
|
12 |
@interface PerformanceTests : ASITestCase {
|
13 |
NSURL *testURL; |
14 |
|
15 |
NSDate *testStartDate; |
16 |
int requestsComplete;
|
17 |
NSMutableArray *responseData; |
18 |
unsigned long bytesDownloaded; |
19 |
} |
20 |
|
21 |
- (void)testASIHTTPRequestAsyncPerformance;
|
22 |
- (void)testNSURLConnectionAsyncPerformance;
|
23 |
|
24 |
@property (retain,nonatomic) NSURL *testURL;
|
25 |
@property (retain,nonatomic) NSDate *testStartDate;
|
26 |
@property (assign,nonatomic) int requestsComplete; |
27 |
@property (retain,nonatomic) NSMutableArray *responseData;
|
28 |
@end
|