Skip to content

Commit 02771e2

Browse files
committed
Reword the skip message for the abstract test classes
1 parent 8798c05 commit 02771e2

6 files changed

+7
-7
lines changed

Tests/BuildTests/BuildPlanTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension Build.BuildPlan {
4747

4848
class BuildPlanTestCase: BuildSystemProviderTestCase {
4949
override func setUpWithError() throws {
50-
try XCTSkipIf(type(of: self) == BuildPlanTestCase.self, "Pay no attention to the class behind the curtain.")
50+
try XCTSkipIf(type(of: self) == BuildPlanTestCase.self, "Skipping this test since it will be run in subclasses that will provide different build systems to test.")
5151
}
5252

5353
let inputsDir = AbsolutePath(#file).parentDirectory.appending(components: "Inputs")

Tests/CommandsTests/APIDiffTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import XCTest
2727

2828
class APIDiffTestCase: CommandsBuildProviderTestCase {
2929
override func setUpWithError() throws {
30-
try XCTSkipIf(type(of: self) == APIDiffTestCase.self, "Pay no attention to the class behind the curtain.")
30+
try XCTSkipIf(type(of: self) == APIDiffTestCase.self, "Skipping this test since it will be run in subclasses that will provide different build systems to test.")
3131
}
3232

3333
@discardableResult
@@ -481,4 +481,4 @@ class APIDiffSwiftBuildTests: APIDiffTestCase {
481481
override func skipIfApiDigesterUnsupportedOrUnset() throws {
482482
try super.skipIfApiDigesterUnsupportedOrUnset()
483483
}
484-
}
484+
}

Tests/CommandsTests/BuildCommandTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct BuildResult {
3434
class BuildCommandTestCases: CommandsBuildProviderTestCase {
3535

3636
override func setUpWithError() throws {
37-
try XCTSkipIf(type(of: self) == BuildCommandTestCases.self, "Pay no attention to the class behind the curtain.")
37+
try XCTSkipIf(type(of: self) == BuildCommandTestCases.self, "Skipping this test since it will be run in subclasses that will provide different build systems to test.")
3838
}
3939

4040
@discardableResult

Tests/CommandsTests/PackageCommandTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import class Basics.AsyncProcess
3333

3434
class PackageCommandTestCase: CommandsBuildProviderTestCase {
3535
override func setUpWithError() throws {
36-
try XCTSkipIf(type(of: self) == PackageCommandTestCase.self, "Pay no attention to the class behind the curtain.")
36+
try XCTSkipIf(type(of: self) == PackageCommandTestCase.self, "Skipping this test since it will be run in subclasses that will provide different build systems to test.")
3737
}
3838

3939
@discardableResult

Tests/CommandsTests/RunCommandTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import class Basics.AsyncProcess
2121

2222
class RunCommandTestCase: CommandsBuildProviderTestCase {
2323
override func setUpWithError() throws {
24-
try XCTSkipIf(type(of: self) == RunCommandTestCase.self, "Pay no attention to the class behind the curtain.")
24+
try XCTSkipIf(type(of: self) == RunCommandTestCase.self, "Skipping this test since it will be run in subclasses that will provide different build systems to test.")
2525
}
2626

2727
private func execute(

Tests/CommandsTests/TestCommandTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import XCTest
2020

2121
class TestCommandTestCase: CommandsBuildProviderTestCase {
2222
override func setUpWithError() throws {
23-
try XCTSkipIf(type(of: self) == TestCommandTestCase.self, "Pay no attention to the class behind the curtain.")
23+
try XCTSkipIf(type(of: self) == TestCommandTestCase.self, "Skipping this test since it will be run in subclasses that will provide different build systems to test.")
2424
}
2525

2626
private func execute(

0 commit comments

Comments
 (0)