mirror of
https://github.com/swift-server/async-http-client.git
synced 2026-06-02 07:37:34 +00:00
Motivation: not accumulate too many bytes Modifications: Implementing collect function to use NIOCore version to prevent overflowing Co-authored-by: Cory Benfield <lukasa@apple.com>
77 lines
3.2 KiB
Swift
77 lines
3.2 KiB
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the AsyncHTTPClient open source project
|
|
//
|
|
// Copyright (c) 2018-2019 Apple Inc. and the AsyncHTTPClient project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of AsyncHTTPClient 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 AsyncHTTPClientTests
|
|
|
|
@main
|
|
struct LinuxMain {
|
|
static func main() {
|
|
XCTMain([
|
|
testCase(AsyncAwaitEndToEndTests.allTests),
|
|
testCase(ConnectionPoolSizeConfigValueIsRespectedTests.allTests),
|
|
testCase(HTTP1ClientChannelHandlerTests.allTests),
|
|
testCase(HTTP1ConnectionStateMachineTests.allTests),
|
|
testCase(HTTP1ConnectionTests.allTests),
|
|
testCase(HTTP1ProxyConnectHandlerTests.allTests),
|
|
testCase(HTTP2ClientRequestHandlerTests.allTests),
|
|
testCase(HTTP2ClientTests.allTests),
|
|
testCase(HTTP2ConnectionTests.allTests),
|
|
testCase(HTTP2IdleHandlerTests.allTests),
|
|
testCase(HTTPClientCookieTests.allTests),
|
|
testCase(HTTPClientInternalTests.allTests),
|
|
testCase(HTTPClientNIOTSTests.allTests),
|
|
testCase(HTTPClientReproTests.allTests),
|
|
testCase(HTTPClientRequestTests.allTests),
|
|
testCase(HTTPClientResponseTests.allTests),
|
|
testCase(HTTPClientSOCKSTests.allTests),
|
|
testCase(HTTPClientTests.allTests),
|
|
testCase(HTTPClientUncleanSSLConnectionShutdownTests.allTests),
|
|
testCase(HTTPConnectionPoolTests.allTests),
|
|
testCase(HTTPConnectionPool_FactoryTests.allTests),
|
|
testCase(HTTPConnectionPool_HTTP1ConnectionsTests.allTests),
|
|
testCase(HTTPConnectionPool_HTTP1StateMachineTests.allTests),
|
|
testCase(HTTPConnectionPool_HTTP2ConnectionsTests.allTests),
|
|
testCase(HTTPConnectionPool_HTTP2StateMachineTests.allTests),
|
|
testCase(HTTPConnectionPool_ManagerTests.allTests),
|
|
testCase(HTTPConnectionPool_RequestQueueTests.allTests),
|
|
testCase(HTTPRequestStateMachineTests.allTests),
|
|
testCase(LRUCacheTests.allTests),
|
|
testCase(NoBytesSentOverBodyLimitTests.allTests),
|
|
testCase(RacePoolIdleConnectionsAndGetTests.allTests),
|
|
testCase(RequestBagTests.allTests),
|
|
testCase(RequestValidationTests.allTests),
|
|
testCase(ResponseDelayGetTests.allTests),
|
|
testCase(SOCKSEventsHandlerTests.allTests),
|
|
testCase(SSLContextCacheTests.allTests),
|
|
testCase(StressGetHttpsTests.allTests),
|
|
testCase(TLSEventsHandlerTests.allTests),
|
|
testCase(TestIdleTimeoutNoReuse.allTests),
|
|
testCase(TransactionTests.allTests),
|
|
testCase(Transaction_StateMachineTests.allTests),
|
|
])
|
|
}
|
|
}
|
|
#endif
|