Overview
| Comment: | OFUNIXStreamSocketTests: Fix test description |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | unix-sockets |
| Files: | files | file ages | folders |
| SHA3-256: |
4416be270ea185007d4337ce6439fda9 |
| User & Date: | js on 2021-10-24 22:21:15 |
| Other Links: | branch diff | manifest | tags |
Context
|
2021-10-24
| ||
| 22:29 | Merge support for UNIX sockets (check-in: d2f5000bb1 user: js tags: trunk) | |
| 22:21 | OFUNIXStreamSocketTests: Fix test description (Closed-Leaf check-in: 4416be270e user: js tags: unix-sockets) | |
| 22:09 | Fix OFSocketAddressUNIXPath (check-in: 24ffb76ae2 user: js tags: unix-sockets) | |
Changes
Modified tests/OFUNIXStreamSocketTests.m from [d6bbb6e4b4] to [2f83890f67].
| ︙ | ︙ | |||
66 67 68 69 70 71 72 | R([sockClient connectToPath: path])) TEST(@"-[accept]", (sockAccepted = [sockServer accept])) TEST(@"-[writeBuffer:length:]", R([sockAccepted writeBuffer: "Hello" length: 5])) | | | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
R([sockClient connectToPath: path]))
TEST(@"-[accept]", (sockAccepted = [sockServer accept]))
TEST(@"-[writeBuffer:length:]",
R([sockAccepted writeBuffer: "Hello" length: 5]))
TEST(@"-[readIntoBuffer:length:]",
[sockClient readIntoBuffer: buffer length: 5] == 5 &&
memcmp(buffer, "Hello", 5) == 0)
TEST(@"-[remoteAddress]",
OFSocketAddressUNIXPath(sockAccepted.remoteAddress) == nil)
} @finally {
#ifdef OF_HAVE_FILES
|
| ︙ | ︙ |