mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-26 04:57:49 +00:00
Motivation: Frequently, people want to terminate their pipeline with a handler that takes in requests & a promise and on receipt of the response just fulfill that promise. Modifications: - add `RequestResponseHandler` - remove outdated of contents from README.md Result: more useful handlers
39 lines
1.2 KiB
Swift
39 lines
1.2 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 NIOExtrasTests
|
|
|
|
XCTMain([
|
|
testCase(DebugInboundEventsHandlerTest.allTests),
|
|
testCase(DebugOutboundEventsHandlerTest.allTests),
|
|
testCase(FixedLengthFrameDecoderTest.allTests),
|
|
testCase(LengthFieldBasedFrameDecoderTest.allTests),
|
|
testCase(LengthFieldPrependerTest.allTests),
|
|
testCase(LineBasedFrameDecoderTest.allTests),
|
|
testCase(QuiescingHelperTest.allTests),
|
|
testCase(RequestResponseHandlerTest.allTests),
|
|
])
|
|
#endif
|