File tree Expand file tree Collapse file tree 6 files changed +24
-8
lines changed Expand file tree Collapse file tree 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 @@ -18,7 +18,10 @@ import DriverSupport
18
18
19
19
@testable import PackageGraph
20
20
import PackageLoading
21
+
22
+ @_spi ( SwiftPMInternal)
21
23
@testable import PackageModel
24
+
22
25
import SPMBuildCore
23
26
import SPMTestSupport
24
27
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
13
13
import Basics
14
14
@testable import PackageGraph
15
15
import PackageLoading
16
+
17
+ @_spi ( SwiftPMInternal)
16
18
import PackageModel
19
+
17
20
@testable import SPMBuildCore
18
21
import SPMTestSupport
19
22
import Workspace
@@ -23,7 +26,7 @@ import class TSCBasic.InMemoryFileSystem
23
26
24
27
import struct TSCUtility. SerializedDiagnostics
25
28
26
- class PluginInvocationTests : XCTestCase {
29
+ final class PluginInvocationTests : XCTestCase {
27
30
28
31
func testBasics( ) throws {
29
32
// 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