add forgotten Linux tests
This commit is contained in:
parent
007feec636
commit
eff809b88d
|
@ -23,24 +23,24 @@ import XCTest
|
|||
///
|
||||
|
||||
#if os(Linux) || os(FreeBSD)
|
||||
@testable import NIOHTTP1Tests
|
||||
@testable import NIOTests
|
||||
@testable import NIOHTTP1Tests
|
||||
|
||||
XCTMain([
|
||||
testCase(HTTPHeadersTest.allTests),
|
||||
testCase(HTTPTest.allTests),
|
||||
testCase(CircularBufferTests.allTests),
|
||||
testCase(TypeAssistedChannelHandlerTest.allTests),
|
||||
testCase(ByteBufferTest.allTests),
|
||||
testCase(ChannelPipelineTest.allTests),
|
||||
testCase(CircularBufferTests.allTests),
|
||||
testCase(AdaptiveRecvByteBufferAllocatorTest.allTests),
|
||||
testCase(EchoServerClientTest.allTests),
|
||||
testCase(ByteToMessageDecoderTest.allTests),
|
||||
testCase(MessageToByteEncoderTest.allTests),
|
||||
testCase(EchoServerClientTest.allTests),
|
||||
testCase(EmbeddedChannelTest.allTests),
|
||||
testCase(EventLoopTest.allTests),
|
||||
testCase(FileRegionTest.allTests),
|
||||
testCase(FutureTest.allTests),
|
||||
testCase(AdaptiveRecvByteBufferAllocatorTest.allTests),
|
||||
testCase(ByteBufferTest.allTests),
|
||||
testCase(EmbeddedChannelTest.allTests),
|
||||
testCase(ChannelPipelineTest.allTests),
|
||||
testCase(SocketAddressTest.allTests),
|
||||
testCase(FutureTest.allTests),
|
||||
testCase(EventLoopTest.allTests),
|
||||
testCase(HTTPHeadersTest.allTests),
|
||||
testCase(HTTPTest.allTests),
|
||||
])
|
||||
#endif
|
|
@ -27,6 +27,9 @@ extension EchoServerClientTest {
|
|||
static var allTests : [(String, (EchoServerClientTest) -> () throws -> Void)] {
|
||||
return [
|
||||
("testEcho", testEcho),
|
||||
("testChannelActiveOnConnect", testChannelActiveOnConnect),
|
||||
("testWriteThenRead", testWriteThenRead),
|
||||
("testCloseInInactive", testCloseInInactive),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@ extension EventLoopTest {
|
|||
static var allTests : [(String, (EventLoopTest) -> () throws -> Void)] {
|
||||
return [
|
||||
("testSchedule", testSchedule),
|
||||
("testScheduleCancelled", testScheduleCancelled),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,6 +28,9 @@ extension FutureTest {
|
|||
return [
|
||||
("testFutureFulfilledIfHasResult", testFutureFulfilledIfHasResult),
|
||||
("testFutureFulfilledIfHasError", testFutureFulfilledIfHasError),
|
||||
("testAndAllWithAllSuccesses", testAndAllWithAllSuccesses),
|
||||
("testAndAllWithAllFailures", testAndAllWithAllFailures),
|
||||
("testAndAllWithOneFailure", testAndAllWithOneFailure),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue