Differences From Artifact [8b6c1d8b68]:
- File tests/OFURLTests.m — part of check-in [c517c57c89] at 2020-03-01 23:40:28 on branch trunk — OFURL: Implement URL-{en,de}coding of IPv6 hosts (user: js, size: 12078) [annotate] [blame] [check-ins using] [more...]
To Artifact [52cea266a3]:
- File
tests/OFURLTests.m
— part of check-in
[25c985fec1]
at
2020-08-25 00:11:24
on branch trunk
— OFNumber: Remove (u)int{8,16,32,64} methods
Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. (user: js, size: 12037) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
152 153 154 155 156 157 158 | TEST(@"-[user]", [u1.user isEqual: @"us:er"] && u4.user == nil) TEST(@"-[password]", [u1.password isEqual: @"p@w"] && u4.password == nil) TEST(@"-[host]", [u1.host isEqual: @"ho:st"] && [u6.host isEqual: @"12:34::56:abcd"] && [u7.host isEqual: @"12:34::56:abcd"]) | | | < | 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | TEST(@"-[user]", [u1.user isEqual: @"us:er"] && u4.user == nil) TEST(@"-[password]", [u1.password isEqual: @"p@w"] && u4.password == nil) TEST(@"-[host]", [u1.host isEqual: @"ho:st"] && [u6.host isEqual: @"12:34::56:abcd"] && [u7.host isEqual: @"12:34::56:abcd"]) TEST(@"-[port]", u1.port.unsignedShortValue == 1234 && [u4 port] == nil && u7.port.unsignedShortValue == 234) TEST(@"-[path]", [u1.path isEqual: @"/pa?th"] && [u4.path isEqual: @"/etc/passwd"]) TEST(@"-[pathComponents]", [u1.pathComponents isEqual: [OFArray arrayWithObjects: @"/", @"pa?th", nil]] && [u4.pathComponents isEqual: [OFArray arrayWithObjects: @"/", @"etc", @"passwd", nil]] && |
︙ | ︙ |