Skip to content

Commit 18de7e6

Browse files
committed
Fixed flakey tests
1 parent 4d9cc8c commit 18de7e6

14 files changed

+274
-314
lines changed

Tests/VexilTests/BoxedFlagValueDecodingTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class BoxedFlagValueDecodingTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(BoxedFlagValueDecodingTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
@Suite("BoxedFlagValue decoding", .tags(.boxing, .codable))
3119
struct BoxedFlagValueDecodingTests {
3220

Tests/VexilTests/BoxedFlagValueEncodingTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class BoxedFlagValueEncodingTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(BoxedFlagValueEncodingTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
@Suite("BoxedFlagValue encoding", .tags(.boxing, .codable))
3119
struct BoxedFlagValueEncodingTests {
3220

Tests/VexilTests/EquatableTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@ import Combine
1818
import Testing
1919
@testable import Vexil
2020

21-
#if compiler(<6)
22-
23-
import XCTest
24-
25-
final class EquatableTestCase: XCTestCase {
26-
func testSwiftTesting() async {
27-
await XCTestScaffold.runTestsInSuite(EquatableTests.self, hostedBy: self)
28-
}
29-
}
30-
31-
#endif
32-
3321
@Suite("Equatable Tests", .tags(.pole))
3422
struct EquatableTests {
3523

Tests/VexilTests/FlagDetailTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@
1414
import Testing
1515
import Vexil
1616

17-
#if compiler(<6)
18-
19-
import XCTest
20-
21-
final class FlagDetailTestCase: XCTestCase {
22-
func testSwiftTesting() async {
23-
await XCTestScaffold.runTestsInSuite(FlagDetailTests.self, hostedBy: self)
24-
}
25-
}
26-
27-
#endif
28-
2917
@Suite("Flag Details")
3018
struct FlagDetailTests {
3119

Tests/VexilTests/FlagPoleTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class FlagPoleTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(FlagPoleTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
@Suite("Flag Pole")
3119
struct FlagPoleTests {
3220

Tests/VexilTests/FlagValueBoxingTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class FlagValueBoxingTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(FlagValueBoxingTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
@Suite("Flag Value Boxing", .tags(.boxing))
3119
struct FlagValueBoxingTests {
3220

Tests/VexilTests/FlagValueCompilationTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class FlagValueCompilationTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(FlagValueCompilationTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
/// A series of trivial equality tests
3119
///
3220
/// These are here not because we need to test the setting or

Tests/VexilTests/FlagValueDictionaryTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class FlagValueDictionaryTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(FlagValueDictionaryTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
@Suite("FlagValueDictionary", .tags(.dictionary))
3119
struct FlagValueDictionaryTests {
3220

Tests/VexilTests/FlagValueSourceTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class FlagValueSourceTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(FlagValueSourceTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
@Suite("FlagValueSource", .tags(.pole, .source))
3119
struct FlagValueSourceTests {
3220

Tests/VexilTests/FlagValueUnboxingTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ import Foundation
1515
import Testing
1616
@testable import Vexil
1717

18-
#if compiler(<6)
19-
20-
import XCTest
21-
22-
final class FlagValueUnboxingTestCase: XCTestCase {
23-
func testSwiftTesting() async {
24-
await XCTestScaffold.runTestsInSuite(FlagValueUnboxingTests.self, hostedBy: self)
25-
}
26-
}
27-
28-
#endif
29-
3018
@Suite("Flag Value Unboxing", .tags(.boxing))
3119
struct FlagValueUnboxingTests {
3220

0 commit comments

Comments
 (0)