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:
mat007 2011-01-30 08:42:23 +00:00
parent f7be6ea503
commit 4450ea0330
12 changed files with 314 additions and 517 deletions

View file

@ -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*/ )
{}
};