Differences From Artifact [57afcae22d]:
- File
tests/OFBlockTests.m
— part of check-in
[62c4233db1]
at
2017-07-29 19:14:59
on branch trunk
— OFBlockTests: Disable test broken on Win32 + Clang
It's only broken when building as a static library. (user: js, size: 2824) [annotate] [blame] [check-ins using] [more...]
To Artifact [21cb831e97]:
- File tests/OFBlockTests.m — part of check-in [c9efebeff9] at 2017-09-26 22:40:49 on branch trunk — Work around Clang analyzer false positives (user: js, size: 2892) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | forwardTest() == 5) TEST(@"Copying a stack block and using its copied variable", (v = returnStackBlock()) && v() == 43 && v() == 44 && v() == 45) TEST(@"Copying a global block", (id)g == [[g copy] autorelease]) TEST(@"Copying a malloc block", (id)m == [m copy] && [m retainCount] == 2) TEST(@"Autorelease a stack block", R([s autorelease])) TEST(@"Autorelease a global block", R([g autorelease])) TEST(@"Autorelease a malloc block", R([m autorelease])) [pool drain]; } @end | > > > > | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | forwardTest() == 5) TEST(@"Copying a stack block and using its copied variable", (v = returnStackBlock()) && v() == 43 && v() == 44 && v() == 45) TEST(@"Copying a global block", (id)g == [[g copy] autorelease]) #ifndef __clang_analyzer__ TEST(@"Copying a malloc block", (id)m == [m copy] && [m retainCount] == 2) #endif TEST(@"Autorelease a stack block", R([s autorelease])) TEST(@"Autorelease a global block", R([g autorelease])) #ifndef __clang_analyzer__ TEST(@"Autorelease a malloc block", R([m autorelease])) #endif [pool drain]; } @end |