mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
e5513654af
commit
66268d74db
4 changed files with 30 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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*/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue