Add BEAST_EXPECT macro:

This macro is used in the unit test framework to assist in
reporting the file and line number of test failures.
This commit is contained in:
Vinnie Falco
2016-08-03 15:34:23 -04:00
parent 1537527927
commit 8d9c0daa9d
29 changed files with 573 additions and 565 deletions

View File

@@ -18,7 +18,7 @@ class to_string_test : public beast::unit_test::suite
public:
void run()
{
expect(to_string(boost::asio::const_buffers_1("x", 1)) == "x");
BEAST_EXPECT(to_string(boost::asio::const_buffers_1("x", 1)) == "x");
}
};