Differences From Artifact [99edbdd865]:
- File
tests/OFPropertyListTests.m
— part of check-in
[dc0c6c34ab]
at
2019-02-17 22:44:23
on branch trunk
— tests: Only import ObjFW.h
This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. (user: js, size: 3610) [annotate] [blame] [check-ins using]
To Artifact [9d7de2772c]:
- File tests/OFPropertyListTests.m — part of check-in [b045cbb9c7] at 2019-03-25 00:21:30 on branch trunk — tests: Use dot syntax (user: js, size: 3604) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
67 68 69 70 71 72 73 | [OFNumber numberWithBool: true], [OFNumber numberWithBool: false], [OFNumber numberWithFloat: 12.25], [OFNumber numberWithInt: -10], nil]; TEST(@"-[propertyListValue:] #1", | | | | | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | [OFNumber numberWithBool: true], [OFNumber numberWithBool: false], [OFNumber numberWithFloat: 12.25], [OFNumber numberWithInt: -10], nil]; TEST(@"-[propertyListValue:] #1", [PLIST1.propertyListValue isEqual: @"Hello"]) TEST(@"-[propertyListValue:] #2", [PLIST2.propertyListValue isEqual: array]) TEST(@"-[propertyListValue:] #3", [PLIST3.propertyListValue isEqual: [OFDictionary dictionaryWithKeysAndObjects: @"array", array, @"foo", @"bar", nil]]) EXPECT_EXCEPTION(@"-[propertyListValue] detecting unsupported version", OFUnsupportedVersionException, |
︙ | ︙ |