mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-12 17:54:05 +01:00
29 lines
678 B
Swift
29 lines
678 B
Swift
//
|
|
// RSSInJSONParserTests.swift
|
|
// RSParser
|
|
//
|
|
// Created by Brent Simmons on 6/26/17.
|
|
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
|
|
//
|
|
|
|
import XCTest
|
|
import FeedParser
|
|
|
|
//class RSSInJSONParserTests: XCTestCase {
|
|
//
|
|
// func testScriptingNewsPerformance() {
|
|
//
|
|
// // 0.003 sec on my 2012 iMac.
|
|
// let d = parserData("ScriptingNews", "json", "http://scripting.com/")
|
|
// self.measure {
|
|
// let _ = try! FeedParser.parseSync(d)
|
|
// }
|
|
// }
|
|
//
|
|
// func testFeedLanguage() {
|
|
// let d = parserData("ScriptingNews", "json", "http://scripting.com/")
|
|
// let parsedFeed = try! FeedParser.parseSync(d)!
|
|
// XCTAssertEqual(parsedFeed.language, "en-us")
|
|
// }
|
|
//}
|