49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
-
+
|
OFArray *array;
#ifndef OF_NINTENDO_DS
OFURL *writeURL;
#endif
module = @"OFINIFile";
URL = [OFURL fileURLWithPath: @"testfile.ini"];
URL = [OFURL URLWithString: @"objfw-embedded:///testfile.ini"];
TEST(@"+[fileWithURL:encoding:]",
(file = [OFINIFile fileWithURL: URL
encoding: OFStringEncodingCodepage437]))
tests = [file categoryForName: @"tests"];
foobar = [file categoryForName: @"foobar"];
types = [file categoryForName: @"types"];
|