Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the EndToEndTests for WebSockets. #1032

Merged
merged 1 commit into from
Jun 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ import XCTest
testCase(EchoServerClientTest.allTests),
testCase(EmbeddedChannelTest.allTests),
testCase(EmbeddedEventLoopTest.allTests),
testCase(EndToEndTests.allTests),
testCase(EventCounterHandlerTest.allTests),
testCase(EventLoopFutureTest.allTests),
testCase(EventLoopTest.allTests),
Expand Down Expand Up @@ -93,5 +92,6 @@ import XCTest
testCase(UtilitiesTest.allTests),
testCase(WebSocketFrameDecoderTest.allTests),
testCase(WebSocketFrameEncoderTest.allTests),
testCase(WebSocketServerEndToEndTests.allTests),
])
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
//
// EndToEndTests+XCTest.swift
// WebSocketServerEndToEndTests+XCTest.swift
//
import XCTest

Expand All @@ -22,9 +22,9 @@ import XCTest
/// Do NOT edit this file directly as it will be regenerated automatically when needed.
///

extension EndToEndTests {
extension WebSocketServerEndToEndTests {

static var allTests : [(String, (EndToEndTests) -> () throws -> Void)] {
static var allTests : [(String, (WebSocketServerEndToEndTests) -> () throws -> Void)] {
return [
("testBasicUpgradeDance", testBasicUpgradeDance),
("testUpgradeWithProtocolName", testUpgradeWithProtocolName),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private class WebSocketRecorderHandler: ChannelInboundHandler {
}
}

class EndToEndTests: XCTestCase {
class WebSocketServerEndToEndTests: XCTestCase {
func createTestFixtures(upgraders: [NIOWebSocketServerUpgrader]) -> (loop: EmbeddedEventLoop, serverChannel: EmbeddedChannel, clientChannel: EmbeddedChannel) {
let loop = EmbeddedEventLoop()
let serverChannel = EmbeddedChannel(loop: loop)
Expand Down