Skip to content

Commit 8d3d0e9

Browse files
authored
Move the Codecs to NIOCore (#1927)
Motivation: Our basic Channel Handlers don't need to be in NIO anymore: they aren't realistically tied to that code. So we can move them to NIOCore. Modifications: - Move Codecs to NIOCore - Move SingleStepByteToMessageDecoder to NIOCore. Result: Even more stuff in NIOCore
1 parent 670ce76 commit 8d3d0e9

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed
File renamed without changes.
File renamed without changes.

Tests/NIOTests/SingleStepByteToMessageDecoderTest.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftNIO open source project
44
//
5-
// Copyright (c) 2017-2018 Apple Inc. and the SwiftNIO project authors
5+
// Copyright (c) 2017-2021 Apple Inc. and the SwiftNIO project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
@@ -14,7 +14,8 @@
1414

1515
//
1616
import XCTest
17-
@testable import NIO
17+
import NIO
18+
@testable import NIOCore
1819

1920
public final class NIOSingleStepByteToMessageDecoderTest: XCTestCase {
2021
private final class ByteToInt32Decoder: NIOSingleStepByteToMessageDecoder {

Tests/NIOWebSocketTests/WebSocketServerEndToEndTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftNIO open source project
44
//
5-
// Copyright (c) 2017-2019 Apple Inc. and the SwiftNIO project authors
5+
// Copyright (c) 2017-2021 Apple Inc. and the SwiftNIO project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
@@ -13,7 +13,8 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
import XCTest
16-
@testable import NIO
16+
@testable import NIOCore
17+
import NIO
1718
import NIOHTTP1
1819
@testable import NIOWebSocket
1920

0 commit comments

Comments
 (0)