ObjFW  Check-in [504643ffee]

Overview
Comment:OFKernelEventObserverTests: Prevent line wrap
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 504643ffeebedb1cc38799b65385cb260dae327392472600fd49f10a6f8fc3a6
User & Date: js on 2015-05-10 00:42:01
Other Links: manifest | tags
Context
2015-05-10
00:42
PLATFORMS.md: Add NetBSD/SPARC64 check-in: e591d17419 user: js tags: trunk
00:42
OFKernelEventObserverTests: Prevent line wrap check-in: 504643ffee user: js tags: trunk
2015-05-09
21:38
OFKernelEventObserver_epoll: Fix a typo check-in: dbbb4c7200 user: js tags: trunk
Changes

Modified tests/OFKernelEventObserverTests.m from [8dbc611e84] to [70f76a2e2d].

143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
			    outputFailure: @"-[observe] with listening socket"
				 inModule: module];

		_accepted = [[object accept] retain];
		[_observer addObjectForReading: _accepted];

		[_testsAppDelegate
		    outputTesting: @"-[observe] with data to read available"
			 inModule: module];

		break;
	case 1:
		if (object == _accepted &&
		    [object readIntoBuffer: &buf
				    length: 1] == 1 && buf == '0')
			[_testsAppDelegate
			    outputSuccess: @"-[observe] with data to read "
					   @"available"
				 inModule: module];
		else
			[_testsAppDelegate
			    outputFailure: @"-[observe] with data to read "
					   @"available"
				 inModule: module];

		[_client close];

		[_testsAppDelegate
		    outputTesting: @"-[observe] with closed connection"
			 inModule: module];







|








|
<



|
<







143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159

160
161
162
163

164
165
166
167
168
169
170
			    outputFailure: @"-[observe] with listening socket"
				 inModule: module];

		_accepted = [[object accept] retain];
		[_observer addObjectForReading: _accepted];

		[_testsAppDelegate
		    outputTesting: @"-[observe] with data ready to read"
			 inModule: module];

		break;
	case 1:
		if (object == _accepted &&
		    [object readIntoBuffer: &buf
				    length: 1] == 1 && buf == '0')
			[_testsAppDelegate
			    outputSuccess: @"-[observe] with data ready to read"

				 inModule: module];
		else
			[_testsAppDelegate
			    outputFailure: @"-[observe] with data ready to read"

				 inModule: module];

		[_client close];

		[_testsAppDelegate
		    outputTesting: @"-[observe] with closed connection"
			 inModule: module];