chiark / gitweb /
packetframe: tests: Test with BufReaders
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Apr 2021 12:25:25 +0000 (13:25 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 23 Apr 2021 18:32:25 +0000 (19:32 +0100)
commit2eaf08d4bd5aea566097219c207057306c39ab4c
tree8abcfe1aec1cfae28b60ba63a0b2d2b2e194f2a6
parent41a16725b6466f80d120746fee116bc5e2edb723
packetframe: tests: Test with BufReaders

We are about to make this get quite involved with a BufReader's buffer
methods, so the BufReader will hide our LumpReader.  So test all
combinations of both.  This still only takes 2.5s in a debug build.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/packetframe.rs