Files
swift-nio-http2/Tests/LinuxMain.swift
T
George Barnett 00576e6f1e Raise minimum supported Swift version from 5.4 to 5.5 (#355)
Motivation:

SwiftNIO periodically drops support for older Swift versions. Now that 5.7 has been released, 5.4 will be dropped.

Modifications:

- Remove 5.4 specific Package.swift and docker-compose
- Update the 5.7 docker-compose to use the released 5.7 and move from focal (2004) to jammy (2204)
- Fix tools version in Package@swift-5.5.swift
- Update docs

Results:

Minimum Swift version is 5.5
2022-09-29 09:21:42 +01:00

67 lines
2.8 KiB
Swift

//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
//
// Copyright (c) 2017-2018 Apple Inc. and the SwiftNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
//
// LinuxMain.swift
//
import XCTest
///
/// NOTE: This file was generated by generate_linux_tests.rb
///
/// Do NOT edit this file directly as it will be regenerated automatically when needed.
///
#if os(Linux) || os(FreeBSD) || os(Android)
@testable import NIOHPACKTests
@testable import NIOHTTP2Tests
@main
@available(*, deprecated, message: "not actually deprecated. Just deprecated to allow deprecated tests (which test deprecated functionality) without warnings")
class LinuxMainRunner {
@available(*, deprecated, message: "not actually deprecated. Just deprecated to allow deprecated tests (which test deprecated functionality) without warnings")
static func main() {
XCTMain([
testCase(CircularBufferExtensionsTests.allTests),
testCase(CompoundOutboundBufferTest.allTests),
testCase(ConcurrentStreamBufferTests.allTests),
testCase(ConfiguringPipelineTests.allTests),
testCase(ConfiguringPipelineWithFramePayloadStreamsTests.allTests),
testCase(ConnectionStateMachineTests.allTests),
testCase(ControlFrameBufferTests.allTests),
testCase(HPACKCodingTests.allTests),
testCase(HPACKHeadersTests.allTests),
testCase(HPACKIntegrationTests.allTests),
testCase(HPACKRegressionTests.allTests),
testCase(HTTP2ErrorTests.allTests),
testCase(HTTP2FrameParserTests.allTests),
testCase(HTTP2FramePayloadStreamMultiplexerTests.allTests),
testCase(HTTP2FramePayloadToHTTP1CodecTests.allTests),
testCase(HTTP2StreamMultiplexerTests.allTests),
testCase(HTTP2ToHTTP1CodecTests.allTests),
testCase(HeaderTableTests.allTests),
testCase(HuffmanCodingTests.allTests),
testCase(InboundWindowManagerTests.allTests),
testCase(IntegerCodingTests.allTests),
testCase(OutboundFlowControlBufferTests.allTests),
testCase(ReentrancyTests.allTests),
testCase(SimpleClientServerFramePayloadStreamTests.allTests),
testCase(SimpleClientServerTests.allTests),
testCase(StreamChannelFlowControllerTests.allTests),
testCase(StreamIDTests.allTests),
testCase(StreamMapTests.allTests),
])
}
}
#endif