ObjFW  Diff

Differences From Artifact [c2851ea215]:

  • File tests/OFListTests.m — part of check-in [b045cbb9c7] at 2019-03-25 00:21:30 on branch trunk — tests: Use dot syntax (user: js size: 4016)

To Artifact [0f5664c086]:

  • File tests/OFListTests.m — part of check-in [7214a2c7af] at 2019-06-19 00:45:05 on branch trunk — OFEnumerator: Remove -[reset] It's not very useful and is a problem for the Foundation bridge, as NSEnumerator does not have it. (user: js size: 3995)

105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
105
106
107
108
109
110
111

112
113
114
115
116
117
118







-







	}

	if (list.count != i)
		ok = false;

	TEST(@"OFEnumerator's -[nextObject]", ok);

	[enumerator reset];
	[list removeListObject: list.firstListObject];

	EXPECT_EXCEPTION(@"Detection of mutation during enumeration",
	    OFEnumerationMutationException, [enumerator nextObject])

	[list prependObject: strings[0]];