Skip to content

Commit

Permalink
Remove use of boost in tests if on windows and excluding websockets
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219 committed Dec 9, 2015
1 parent 63a455b commit 61d14bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Release/tests/functional/streams/stdstream_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#include "cpprest/filestream.h"
#include "cpprest/producerconsumerstream.h"

#if !defined(_WIN32) || !defined(CPPREST_EXCLUDE_WEBSOCKETS)
#include <boost/interprocess/streams/bufferstream.hpp>
#endif

#if defined(__cplusplus_winrt)
using namespace Windows::Storage;
Expand Down Expand Up @@ -787,6 +789,7 @@ TEST(sync_on_async_close_with_exception)
}
}

#if !defined(_WIN32) || !defined(CPPREST_EXCLUDE_WEBSOCKETS)
TEST(ostream_full_throw_exception)
{
char tgt_buffer[5];
Expand All @@ -806,6 +809,7 @@ TEST(ostream_full_throw_exception)

VERIFY_THROWS(astream.read_to_end(os_streambuf).get(), std::exception);
}
#endif

}
}}}
Expand Down

0 comments on commit 61d14bf

Please sign in to comment.