50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
forKey: a];
[d setObject: @"B\"la"
forKey: @"Blub"];
[l appendObject: @"Hello"];
[l appendObject: @"Wo\rld!\nHow are you?"];
[l appendObject: [OFURL URLWithString: @"https://webkeks.org/"]];
[l appendObject: [OFXMLElement elementWithXMLString: @"<x><y/></x>"]];
[d setObject: @"list"
forKey: l];
TEST(@"-[stringBySerializing]",
(s = [d stringBySerializing]) && [s isEqual:
[OFString stringWithContentsOfFile: @"serialization.xml"]])
|
>
|
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
forKey: a];
[d setObject: @"B\"la"
forKey: @"Blub"];
[l appendObject: @"Hello"];
[l appendObject: @"Wo\rld!\nHow are you?"];
[l appendObject: [OFURL URLWithString: @"https://webkeks.org/"]];
[l appendObject:
[OFXMLElement elementWithXMLString: @"<x><y/><![CDATA[<]]></x>"]];
[d setObject: @"list"
forKey: l];
TEST(@"-[stringBySerializing]",
(s = [d stringBySerializing]) && [s isEqual:
[OFString stringWithContentsOfFile: @"serialization.xml"]])
|