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

@@ -82,9 +82,9 @@ public:
void
run ()
{
expect (test_one());
expect (test_two());
pass ();
BEAST_EXPECT(test_one());
BEAST_EXPECT(test_two());
pass();
}
};