Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ben Copsey
2008-08-25 22:31:15 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e6f3be5d0e350c36c7e6cb31af4e6e6572409640
e6f3be5d
1 parent
ec7e9607
Changed paths to allseeing-i.com for cookie tests
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
18 deletions
ASIHTTPRequestTests.m
asi-http-request.xcodeproj/ben.mode1v3
asi-http-request.xcodeproj/ben.pbxuser
ASIHTTPRequestTests.m
View file @
e6f3be5
...
...
@@ -138,7 +138,7 @@ More tests needed for:
success
=
[
date
isEqualToDate
:
referenceDate
];
STAssertTrue
(
success
,
@"Date parse 3 failed"
);
NSURL
*
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
si
/asi-http-request/tests/set_cookie"
]
autorelease
];
NSURL
*
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
llseeing-i.com
/asi-http-request/tests/set_cookie"
]
autorelease
];
ASIHTTPRequest
*
request
=
[[[
ASIHTTPRequest
alloc
]
initWithURL
:
url
]
autorelease
];
[
request
setUseCookiePersistance
:
YES
];
[
request
start
];
...
...
@@ -169,7 +169,7 @@ More tests needed for:
return
;
}
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
si
/asi-http-request/tests/read_cookie"
]
autorelease
];
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
llseeing-i.com
/asi-http-request/tests/read_cookie"
]
autorelease
];
request
=
[[[
ASIHTTPRequest
alloc
]
initWithURL
:
url
]
autorelease
];
[
request
setUseCookiePersistance
:
NO
];
[
request
setRequestCookies
:[
NSMutableArray
arrayWithObject
:
cookie
]];
...
...
@@ -178,7 +178,7 @@ More tests needed for:
success
=
[
html
isEqualToString
:
@"I have 'This is the value' as the value of 'ASIHTTPRequestTestCookie'"
];
STAssertTrue
(
success
,
@"Cookie not presented to the server with cookie persistance OFF"
);
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
si
/asi-http-request/tests/read_cookie"
]
autorelease
];
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
llseeing-i.com
/asi-http-request/tests/read_cookie"
]
autorelease
];
request
=
[[[
ASIHTTPRequest
alloc
]
initWithURL
:
url
]
autorelease
];
[
request
setUseCookiePersistance
:
YES
];
[
request
start
];
...
...
@@ -186,14 +186,14 @@ More tests needed for:
success
=
[
html
isEqualToString
:
@"I have 'This is the value' as the value of 'ASIHTTPRequestTestCookie'"
];
STAssertTrue
(
success
,
@"Cookie not presented to the server with cookie persistance ON"
);
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
si
/asi-http-request/tests/remove_cookie"
]
autorelease
];
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
llseeing-i.com
/asi-http-request/tests/remove_cookie"
]
autorelease
];
request
=
[[[
ASIHTTPRequest
alloc
]
initWithURL
:
url
]
autorelease
];
[
request
start
];
html
=
[
request
dataString
];
success
=
[
html
isEqualToString
:
@"I have removed a cookie"
];
STAssertTrue
(
success
,
@"Failed to remove a cookie"
);
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
si
/asi-http-request/tests/read_cookie"
]
autorelease
];
url
=
[[[
NSURL
alloc
]
initWithString
:
@"http://a
llseeing-i.com
/asi-http-request/tests/read_cookie"
]
autorelease
];
request
=
[[[
ASIHTTPRequest
alloc
]
initWithURL
:
url
]
autorelease
];
[
request
start
];
html
=
[
request
dataString
];
...
...
asi-http-request.xcodeproj/ben.mode1v3
View file @
e6f3be5
...
...
@@ -231,8 +231,6 @@
<key>
Layout
</key>
<array>
<dict>
<key>
BecomeActive
</key>
<true/>
<key>
ContentConfiguration
</key>
<dict>
<key>
PBXBottomSmartGroupGIDs
</key>
...
...
@@ -281,8 +279,8 @@
<key>
PBXSmartGroupTreeModuleOutlineStateSelectionKey
</key>
<array>
<array>
<integer>
11
</integer>
<integer>
5
</integer>
<integer>
4
</integer>
<integer>
2
</integer>
<integer>
0
</integer>
</array>
</array>
...
...
@@ -317,12 +315,14 @@
<key>
Dock
</key>
<array>
<dict>
<key>
BecomeActive
</key>
<true/>
<key>
ContentConfiguration
</key>
<dict>
<key>
PBXProjectModuleGUID
</key>
<string>
1CE0B20306471E060097A5F4
</string>
<key>
PBXProjectModuleLabel
</key>
<string>
ASIHTTPRequest.m
</string>
<string>
ASIHTTPRequest
Tests
.m
</string>
<key>
PBXSplitModuleInNavigatorKey
</key>
<dict>
<key>
Split0
</key>
...
...
@@ -330,11 +330,11 @@
<key>
PBXProjectModuleGUID
</key>
<string>
1CE0B20406471E060097A5F4
</string>
<key>
PBXProjectModuleLabel
</key>
<string>
ASIHTTPRequest.m
</string>
<string>
ASIHTTPRequest
Tests
.m
</string>
<key>
_historyCapacity
</key>
<integer>
0
</integer>
<key>
bookmark
</key>
<string>
B500B5
7B0E635B55
00744D82
</string>
<string>
B500B5
890E635BC7
00744D82
</string>
<key>
history
</key>
<array>
<string>
B5731B8B0E4310180008024F
</string>
...
...
@@ -347,13 +347,13 @@
<string>
B5B3BF120E63470F0071D39F
</string>
<string>
B5B3BF150E63470F0071D39F
</string>
<string>
B5B3BF190E63470F0071D39F
</string>
<string>
B5B3BF3A0E634AB90071D39F
</string>
<string>
B5B3BF4F0E634B0C0071D39F
</string>
<string>
B5B3BF5D0E634B5D0071D39F
</string>
<string>
B500B54C0E635A3200744D82
</string>
<string>
B500B5740E635B5500744D82
</string>
<string>
B500B5750E635B5500744D82
</string>
<string>
B500B5760E635B5500744D82
</string>
<string>
B500B57E0E635BC700744D82
</string>
<string>
B500B57F0E635BC700744D82
</string>
<string>
B500B5800E635BC700744D82
</string>
<string>
B500B5810E635BC700744D82
</string>
<string>
B500B5820E635BC700744D82
</string>
</array>
<key>
prevStack
</key>
<array>
...
...
@@ -383,6 +383,12 @@
<string>
B500B5780E635B5500744D82
</string>
<string>
B500B5790E635B5500744D82
</string>
<string>
B500B57A0E635B5500744D82
</string>
<string>
B500B5830E635BC700744D82
</string>
<string>
B500B5840E635BC700744D82
</string>
<string>
B500B5850E635BC700744D82
</string>
<string>
B500B5860E635BC700744D82
</string>
<string>
B500B5870E635BC700744D82
</string>
<string>
B500B5880E635BC700744D82
</string>
</array>
</dict>
<key>
SplitCount
</key>
...
...
@@ -576,7 +582,6 @@
<integer>
5
</integer>
<key>
WindowOrderList
</key>
<array>
<string>
B500B57C0E635B5500744D82
</string>
<string>
B500B5570E635A3200744D82
</string>
<string>
B500B5580E635A3200744D82
</string>
<string>
1CD10A99069EF8BA00B06720
</string>
...
...
asi-http-request.xcodeproj/ben.pbxuser
View file @
e6f3be5
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment