Enumeration Caseswift-nio 2.72.0NIOTestUtils
wrongProduction(actual:expected:)
The errorCode
will be wrongProduction
when the expected
output didn’t match the actual
output.
case wrongProduction(actual: OutputType, expected: OutputType)
Other cases
case overProduction(OutputType)
The
errorCode
will be set tooverProduction
when a decoding result was yielded where nothing was expected.case underProduction(OutputType)
The
errorCode
will be set tounderProduction
when a decoder didn’t yield output when output was expected. The expected output is delivered as the associated value.case leftOversOnDeconstructingChannel(inbound: [NIOAny], outbound: [NIOAny], pendingOutbound: [NIOAny])
The
errorCode
will be set toleftOversOnDeconstructionChannel
if there were left-over items in theChannel
on deconstruction. This usually means that yourByteToMessageDecoder
did not process certain items.