Added Boost.Test log info when an expectation is fulfilled

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@164 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2010-07-21 07:54:25 +00:00
parent e5513654af
commit 66268d74db
4 changed files with 30 additions and 0 deletions

View file

@ -36,6 +36,9 @@ namespace mock
{
++missing_action_count;
}
static void expected_call( const std::string& /*context*/,
const std::string& /*file*/, int /*line*/ )
{}
static void unexpected_call( const std::string& /*context*/ )
{
++unexpected_call_count;
@ -66,6 +69,9 @@ namespace mock
{
++missing_action_count;
}
static void expected_call( const std::string& /*context*/,
const std::string& /*file*/, int /*line*/ )
{}
static void unexpected_call( const std::string& /*context*/ )
{
++unexpected_call_count;

View file

@ -22,6 +22,9 @@ namespace mock
{
throw std::runtime_error( "abort" );
}
static void expected_call( const std::string& /*context*/,
const std::string& /*file*/, int /*line*/ )
{}
static void unexpected_call( const std::string& /*context*/ )
{}
static void missing_action( const std::string& /*context*/,