mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
17 lines
324 B
Plaintext
17 lines
324 B
Plaintext
@import <OJUnit/OJTestCase.j>
|
|
|
|
@implementation CFHTTPRequestTest : OJTestCase
|
|
{
|
|
}
|
|
|
|
- (void)testSetWithCredentials
|
|
{
|
|
var cfHTTPRequest = new CFHTTPRequest();
|
|
[self assertFalse:cfHTTPRequest.withCredentials()];
|
|
|
|
cfHTTPRequest.setWithCredentials(YES);
|
|
[self assertTrue:cfHTTPRequest.withCredentials()];
|
|
}
|
|
|
|
@end
|