You've already forked cpp-httplib
Allow LargeRandomData
test only on Windows
This commit is contained in:
@ -2869,6 +2869,7 @@ TEST(GzipDecompressor, ChunkedDecompression) {
|
|||||||
ASSERT_EQ(data, decompressed_data);
|
ASSERT_EQ(data, decompressed_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
TEST(GzipDecompressor, LargeRandomData) {
|
TEST(GzipDecompressor, LargeRandomData) {
|
||||||
|
|
||||||
// prepare large random data that is difficult to be compressed and is
|
// prepare large random data that is difficult to be compressed and is
|
||||||
@ -2915,6 +2916,7 @@ TEST(GzipDecompressor, LargeRandomData) {
|
|||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CPPHTTPLIB_BROTLI_SUPPORT
|
#ifdef CPPHTTPLIB_BROTLI_SUPPORT
|
||||||
TEST_F(ServerTest, GetStreamedChunkedWithBrotli) {
|
TEST_F(ServerTest, GetStreamedChunkedWithBrotli) {
|
||||||
|
Reference in New Issue
Block a user