Overview
| Comment: | Fix missing autoreleases in OFBlockTests.m. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
33c7abb54bd607d187c0a370e7955093 |
| User & Date: | js on 2011-07-14 23:15:26 |
| Other Links: | manifest | tags |
Context
|
2011-07-14
| ||
| 23:17 | Fix a memory leak in OFURL. (check-in: 06bbeb185a user: js tags: trunk) | |
| 23:15 | Fix missing autoreleases in OFBlockTests.m. (check-in: 33c7abb54b user: js tags: trunk) | |
| 23:06 | Fix reference counting for blocks. (check-in: 5b3aebb65a user: js tags: trunk) | |
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 [71681b4674] to [13731602aa].
| ︙ | |||
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; \
|
| ︙ |