This repository was archived by the owner on Dec 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +34
-21
lines changed
Expand file tree Collapse file tree 9 files changed +34
-21
lines changed Original file line number Diff line number Diff line change 77//
88
99import XCTest
10+ @testable import UnitTests
1011
1112#if os(OSX) || os(iOS) || os(watchOS) || os(tvOS)
1213 func XCTMain( _ testCases: [ XCTestCaseEntry ] ) { fatalError ( " Not Implemented. Linux only " ) }
Original file line number Diff line number Diff line change 1111#endif
1212
1313import XCTest
14- import SwiftFoundation
14+ @ testable import SwiftFoundation
1515
1616final class DataTests : XCTestCase {
1717
Original file line number Diff line number Diff line change 66// Copyright © 2015 PureSwift. All rights reserved.
77//
88
9+ #if os(Linux)
10+ import Glibc
11+ #endif
12+
913import XCTest
10- import SwiftFoundation
14+ @ testable import SwiftFoundation
1115
1216final class DateComponentsTest : XCTestCase {
1317
Original file line number Diff line number Diff line change 66// Copyright © 2015 PureSwift. All rights reserved.
77//
88
9+ #if os(Linux)
10+ import Glibc
11+ #endif
12+
913import XCTest
10- import SwiftFoundation
14+ @ testable import SwiftFoundation
1115
1216final class JSONTests : XCTestCase {
1317
Original file line number Diff line number Diff line change 1313#endif
1414
1515import XCTest
16- import SwiftFoundation
16+ @ testable import SwiftFoundation
1717
1818final class POSIXTimeTests : XCTestCase {
1919
Original file line number Diff line number Diff line change 66// Copyright © 2016 PureSwift. All rights reserved.
77//
88
9+ #if os(Linux)
10+ import Glibc
11+ #endif
12+
913import XCTest
10- import SwiftFoundation
14+ @ testable import SwiftFoundation
1115
1216final class RangeTests : XCTestCase {
1317
@@ -57,4 +61,4 @@ private extension Range where Bound: Integer {
5761
5862 return true
5963 }
60- }
64+ }
Original file line number Diff line number Diff line change 66// Copyright © 2015 PureSwift. All rights reserved.
77//
88
9+ #if os(Linux)
10+ import Glibc
11+ #endif
12+
913import XCTest
10- import SwiftFoundation
1114import Foundation
15+ @testable import SwiftFoundation
1216
1317final class RegularExpressionTests : XCTestCase {
1418
@@ -124,15 +128,3 @@ final class RegularExpressionTests: XCTestCase {
124128 }
125129 }
126130}
127-
128- #if os(Linux)
129-
130- extension NSRange {
131-
132- init ( _ range: Range < Int > ) {
133-
134- self = NSRange ( CountableRange ( range) )
135- }
136- }
137-
138- #endif
Original file line number Diff line number Diff line change 66// Copyright © 2015 PureSwift. All rights reserved.
77//
88
9+ #if os(Linux)
10+ import Glibc
11+ #endif
12+
913import XCTest
14+ @testable import SwiftFoundation
1015
1116final class StringTests : XCTestCase {
1217
Original file line number Diff line number Diff line change 66// Copyright © 2015 PureSwift. All rights reserved.
77//
88
9+ #if os(Linux)
10+ import Glibc
11+ #endif
12+
913import XCTest
10- import SwiftFoundation
11- import SwiftFoundation
14+ @testable import SwiftFoundation
1215
1316final class UUIDTests : XCTestCase {
1417
You can’t perform that action at this time.
0 commit comments