Skip to content

Commit 33ea4dd

Browse files
authored
Declare Swift 6.1 availability for TestScoping-related APIs (#927)
The `TestScoping` protocol and its related APIs have been introduced in Swift 6.1, so this annotates their availability accordingly. Once this PR lands, I will cherry-pick it to the `release/6.1` branch as well. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 95b97a6 commit 33ea4dd

7 files changed

+105
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``Trait/scopeProvider(for:testCase:)-1z8kh``
2+
3+
<!--
4+
This source file is part of the Swift.org open source project
5+
6+
Copyright (c) 2025 Apple Inc. and the Swift project authors
7+
Licensed under Apache License v2.0 with Runtime Library Exception
8+
9+
See https://swift.org/LICENSE.txt for license information
10+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
11+
-->
12+
13+
@Metadata {
14+
@Available(Swift, introduced: 6.1)
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``Trait/TestScopeProvider``
2+
3+
<!--
4+
This source file is part of the Swift.org open source project
5+
6+
Copyright (c) 2025 Apple Inc. and the Swift project authors
7+
Licensed under Apache License v2.0 with Runtime Library Exception
8+
9+
See https://swift.org/LICENSE.txt for license information
10+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
11+
-->
12+
13+
@Metadata {
14+
@Available(Swift, introduced: 6.1)
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``TestScoping/provideScope(for:testCase:performing:)``
2+
3+
<!--
4+
This source file is part of the Swift.org open source project
5+
6+
Copyright (c) 2025 Apple Inc. and the Swift project authors
7+
Licensed under Apache License v2.0 with Runtime Library Exception
8+
9+
See https://swift.org/LICENSE.txt for license information
10+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
11+
-->
12+
13+
@Metadata {
14+
@Available(Swift, introduced: 6.1)
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``TestScoping``
2+
3+
<!--
4+
This source file is part of the Swift.org open source project
5+
6+
Copyright (c) 2025 Apple Inc. and the Swift project authors
7+
Licensed under Apache License v2.0 with Runtime Library Exception
8+
9+
See https://swift.org/LICENSE.txt for license information
10+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
11+
-->
12+
13+
@Metadata {
14+
@Available(Swift, introduced: 6.1)
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``Trait/scopeProvider(for:testCase:)-9fxg4``
2+
3+
<!--
4+
This source file is part of the Swift.org open source project
5+
6+
Copyright (c) 2025 Apple Inc. and the Swift project authors
7+
Licensed under Apache License v2.0 with Runtime Library Exception
8+
9+
See https://swift.org/LICENSE.txt for license information
10+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
11+
-->
12+
13+
@Metadata {
14+
@Available(Swift, introduced: 6.1)
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``Trait/scopeProvider(for:testCase:)-inmj``
2+
3+
<!--
4+
This source file is part of the Swift.org open source project
5+
6+
Copyright (c) 2025 Apple Inc. and the Swift project authors
7+
Licensed under Apache License v2.0 with Runtime Library Exception
8+
9+
See https://swift.org/LICENSE.txt for license information
10+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
11+
-->
12+
13+
@Metadata {
14+
@Available(Swift, introduced: 6.1)
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ``Trait/scopeProvider(for:testCase:)``
2+
3+
<!--
4+
This source file is part of the Swift.org open source project
5+
6+
Copyright (c) 2025 Apple Inc. and the Swift project authors
7+
Licensed under Apache License v2.0 with Runtime Library Exception
8+
9+
See https://swift.org/LICENSE.txt for license information
10+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
11+
-->
12+
13+
@Metadata {
14+
@Available(Swift, introduced: 6.1)
15+
}

0 commit comments

Comments
 (0)