0001 // 0002 // FileTests.swift 0003 // SourceKitten 0004 // 0005 // Created by JP Simard on 7/15/15. 0006 // Copyright © 2015 SourceKitten. All rights reserved. 0007 // 0008 0009 import SourceKittenFramework 0010 import XCTest 0011 0012 class FileTests: XCTestCase { 0013 0014 // protocol XCTestCaseProvider 0015 lazy var allTests: [(String, () throws -> Void)] = [ 0016 ("testUnreadablePath", self.testUnreadablePath) 0017 ] 0018 0019 func testUnreadablePath
main_.swift:14 FileTests(),() { 0020 XCTAssert(File(path: "/dev/null") == nil) 0021 } 0022 } 0023
FileTests.swift:16 ("testUnreadablePath", self.testUnreadablePath)