Enable split Beast compilation for tests

This commit is contained in:
Vinnie Falco
2019-02-22 17:27:27 -08:00
parent 4a5ab9785c
commit 955354b9dd
84 changed files with 5239 additions and 4884 deletions
+4 -3
View File
@@ -24,11 +24,12 @@ public:
check(char const* name, error ev)
{
auto const ec = make_error_code(ev);
auto const& cat =
make_error_code(static_cast<http::error>(0)).category();
auto const& cat = make_error_code(
static_cast<http::error>(0)).category();
BEAST_EXPECT(std::string(ec.category().name()) == name);
BEAST_EXPECT(! ec.message().empty());
BEAST_EXPECT(std::addressof(ec.category()) == std::addressof(cat));
BEAST_EXPECT(
std::addressof(ec.category()) == std::addressof(cat));
BEAST_EXPECT(cat.equivalent(
static_cast<std::underlying_type<error>::type>(ev),
ec.category().default_error_condition(