ObjFW  Check-in [2fd13b0adf]

Overview
Comment:Remove forgotten debug output.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2fd13b0adfb7e7bb2ba39639bfabe113a970b84fc13aeaa293c1de89da28743b
User & Date: js on 2012-01-31 13:55:32
Other Links: manifest | tags
Context
2012-01-31
13:59
Add -[removeAllObjects] and -[removeAllItems]. check-in: d1572ef036 user: js tags: trunk
13:55
Remove forgotten debug output. check-in: 2fd13b0adf user: js tags: trunk
13:53
Fix -[removeLastItem] in OFDataArray and OFBigDataArray. check-in: 1463432132 user: js tags: trunk
Changes

Modified tests/OFArrayTests.m from [59176fc44c] to [65511c9fb4].

156
157
158
159
160
161
162
163
164
165
166
167
168
169
170

	m[1] = [[a[0] mutableCopy] autorelease];
	[m[1] addObject: @"0"];
	[m[1] addObject: @"z"];
	TEST(@"-[sortedArray]",
	    [[m[1] sortedArray] isEqual: ([OFArray arrayWithObjects:
	    @"0", @"Bar", @"Baz", @"Foo", @"z", nil])])
	puts([[[m[1] sortedArray] description] UTF8String]);

	EXPECT_EXCEPTION(@"Detect out of range in -[objectAtIndex:]",
	    OFOutOfRangeException, [a[0] objectAtIndex: [a[0] count]])

	EXPECT_EXCEPTION(@"Detect out of range in -[removeNObjects:]",
	    OFOutOfRangeException, [m[0] removeNObjects: [m[0] count] + 1])








<







156
157
158
159
160
161
162

163
164
165
166
167
168
169

	m[1] = [[a[0] mutableCopy] autorelease];
	[m[1] addObject: @"0"];
	[m[1] addObject: @"z"];
	TEST(@"-[sortedArray]",
	    [[m[1] sortedArray] isEqual: ([OFArray arrayWithObjects:
	    @"0", @"Bar", @"Baz", @"Foo", @"z", nil])])


	EXPECT_EXCEPTION(@"Detect out of range in -[objectAtIndex:]",
	    OFOutOfRangeException, [a[0] objectAtIndex: [a[0] count]])

	EXPECT_EXCEPTION(@"Detect out of range in -[removeNObjects:]",
	    OFOutOfRangeException, [m[0] removeNObjects: [m[0] count] + 1])