mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: While working on other tests I realised that HTTP2StreamID is a type that can meaningfully be strided, but it does not conform to Strideable. We may as well add that conformance. Modifications: - Added Strideable conformance to HTTP2StreamID. Result: Users can stride over HTTP2StreamIDs.
49 lines
1.7 KiB
Swift
49 lines
1.7 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)
|
|
@testable import NIOHPACKTests
|
|
@testable import NIOHTTP2Tests
|
|
|
|
XCTMain([
|
|
testCase(CompoundOutboundBufferTest.allTests),
|
|
testCase(ConcurrentStreamBufferTests.allTests),
|
|
testCase(ConfiguringPipelineTests.allTests),
|
|
testCase(ConnectionStateMachineTests.allTests),
|
|
testCase(HPACKCodingTests.allTests),
|
|
testCase(HPACKIntegrationTests.allTests),
|
|
testCase(HPACKRegressionTests.allTests),
|
|
testCase(HTTP2FrameParserTests.allTests),
|
|
testCase(HTTP2StreamMultiplexerTests.allTests),
|
|
testCase(HTTP2ToHTTP1CodecTests.allTests),
|
|
testCase(HeaderTableTests.allTests),
|
|
testCase(HuffmanCodingTests.allTests),
|
|
testCase(IntegerCodingTests.allTests),
|
|
testCase(OutboundFlowControlBufferTests.allTests),
|
|
testCase(ReentrancyTests.allTests),
|
|
testCase(SimpleClientServerTests.allTests),
|
|
testCase(StreamIDTests.allTests),
|
|
])
|
|
#endif
|