Files
swift-nio-ssl/Tests
Cory Benfield 0f3999f3e3 Add tests for untested assumptions. (#53)
Motivation:

While working on an unwrapping patch, I wrote a few tests to provide an
envelope on the unwrapping behaviour in OpenSSL. Some of these tests
should have counterparts for closure, but do not. This patch brings the
equivalent tests forward.

Modifications:

- Tested the failure mode when receiving gibberish instead of
    CLOSE_NOTIFY.
- Tested what happens to writes that are flushed after close().

Result:

Better test coverage.
2019-01-14 17:54:52 +00:00
..