mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
Allow LargeRandomData
test only on Windows
This commit is contained in:
parent
879dd261c2
commit
ccbddd8842
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user