25 lines
656 B
Swift
25 lines
656 B
Swift
import XCTest
|
|
|
|
extension PathTests {
|
|
static let __allTests = [
|
|
("testBasename", testBasename),
|
|
("testCodable", testCodable),
|
|
("testConcatenation", testConcatenation),
|
|
("testEnumeration", testEnumeration),
|
|
("testExists", testExists),
|
|
("testIsDirectory", testIsDirectory),
|
|
("testMkpathIfExists", testMkpathIfExists),
|
|
("testMktemp", testMktemp),
|
|
("testRelativePathCodable", testRelativePathCodable),
|
|
("testRelativeTo", testRelativeTo),
|
|
]
|
|
}
|
|
|
|
#if os(Linux)
|
|
public func __allTests() -> [XCTestCaseEntry] {
|
|
return [
|
|
testCase(PathTests.__allTests),
|
|
]
|
|
}
|
|
#endif
|