29 lines
624 B
C++
29 lines
624 B
C++
/*
|
|
* Copyright (c) 2014 Eran Pe'er.
|
|
*
|
|
* This program is made available under the terms of the MIT License.
|
|
*
|
|
* Created on August, 2014
|
|
*/
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace fakeit {
|
|
|
|
struct UnexpectedMethodCallEvent;
|
|
struct SequenceVerificationEvent;
|
|
struct NoMoreInvocationsVerificationEvent;
|
|
|
|
struct EventFormatter {
|
|
|
|
virtual std::string format(const fakeit::UnexpectedMethodCallEvent &e) = 0;
|
|
|
|
virtual std::string format(const fakeit::SequenceVerificationEvent &e) = 0;
|
|
|
|
virtual std::string format(const fakeit::NoMoreInvocationsVerificationEvent &e) = 0;
|
|
|
|
};
|
|
|
|
}
|