Files
swift-nio/Tests/LinuxMain.swift
T
Kevin Clark 145e8328c4 Futures init'd with errors/results are already fulfilled
* Futures init'd with errors/results are fulfilled

They automatically succeed/fail when new callbacks are added, so
semantically they're already fulfilled, no?

Without this, EventLoop.newSucceedFuture 'leaks' and explodes in the
provided tests.

* Regenerate linux tests

* Add missing generated extension for linux CI
2017-07-07 00:04:45 -07:00

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 NIOHTTP1Tests
@testable import NIOTests
XCTMain([
testCase(HTTPTest.allTests),
testCase(ByteBufferTest.allTests),
testCase(ChannelPipelineTest.allTests),
testCase(ByteToMessageDecoderTest.allTests),
testCase(MessageToByteEncoderTest.allTests),
testCase(EmbeddedChannelTest.allTests),
testCase(FutureTest.allTests),
testCase(AdaptiveRecvByteBufferAllocatorTest.allTests),
])
#endif