toast/test/tools.hpp File Reference


Detailed Description

This file contains toast specific extensions to the Boost Test Tools.

#include <toast/assert.hpp>

Go to the source code of this file.

Defines

#define TOAST_WARN_ASSERT(statement)   TOAST_TEST_ASSERT_IMPL(statement, #statement, WARN)
 Warn if a statement *does not* trip a toast assertion!
#define TOAST_CHECK_ASSERT(statement)   TOAST_TEST_ASSERT_IMPL(statement, #statement, CHECK)
 Fail test if the statement *does not* trip a toast assertion!
#define TOAST_REQUIRE_ASSERT(statement)   TOAST_TEST_ASSERT_IMPL(statement, #statement, REQUIRE)
 Fail and stop test if the statement *does not* trip a toast assertion!


SourceForge.net Logo