Differences From Artifact [52259e231b]:
- File tests/OFStringTests.m — part of check-in [2ca121fd19] at 2014-07-06 11:04:40 on branch trunk — OFString+URLEncoding.m: Better RFC 1738 compliance (user: js, size: 27328) [annotate] [blame] [check-ins using]
To Artifact [08a115e708]:
- File
tests/OFStringTests.m
— part of check-in
[6e5a920567]
at
2014-07-07 22:05:11
on branch trunk
— Add OFUnknownXMLEntityException
Additionally, OFXMLParser now uses OFMalformedXMLException instead of
OFInvalidFormatException on invalid entities. (user: js, size: 27364) [annotate] [blame] [check-ins using]
︙ | |||
26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + | #import "OFURL.h" #import "OFAutoreleasePool.h" #import "OFInvalidArgumentException.h" #import "OFInvalidEncodingException.h" #import "OFInvalidFormatException.h" #import "OFOutOfRangeException.h" #import "OFUnknownXMLEntityException.h" #import "macros.h" #import "TestsAppDelegate.h" static OFString *module = @"OFString"; static OFString* whitespace[] = { |
︙ | |||
661 662 663 664 665 666 667 | 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 | - - + + - + - + - + - + - + | TEST(@"-[stringByXMLUnescaping]", [[s[0] stringByXMLUnescaping] isEqual: @"<hello> &world'\"!&"] && [[@"y" stringByXMLUnescaping] isEqual: @"y"] && [[@"ä" stringByXMLUnescaping] isEqual: @"ä"] && [[@"€" stringByXMLUnescaping] isEqual: @"€"] && [[@"𝄞" stringByXMLUnescaping] isEqual: @"𝄞"]) |
︙ |