Overview
| Comment: | Fix missing autoreleases in OFBlockTests.m. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | 0.5 |
| Files: | files | file ages | folders |
| SHA3-256: |
47611ea8718dc3581b461327d13eb827 |
| User & Date: | js on 2011-07-14 23:15:26 |
| Other Links: | branch diff | manifest | tags |
Context
|
2011-07-14
| ||
| 23:17 | Fix a memory leak in OFURL. (check-in: 971f8e1b0e user: js tags: 0.5) | |
| 23:15 | Fix missing autoreleases in OFBlockTests.m. (check-in: 47611ea871 user: js tags: 0.5) | |
| 23:06 | Fix reference counting for blocks. (check-in: 66be98f1d1 user: js tags: 0.5) | |
Changes
Modified tests/OFBlockTests.m from [9383a4bb50] to [10c79b74fc].
| ︙ | |||
57 58 59 60 61 62 63 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | + - + - + - + |
(Class)&_NSConcreteGlobalBlock == objc_getClass("OFGlobalBlock") &&
[g isKindOfClass: [OFBlock class]])
TEST(@"Class of a malloc block",
(Class)&_NSConcreteMallocBlock == objc_getClass("OFMallocBlock"))
TEST(@"Copying a stack block",
(m = [[s copy] autorelease]) &&
|
Modified tests/TestsAppDelegate.h from [04f3a2b803] to [75ac14eddf].
| ︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - + |
[self outputTesting: test \
inModule: module]; \
\
@try { \
code; \
} @catch (exception *e) { \
caught = YES; \
|
| ︙ |