Overview
| Comment: | OFMethodSignatureTests: Fix typo |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
2a02eed3df08f217181b0f04ff71a425 |
| User & Date: | js on 2020-09-27 03:28:46 |
| Other Links: | manifest | tags |
Context
|
2020-09-27
| ||
| 03:34 | configure: Only do objc_* checks for Apple runtime (check-in: 5eaa7705ef user: js tags: trunk) | |
| 03:28 | OFMethodSignatureTests: Fix typo (check-in: 2a02eed3df user: js tags: trunk) | |
| 03:27 | Fix tests with Apple GCC 4.0.1 (check-in: 8911d7f031 user: js tags: trunk) | |
Changes
Modified tests/OFMethodSignatureTests.m from [a4557d359d] to [9cc11e0ceb].
| ︙ | ︙ | |||
73 74 75 76 77 78 79 |
@implementation TestsAppDelegate (OFMethodSignatureTests)
- (void)methodSignatureTests
{
void *pool = objc_autoreleasePoolPush();
OFMethodSignature *ms;
| | | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
@implementation TestsAppDelegate (OFMethodSignatureTests)
- (void)methodSignatureTests
{
void *pool = objc_autoreleasePoolPush();
OFMethodSignature *ms;
TEST(@"-[signatureWithObjCTypes:] #1",
(ms = [OFMethodSignature signatureWithObjCTypes:
"i28@0:8S16*20"]) && ms.numberOfArguments == 4 &&
strcmp(ms.methodReturnType, "i") == 0 &&
strcmp([ms argumentTypeAtIndex: 0], "@") == 0 &&
strcmp([ms argumentTypeAtIndex: 1], ":") == 0 &&
strcmp([ms argumentTypeAtIndex: 2], "S") == 0 &&
strcmp([ms argumentTypeAtIndex: 3], "*") == 0 &&
|
| ︙ | ︙ |