mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 06:25:49 +00:00
Fixes, fail testing:
Core: * Test buffer_cat iterator move members HTTP: * Fixed yield / resume in writer * Fixed message serialization with chunked encoding * Test yield / resume in writer * Test all conditional branches during message serialization * Test chunked encoding * Increase coverage on parse_error * Add parse_error::general WebSocket: * Add error::general * Increase coverage in error
This commit is contained in:
@@ -27,7 +27,8 @@ public:
|
||||
{
|
||||
static std::size_t constexpr limit = 100;
|
||||
std::size_t n;
|
||||
for(n = 1; n < limit; ++n)
|
||||
|
||||
for(n = 0; n < limit; ++n)
|
||||
{
|
||||
streambuf sb;
|
||||
test::fail_stream<test::string_stream> fs(n, ios_,
|
||||
@@ -48,7 +49,8 @@ public:
|
||||
}
|
||||
}
|
||||
expect(n < limit);
|
||||
for(n = 1; n < limit; ++n)
|
||||
|
||||
for(n = 0; n < limit; ++n)
|
||||
{
|
||||
streambuf sb;
|
||||
test::fail_stream<test::string_stream> fs(n, ios_,
|
||||
@@ -65,11 +67,8 @@ public:
|
||||
break;
|
||||
}
|
||||
expect(n < limit);
|
||||
ios_.post(
|
||||
[&]{
|
||||
n = 1;
|
||||
});
|
||||
for(n = 1; n < limit; ++n)
|
||||
|
||||
for(n = 0; n < limit; ++n)
|
||||
{
|
||||
streambuf sb;
|
||||
test::fail_stream<test::string_stream> fs(n, ios_,
|
||||
|
||||
Reference in New Issue
Block a user