ObjFW  Check-in [28078de81b]

Overview
Comment:Fix testing the wrong OFKernelEventObserver
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 28078de81bc48ba15a87489d6bc8fb39e571338657606eb3892f4e0d69bb7678
User & Date: js on 2017-10-01 21:12:36
Other Links: manifest | tags
Context
2017-10-05
20:07
apple-call-x86_64.S: Fix rdi being set too early check-in: 722f19539b user: js tags: trunk
2017-10-01
21:12
Fix testing the wrong OFKernelEventObserver check-in: 28078de81b user: js tags: trunk
21:06
Fix compilation with GCC check-in: f97084d9c3 user: js tags: trunk
Changes

Modified tests/OFKernelEventObserverTests.m from [a33e059e26] to [6f6df4db2e].

206
207
208
209
210
211
212
213

214
215
216
217
218
219
220
221
206
207
208
209
210
211
212

213

214
215
216
217
218
219
220







-
+
-







	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	ObserverTest *test;

	module = [class className];
	test = [[[ObserverTest alloc]
	    initWithTestsAppDelegate: self] autorelease];

	TEST(@"+[observer]",
	TEST(@"+[observer]", (test->_observer = [class observer]))
	    (test->_observer = [OFKernelEventObserver observer]))
	[test->_observer setDelegate: test];

	TEST(@"-[addObjectForReading:]",
	    R([test->_observer addObjectForReading: test->_server]))

	[test run];
	_fails += test->_fails;