v2.0.0 release; move all docref to header + optional NSXML

This commit is contained in:
relikd
2019-09-14 14:58:11 +02:00
parent ea7cc9c36f
commit 631ddc9064
25 changed files with 108 additions and 83 deletions

View File

@@ -42,9 +42,8 @@
return [[RSXMLData alloc] initWithData:d url:[NSURL fileURLWithPath:s]];
}
#ifdef TARGET_MAC
- (void)testOPMLExport {
#if OPML_EXPORT
RSOPMLItem *doc = [RSOPMLItem itemWithAttributes:@{OPMLTitleKey : @"Greetings from CCC",
@"dateCreated" : @"2018-12-27 23:12:04 +0100",
@"ownerName" : @"RSXML Parser"}];
@@ -76,9 +75,11 @@
XCTAssertEqualObjects([document.children.lastObject attributeForKey:OPMLXMLURLKey], @"http://www.feed2.com/feed.atom");
NSLog(@"%@", [document recursiveDescription]);
}
#else
NSLog(@"OPML export is disabled for this framework!");
XCTAssertNil(nil);
#endif
}
- (void)testNotOPML {