diff --git a/Package.swift b/Package.swift index 1aef921d..a94ba22b 100644 --- a/Package.swift +++ b/Package.swift @@ -10,8 +10,6 @@ let package = Package( // plugin to package the lambda, creating an archive that can be uploaded to AWS // requires Linux or at least macOS v15 .plugin(name: "AWSLambdaPackager", targets: ["AWSLambdaPackager"]), - // for testing only - .library(name: "AWSLambdaTesting", targets: ["AWSLambdaTesting"]), ], traits: [ "FoundationJSONSupport", @@ -71,21 +69,6 @@ let package = Package( .product(name: "NIOFoundationCompat", package: "swift-nio"), ] ), - // testing helper - .target( - name: "AWSLambdaTesting", - dependencies: [ - .byName(name: "AWSLambdaRuntime"), - .product(name: "NIOCore", package: "swift-nio"), - .product(name: "NIOPosix", package: "swift-nio"), - ] - ), - .testTarget( - name: "AWSLambdaTestingTests", - dependencies: [ - .byName(name: "AWSLambdaTesting") - ] - ), // for perf testing .executableTarget( name: "MockServer", diff --git a/Package@swift-6.0.swift b/Package@swift-6.0.swift index 29929f40..fb4e82d0 100644 --- a/Package@swift-6.0.swift +++ b/Package@swift-6.0.swift @@ -10,8 +10,6 @@ let package = Package( // plugin to package the lambda, creating an archive that can be uploaded to AWS // requires Linux or at least macOS v15 .plugin(name: "AWSLambdaPackager", targets: ["AWSLambdaPackager"]), - // for testing only - .library(name: "AWSLambdaTesting", targets: ["AWSLambdaTesting"]), ], dependencies: [ .package(url: "https://github.com/apple/swift-nio.git", from: "2.81.0"), @@ -60,21 +58,6 @@ let package = Package( .product(name: "NIOFoundationCompat", package: "swift-nio"), ] ), - // testing helper - .target( - name: "AWSLambdaTesting", - dependencies: [ - .byName(name: "AWSLambdaRuntime"), - .product(name: "NIOCore", package: "swift-nio"), - .product(name: "NIOPosix", package: "swift-nio"), - ] - ), - .testTarget( - name: "AWSLambdaTestingTests", - dependencies: [ - .byName(name: "AWSLambdaTesting") - ] - ), // for perf testing .executableTarget( name: "MockServer", diff --git a/Sources/AWSLambdaTesting/LambdaTestRuntime.swift b/Sources/AWSLambdaTesting/LambdaTestRuntime.swift deleted file mode 100644 index 6fba9656..00000000 --- a/Sources/AWSLambdaTesting/LambdaTestRuntime.swift +++ /dev/null @@ -1,17 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// This source file is part of the SwiftAWSLambdaRuntime open source project -// -// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors -// Licensed under Apache License v2.0 -// -// See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors -// -// SPDX-License-Identifier: Apache-2.0 -// -//===----------------------------------------------------------------------===// - -import Logging -import NIOCore -import NIOPosix diff --git a/Tests/AWSLambdaTestingTests/LambdaTestRuntimeTests.swift b/Tests/AWSLambdaTestingTests/LambdaTestRuntimeTests.swift deleted file mode 100644 index 47d29dfe..00000000 --- a/Tests/AWSLambdaTestingTests/LambdaTestRuntimeTests.swift +++ /dev/null @@ -1,18 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// This source file is part of the SwiftAWSLambdaRuntime open source project -// -// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors -// Licensed under Apache License v2.0 -// -// See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors -// -// SPDX-License-Identifier: Apache-2.0 -// -//===----------------------------------------------------------------------===// - -import AWSLambdaRuntime -import AWSLambdaTesting -import NIOCore -import Testing