Skip to content

Commit a6ed6d2

Browse files
committed
Fixes SPM tests.
1 parent fa91e3a commit a6ed6d2

File tree

4 files changed

+4
-29
lines changed

4 files changed

+4
-29
lines changed

Sources/AllTestz/QueueTests.swift

Lines changed: 0 additions & 1 deletion
This file was deleted.

Sources/AllTestz/SubjectConcurrencyTest.swift

Lines changed: 0 additions & 1 deletion
This file was deleted.

Sources/AllTestz/main.swift

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -473,18 +473,6 @@ final class ObservableEnumeratedTest_ : ObservableEnumeratedTest, RxTestCase {
473473
] }
474474
}
475475

476-
final class QueueTest_ : QueueTest, RxTestCase {
477-
#if os(macOS)
478-
required override init() {
479-
super.init()
480-
}
481-
#endif
482-
483-
static var allTests: [(String, (QueueTest_) -> () -> ())] { return [
484-
("testComplexity", QueueTest.testComplexity),
485-
] }
486-
}
487-
488476
final class SharingSchedulerTest_ : SharingSchedulerTest, RxTestCase {
489477
#if os(macOS)
490478
required override init() {
@@ -1155,19 +1143,6 @@ final class ObservableGenerateTest_ : ObservableGenerateTest, RxTestCase {
11551143
] }
11561144
}
11571145

1158-
final class SubjectConcurrencyTest_ : SubjectConcurrencyTest, RxTestCase {
1159-
#if os(macOS)
1160-
required override init() {
1161-
super.init()
1162-
}
1163-
#endif
1164-
1165-
static var allTests: [(String, (SubjectConcurrencyTest_) -> () -> ())] { return [
1166-
("testSubjectIsReentrantForNextAndComplete", SubjectConcurrencyTest.testSubjectIsReentrantForNextAndComplete),
1167-
("testSubjectIsReentrantForNextAndError", SubjectConcurrencyTest.testSubjectIsReentrantForNextAndError),
1168-
] }
1169-
}
1170-
11711146
final class ObservableDematerializeTest_ : ObservableDematerializeTest, RxTestCase {
11721147
#if os(macOS)
11731148
required override init() {
@@ -1972,7 +1947,6 @@ func XCTMain(_ tests: [() -> ()]) {
19721947
testCase(DisposableTest_.allTests),
19731948
testCase(RecursiveLockTests_.allTests),
19741949
testCase(ObservableEnumeratedTest_.allTests),
1975-
testCase(QueueTest_.allTests),
19761950
testCase(SharingSchedulerTest_.allTests),
19771951
testCase(ObservableSequenceTest_.allTests),
19781952
testCase(DriverTest_.allTests),
@@ -2001,7 +1975,6 @@ func XCTMain(_ tests: [() -> ()]) {
20011975
testCase(ObservableSingleTest_.allTests),
20021976
testCase(ObservableTakeTest_.allTests),
20031977
testCase(ObservableGenerateTest_.allTests),
2004-
testCase(SubjectConcurrencyTest_.allTests),
20051978
testCase(ObservableDematerializeTest_.allTests),
20061979
testCase(VariableTest_.allTests),
20071980
testCase(ObservableTimerTest_.allTests),

scripts/package-spm.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,10 @@ try packageRelativePath([
319319
"Tests/VirtualSchedulerTest.swift",
320320
"Tests/HistoricalSchedulerTest.swift",
321321
// @testable import doesn't work well in Linux :/
322+
"QueueTests.swift",
323+
// @testable import doesn't work well in Linux :/
324+
"SubjectConcurrencyTest.swift",
325+
// @testable import doesn't work well in Linux :/
322326
"BagTest.swift"
323327
])
324328

0 commit comments

Comments
 (0)