File tree 6 files changed +24
-8
lines changed 6 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift open source project
4
4
//
5
- // Copyright (c) 2015-2022 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2015-2024 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See http://swift.org/LICENSE.txt for license information
@@ -19,6 +19,8 @@ import CoreCommands
19
19
import Dispatch
20
20
import Foundation
21
21
import PackageGraph
22
+
23
+ @_spi ( SwiftPMInternal)
22
24
import PackageModel
23
25
24
26
import SPMBuildCore
Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift open source project
4
4
//
5
- // Copyright (c) 2014-2021 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2014-2024 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See http://swift.org/LICENSE.txt for license information
@@ -156,7 +156,8 @@ public struct SwiftSDK: Equatable {
156
156
}
157
157
158
158
/// Whether or not the receiver supports testing using XCTest.
159
- package enum XCTestSupport : Sendable , Equatable {
159
+ @_spi ( SwiftPMInternal)
160
+ public enum XCTestSupport : Sendable , Equatable {
160
161
/// XCTest is supported.
161
162
case supported
162
163
@@ -465,7 +466,8 @@ public struct SwiftSDK: Equatable {
465
466
}
466
467
467
468
/// Creates a Swift SDK with the specified properties.
468
- package init (
469
+ @_spi ( SwiftPMInternal)
470
+ public init (
469
471
hostTriple: Triple ? = nil ,
470
472
targetTriple: Triple ? = nil ,
471
473
toolset: Toolset ,
Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ import DriverSupport
20
20
@testable import PackageGraph
21
21
22
22
import PackageLoading
23
+
24
+ @_spi ( SwiftPMInternal)
23
25
@testable import PackageModel
26
+
24
27
import SPMBuildCore
25
28
import SPMTestSupport
26
29
import SwiftDriver
Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift open source project
4
4
//
5
- // Copyright (c) 2014-2021 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2014-2024 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See http://swift.org/LICENSE.txt for license information
11
11
//===----------------------------------------------------------------------===//
12
12
13
13
import Basics
14
+
15
+ @_spi ( SwiftPMInternal)
14
16
@testable import PackageModel
17
+
15
18
import func TSCBasic. withTemporaryFile
16
19
import XCTest
17
20
Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift open source project
4
4
//
5
- // Copyright (c) 2014-2022 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2014-2024 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See http://swift.org/LICENSE.txt for license information
11
11
//===----------------------------------------------------------------------===//
12
12
13
13
@testable import Basics
14
+
15
+ @_spi ( SwiftPMInternal)
14
16
@testable import PackageModel
17
+
15
18
@testable import SPMBuildCore
16
19
import XCTest
17
20
Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift open source project
4
4
//
5
- // Copyright (c) 2021-2022 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See http://swift.org/LICENSE.txt for license information
@@ -16,7 +16,10 @@ import Basics
16
16
@testable import PackageGraph
17
17
18
18
import PackageLoading
19
+
20
+ @_spi ( SwiftPMInternal)
19
21
import PackageModel
22
+
20
23
@testable import SPMBuildCore
21
24
import SPMTestSupport
22
25
import Workspace
@@ -26,7 +29,7 @@ import class TSCBasic.InMemoryFileSystem
26
29
27
30
import struct TSCUtility. SerializedDiagnostics
28
31
29
- class PluginInvocationTests : XCTestCase {
32
+ final class PluginInvocationTests : XCTestCase {
30
33
31
34
func testBasics( ) throws {
32
35
// Construct a canned file system and package graph with a single package and a library that uses a build tool plugin that invokes a tool.
You can’t perform that action at this time.
0 commit comments