mirror of
https://github.com/boostorg/beast.git
synced 2025-08-02 22:34:32 +02:00
Import more failure test cases from zlib test suite
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
committed by
Vinnie Falco
parent
5937c06cd0
commit
b0aa3df714
@@ -411,6 +411,20 @@ public:
|
||||
check({0x0c, 0xc0, 0x81, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x90, 0xff, 0x6b, 0x04, 0x00},
|
||||
error::invalid_distance);
|
||||
check({0x05,0xe0, 0x81, 0x91, 0x24, 0xcb, 0xb2, 0x2c,
|
||||
0x49, 0xe2, 0x0f, 0x2e, 0x8b, 0x9a, 0x47, 0x56,
|
||||
0x9f, 0xfb, 0xfe, 0xec, 0xd2, 0xff, 0x1f},
|
||||
error::end_of_stream);
|
||||
check({0xed, 0xc0, 0x01, 0x01, 0x00, 0x00, 0x00, 0x40,
|
||||
0x20, 0xff, 0x57, 0x1b, 0x42, 0x2c, 0x4f},
|
||||
error::end_of_stream);
|
||||
// check({0xed, 0xc0, 0x81, 0x00, 0x00, 0x00, 0x00, 0x80,
|
||||
// 0xa0, 0xfd, 0xa9, 0x17, 0xa9, 0x00, 0x00, 0x00,
|
||||
// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
// 0x00, 0x00, 0x00, 0x00, 0x00, 0x06},
|
||||
// error::end_of_stream); // FIXME: zlib expects an error here
|
||||
}
|
||||
|
||||
void testInvalidSettings()
|
||||
|
Reference in New Issue
Block a user