Differences From Artifact [a109d65c25]:
- File tests/OFHTTPClientTests.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 3769) [annotate] [blame] [check-ins using] [more...]
To Artifact [086ef33868]:
- File
tests/OFHTTPClientTests.m
— part of check-in
[7f102e8c95]
at
2020-10-31 19:16:46
on branch trunk
— OFHTTPClient: Remove didFailWithException
Instead, add an exception to didPerformRequest, to make it more
consistent with other places. (user: js, size: 3828) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | { [body writeString: @"Hello"]; } - (void)client: (OFHTTPClient *)client didPerformRequest: (OFHTTPRequest *)request response: (OFHTTPResponse *)response_ { response = [response_ retain]; [[OFRunLoop mainRunLoop] stop]; } - (void)HTTPClientTests { | > > > | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | { [body writeString: @"Hello"]; } - (void)client: (OFHTTPClient *)client didPerformRequest: (OFHTTPRequest *)request response: (OFHTTPResponse *)response_ exception: (id)exception { OF_ENSURE(exception == nil); response = [response_ retain]; [[OFRunLoop mainRunLoop] stop]; } - (void)HTTPClientTests { |
︙ | ︙ |