mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fix to fail tests for untriggered expectations and failed verifications
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@91 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
8dc4b99bff
commit
9bf2170004
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ namespace mock
|
||||||
static void fail( const std::string& message,
|
static void fail( const std::string& message,
|
||||||
const std::string& file, int line )
|
const std::string& file, int line )
|
||||||
{
|
{
|
||||||
|
boost::unit_test::framework::assertion_result( false );
|
||||||
boost::unit_test::unit_test_log
|
boost::unit_test::unit_test_log
|
||||||
<< boost::unit_test::log::begin( file, (std::size_t)line )
|
<< boost::unit_test::log::begin( file, (std::size_t)line )
|
||||||
<< boost::unit_test::log_all_errors
|
<< boost::unit_test::log_all_errors
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue