mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
28 lines
679 B
C++
28 lines
679 B
C++
// http://turtle.sourceforge.net
|
|
//
|
|
// Copyright Mathieu Champlon 2008
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#ifndef MOCK_VERIFIABLE_HPP_INCLUDED
|
|
#define MOCK_VERIFIABLE_HPP_INCLUDED
|
|
|
|
#include "../config.hpp"
|
|
#include <boost/noncopyable.hpp>
|
|
|
|
namespace mock { namespace detail {
|
|
class verifiable : private boost::noncopyable
|
|
{
|
|
public:
|
|
verifiable() {}
|
|
virtual ~verifiable() {}
|
|
|
|
virtual bool verify() const = 0;
|
|
|
|
virtual void reset() = 0;
|
|
};
|
|
}} // namespace mock::detail
|
|
|
|
#endif // MOCK_VERIFIABLE_HPP_INCLUDED
|