Differences From Artifact [9dfa280d32]:
- File
tests/OFArrayTests.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 11971) [annotate] [blame] [check-ins using]
To Artifact [b0ab3f0686]:
- File tests/OFArrayTests.m — part of check-in [3a5570ab20] at 2017-07-20 22:28:01 on branch trunk — Split OFURL into OFURL and OFMutableURL (user: js, size: 11992) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
433 434 435 436 437 438 439 | valueForKey: @"length"] isEqual: [arrayClass arrayWithObjects: [OFNumber numberWithSize: 3], [OFNumber numberWithSize: 3], [OFNumber numberWithSize: 6], nil]] && [[[arrayClass arrayWithObjects: @"1", @"2", nil] valueForKey: @"@count"] isEqual: [OFNumber numberWithSize: 2]]) m[0] = [mutableArrayClass arrayWithObjects: | | | | | 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | valueForKey: @"length"] isEqual: [arrayClass arrayWithObjects: [OFNumber numberWithSize: 3], [OFNumber numberWithSize: 3], [OFNumber numberWithSize: 6], nil]] && [[[arrayClass arrayWithObjects: @"1", @"2", nil] valueForKey: @"@count"] isEqual: [OFNumber numberWithSize: 2]]) m[0] = [mutableArrayClass arrayWithObjects: [OFMutableURL URLWithString: @"http://foo.bar/"], [OFMutableURL URLWithString: @"http://bar.qux/"], [OFMutableURL URLWithString: @"http://qux.quxqux/"], nil]; TEST(@"-[setValue:forKey:]", R([m[0] setValue: [OFNumber numberWithShort: 1234] forKey: @"port"]) && [m[0] isEqual: [arrayClass arrayWithObjects: [OFURL URLWithString: @"http://foo.bar:1234/"], [OFURL URLWithString: @"http://bar.qux:1234/"], [OFURL URLWithString: @"http://qux.quxqux:1234/"], nil]]) |
︙ | ︙ |