mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 04:07:54 +00:00
Update Feedbin tests to match latest functionality.
This commit is contained in:
1 parent
6b2ecdaca0
commit
9846428071
4 files changed
-9
No files matched your search
@@ -15,7 +15,6 @@
|
||||
513323082281070D00C30F19 /* AccountFeedbinSyncTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 513323072281070C00C30F19 /* AccountFeedbinSyncTest.swift */; };
|
||||
5133230A2281082F00C30F19 /* subscriptions_initial.json in Resources */ = {isa = PBXBuildFile; fileRef = 513323092281082F00C30F19 /* subscriptions_initial.json */; };
|
||||
5133230C2281088A00C30F19 /* subscriptions_add.json in Resources */ = {isa = PBXBuildFile; fileRef = 5133230B2281088A00C30F19 /* subscriptions_add.json */; };
|
||||
5133230E2281089500C30F19 /* icons.json in Resources */ = {isa = PBXBuildFile; fileRef = 5133230D2281089500C30F19 /* icons.json */; };
|
||||
5144EA49227B497600D19003 /* FeedbinAPICaller.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5144EA48227B497600D19003 /* FeedbinAPICaller.swift */; };
|
||||
5144EA4E227B829A00D19003 /* FeedbinAccountDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5144EA4D227B829A00D19003 /* FeedbinAccountDelegate.swift */; };
|
||||
5154367B228EEB28005E1CDF /* FeedbinImportResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5154367A228EEB28005E1CDF /* FeedbinImportResult.swift */; };
|
||||
@@ -212,7 +211,6 @@
|
||||
513323072281070C00C30F19 /* AccountFeedbinSyncTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountFeedbinSyncTest.swift; sourceTree = "<group>"; };
|
||||
513323092281082F00C30F19 /* subscriptions_initial.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = subscriptions_initial.json; sourceTree = "<group>"; };
|
||||
5133230B2281088A00C30F19 /* subscriptions_add.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = subscriptions_add.json; sourceTree = "<group>"; };
|
||||
5133230D2281089500C30F19 /* icons.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = icons.json; sourceTree = "<group>"; };
|
||||
5144EA48227B497600D19003 /* FeedbinAPICaller.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedbinAPICaller.swift; sourceTree = "<group>"; };
|
||||
5144EA4D227B829A00D19003 /* FeedbinAccountDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedbinAccountDelegate.swift; sourceTree = "<group>"; };
|
||||
5154367A228EEB28005E1CDF /* FeedbinImportResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedbinImportResult.swift; sourceTree = "<group>"; };
|
||||
@@ -427,7 +425,6 @@
|
||||
9EC804F1236C21320057CFCB /* feedly_unreads_initial.json */,
|
||||
9EC804EE236C20DD0057CFCB /* feedly_macintosh_initial.json */,
|
||||
9EC804EC236C206A0057CFCB /* feedly_collections_initial.json */,
|
||||
5133230D2281089500C30F19 /* icons.json */,
|
||||
5133230B2281088A00C30F19 /* subscriptions_add.json */,
|
||||
513323092281082F00C30F19 /* subscriptions_initial.json */,
|
||||
5165D71422821C2400D9D53D /* taggings_add.json */,
|
||||
@@ -854,7 +851,6 @@
|
||||
9EC804ED236C206A0057CFCB /* feedly_collections_initial.json in Resources */,
|
||||
9E5ABE9A236BE6BD00B5DE9F /* feedly-1-initial in Resources */,
|
||||
5165D71822821C2400D9D53D /* taggings_initial.json in Resources */,
|
||||
5133230E2281089500C30F19 /* icons.json in Resources */,
|
||||
9EC804F3236C21320057CFCB /* feedly_unreads_initial.json in Resources */,
|
||||
51D5875B227F630B00900287 /* tags_add.json in Resources */,
|
||||
9EC804E9236C1CBF0057CFCB /* feedly-4-addfeedsandfolders in Resources */,
|
||||
|
||||
@@ -23,7 +23,6 @@ class AccountFeedbinFolderContentsSyncTest: XCTestCase {
|
||||
testTransport.testFiles["https://api.feedbin.com/v2/tags.json"] = "tags_add.json"
|
||||
testTransport.testFiles["https://api.feedbin.com/v2/subscriptions.json"] = "subscriptions_initial.json"
|
||||
testTransport.testFiles["https://api.feedbin.com/v2/taggings.json"] = "taggings_initial.json"
|
||||
testTransport.testFiles["https://api.feedbin.com/v2/icons.json"] = "icons.json"
|
||||
let account = TestAccountManager.shared.createAccount(type: .feedbin, transport: testTransport)
|
||||
|
||||
// Test initial folders
|
||||
|
||||
@@ -22,7 +22,6 @@ class AccountFeedbinSyncTest: XCTestCase {
|
||||
let testTransport = TestTransport()
|
||||
testTransport.testFiles["tags.json"] = "tags_add.json"
|
||||
testTransport.testFiles["subscriptions.json"] = "subscriptions_initial.json"
|
||||
testTransport.testFiles["icons.json"] = "icons.json"
|
||||
let account = TestAccountManager.shared.createAccount(type: .feedbin, transport: testTransport)
|
||||
|
||||
// Test initial folders
|
||||
@@ -43,7 +42,6 @@ class AccountFeedbinSyncTest: XCTestCase {
|
||||
XCTAssertEqual("Daring Fireball", daringFireball!.name)
|
||||
XCTAssertEqual("https://daringfireball.net/feeds/json", daringFireball!.url)
|
||||
XCTAssertEqual("https://daringfireball.net/", daringFireball!.homePageURL)
|
||||
XCTAssertEqual("https://favicons.feedbinusercontent.com/6ac/6acc098f35ed2bcc0915ca89d50a97e5793eda45.png", daringFireball!.faviconURL)
|
||||
|
||||
// Test Adding a Feed
|
||||
testTransport.testFiles["subscriptions.json"] = "subscriptions_add.json"
|
||||
@@ -65,7 +63,6 @@ class AccountFeedbinSyncTest: XCTestCase {
|
||||
XCTAssertEqual("Beautiful Pixels", bPixels?.name)
|
||||
XCTAssertEqual("https://feedpress.me/beautifulpixels", bPixels?.url)
|
||||
XCTAssertEqual("https://beautifulpixels.com/", bPixels?.homePageURL)
|
||||
XCTAssertEqual("https://favicons.feedbinusercontent.com/ea0/ea010c658d6e356e49ab239b793dc415af707b05.png", bPixels?.faviconURL)
|
||||
|
||||
TestAccountManager.shared.deleteAccount(account)
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{"host":"rx-marin.com","url":"https://favicons.feedbinusercontent.com/8ed/8eda7e52714937c29049be409d46301f6a35f141.png"},{"host":"lapcatsoftware.com","url":"https://favicons.feedbinusercontent.com/438/4385bdd5464c45afdafa9028d1ce4a4aef78db97.png"},{"host":"alwaysrightinstitute.github.io","url":"https://favicons.feedbinusercontent.com/03e/03eb5d06eedda8cfa6ab48dee4a55797e3f69fcd.png"},{"host":"twobithistory.org","url":"https://favicons.feedbinusercontent.com/0da/0dab2f2de1956859405025f6545dcf34625e26a1.png"},{"host":"blog.warpfactor.io","url":"https://favicons.feedbinusercontent.com/762/76261be5d7dddcff4b08c4133e0d813627794fba.png"},{"host":"www.vadimbulavin.com","url":"https://favicons.feedbinusercontent.com/0c4/0c47ec0e8b00ba23dd252cb98797373c6cf73d51.png"},{"host":"alisoftware.github.io","url":"https://favicons.feedbinusercontent.com/474/474001eb49e4f5653853502f452668aed3ef1084.png"},{"host":"swiftunboxed.com","url":"https://favicons.feedbinusercontent.com/035/035b23e03ed2aa52797d19a79c213c01131900bc.png"},{"host":"beckyhansmeyer.com","url":"https://favicons.feedbinusercontent.com/a4f/a4ff3fc87b1825757f31b53c3cb779c117c90565.png"},{"host":"holko.pl","url":"https://favicons.feedbinusercontent.com/93c/93c2d0ef4f1dc75a38bb6b5060fb0594d32ad619.png"},{"host":"marco.org","url":"https://favicons.feedbinusercontent.com/245/24504efcc6df52a37692e90dc43038d21e209a1c.png"},{"host":"williamboles.me","url":"https://favicons.feedbinusercontent.com/12d/12ded7c0c296e8907ead2d77e13de315108e5ced.png"},{"host":"rhonabwy.com","url":"https://favicons.feedbinusercontent.com/058/058f692cebfaca8f8dcae42f4a9f7adb8c63be5b.png"},{"host":"jvns.ca","url":"https://favicons.feedbinusercontent.com/af2/af282a13ddc9f0775f260823d76a9e6e94d68463.png"},{"host":"www.swwritings.com","url":"https://favicons.feedbinusercontent.com/552/5527f0f896785167cba00a0e4694f9b6d8760584.png"},{"host":"iosdev.tools","url":"https://favicons.feedbinusercontent.com/0a3/0a3c875c393015be787684c35daf744b621f834b.png"},{"host":"blog.gaiagps.com","url":"https://favicons.feedbinusercontent.com/ee6/ee6f6412fb48b870102103785ce61e04635f3479.png"},{"host":"makeapppie.com","url":"https://favicons.feedbinusercontent.com/42f/42fdacb56d47fbbec45087e2bf8b92e39a7f92c7.png"},{"host":"changelog.com","url":"https://favicons.feedbinusercontent.com/08d/08dbc956f8608bd78c2ef710c3ee86c6c7da201b.png"},{"host":"redditblog.com","url":"https://favicons.feedbinusercontent.com/905/90580f5e28318c1fd27ba2c63a9376ce53d530c6.png"},{"host":"freshswift.net","url":"https://favicons.feedbinusercontent.com/e09/e090794e599163e213a4ec181d6bb35e4711d50b.png"},{"host":"www.russbishop.net","url":"https://favicons.feedbinusercontent.com/3ec/3ec206ccd52fd7a66a714e7201146538a572b3b2.png"},{"host":"cate.blog","url":"https://favicons.feedbinusercontent.com/710/7108e77ee6fb04316bba8fc3c3f9e64a980f8c04.png"},{"host":"blog.jessfraz.com","url":"https://favicons.feedbinusercontent.com/eb8/eb88ec6346d4f52b421c59430d9b6e602607e377.png"},{"host":"githubengineering.com","url":"https://favicons.feedbinusercontent.com/c16/c16669b5a982dda02b07574a1797385d39d8af5a.png"},{"host":"blog.krzyzanowskim.com","url":"https://favicons.feedbinusercontent.com/781/781fc0cd942b3dc8417e0ff2379f91066fdd042c.png"},{"host":"www.figure.ink","url":"https://favicons.feedbinusercontent.com/430/430ea85bd9e1bb1f340327d3e88046f06bc0caa5.png"},{"host":"appventure.me","url":"https://favicons.feedbinusercontent.com/cae/caeffdbbeb0b2015c7232f4d2db5b631237fdcd5.png"},{"host":"blog.benjamin-encz.de","url":"https://favicons.feedbinusercontent.com/768/768c021e615106d368dcfeb16daf01beeff161df.png"},{"host":"pspdfkit.com","url":"https://favicons.feedbinusercontent.com/c38/c383c2f9605a045587160b1e71bfac9d4c0cd7b9.png"},{"host":"www.sixcolors.com","url":"https://favicons.feedbinusercontent.com/9f9/9f95dfac94e40455ac2373db0b58c71d88805c46.png"},{"host":"indieweb.org","url":"https://favicons.feedbinusercontent.com/6b5/6b5fe45f67675549b737cb1a385dc416a3ccba54.png"},{"host":"recoursive.com","url":"https://favicons.feedbinusercontent.com/ce4/ce47e83f7e56f375e1c71c49b3cebd62815da7d4.png"},{"host":"finestructure.co","url":"https://favicons.feedbinusercontent.com/053/0536357c9f3bcdbc8e8aa1bbc510943f53b86f18.png"},{"host":"www.appleworld.today","url":"https://favicons.feedbinusercontent.com/cb3/cb3bdf79fc677895f8c02fa4d57f677c0f16c860.png"},{"host":"a-coding.com","url":"https://favicons.feedbinusercontent.com/41b/41b094eda4ab6dfed852888e2d1ee700c7651287.png"},{"host":"fluffy.es","url":"https://favicons.feedbinusercontent.com/41b/41b094eda4ab6dfed852888e2d1ee700c7651287.png"},{"host":"redqueencoder.com","url":"https://favicons.feedbinusercontent.com/8e1/8e1fc65092d7e84a7bb4776c9974ce50dd53de8d.png"},{"host":"halmueller.wordpress.com","url":"https://favicons.feedbinusercontent.com/058/058f692cebfaca8f8dcae42f4a9f7adb8c63be5b.png"},{"host":"qualitycoding.org","url":"https://favicons.feedbinusercontent.com/59f/59f1aaf4e569ea13d1d1f49b77da178f8ebb8d5d.png"},{"host":"wwLine truncated
|
||||
Reference in new issue
Block a user