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