Overview
Comment: | Get rid of strcmp and strlen calls in OFString tests. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6a2551a704e43843409d633f3894f392 |
User & Date: | js on 2009-07-14 17:14:46 |
Other Links: | manifest | tags |
Context
2009-07-14
| ||
17:32 | Add methods to handle C strings with length to OF(Mutable)String. check-in: dc7bb2d594 user: js tags: trunk | |
17:14 | Get rid of strcmp and strlen calls in OFString tests. check-in: 6a2551a704 user: js tags: trunk | |
2009-06-30
| ||
22:21 | Implement -[indexOf{First,Last}OccurrenceOfString:] for OFString. check-in: 9758677802 user: js tags: trunk | |
Changes
Modified tests/OFString/OFString.m from [5ed17a6543] to [859b6563cd].
︙ | |||
8 9 10 11 12 13 14 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - | * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #include "config.h" #include <stdio.h> |
︙ | |||
70 71 72 73 74 75 76 | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | - + + - - - - + + + - + - + - + | CHECK([s1 hash] == [s3 hash]) [s2 appendCString: "12"]; [s2 appendString: @"3"]; [s4 setToCString: [s2 cString]]; CHECK(![s2 compare: s4]) |
︙ |