mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Merged the logging branch
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@220 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
78befdb9be
commit
f7be6ea503
12 changed files with 517 additions and 314 deletions
|
|
@ -10,7 +10,6 @@
|
|||
#define MOCK_TEST_SILENT_ERROR_HPP_INCLUDED
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace mock
|
||||
|
|
@ -22,21 +21,27 @@ namespace mock
|
|||
{
|
||||
throw std::runtime_error( "abort" );
|
||||
}
|
||||
static void expected_call( const std::string& /*context*/,
|
||||
template< typename Context >
|
||||
static void expected_call( const Context& /*context*/,
|
||||
const std::string& /*file*/, int /*line*/ )
|
||||
{}
|
||||
static void unexpected_call( const std::string& /*context*/ )
|
||||
template< typename Context >
|
||||
static void unexpected_call( const Context& /*context*/ )
|
||||
{}
|
||||
static void missing_action( const std::string& /*context*/,
|
||||
template< typename Context >
|
||||
static void missing_action( const Context& /*context*/,
|
||||
const std::string& /*file*/, int /*line*/ )
|
||||
{}
|
||||
static void sequence_failed( const std::string& /*context*/,
|
||||
template< typename Context >
|
||||
static void sequence_failed( const Context& /*context*/,
|
||||
const std::string& /*file*/, int /*line*/ )
|
||||
{}
|
||||
static void verification_failed( const std::string& /*context*/,
|
||||
template< typename Context >
|
||||
static void verification_failed( const Context& /*context*/,
|
||||
const std::string& /*file*/, int /*line*/ )
|
||||
{}
|
||||
static void untriggered_expectation( const std::string& /*context*/,
|
||||
template< typename Context >
|
||||
static void untriggered_expectation( const Context& /*context*/,
|
||||
const std::string& /*file*/, int /*line*/ )
|
||||
{}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue