Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

23 lines
514 B
C++

/*
* SpyingContext.hpp
* Copyright (c) 2014 Eran Pe'er.
*
* This program is made available under the terms of the MIT License.
*
* Created on Oct 20, 2014
*/
#pragma once
#include "fakeit/Xaction.hpp"
namespace fakeit {
// For use in Spy(...) phrases
template<typename R, typename ... arglist>
struct SpyingContext : public Xaction {
virtual void appendAction(Action<R, arglist...> *action) = 0;
virtual typename std::function<R(arglist &...)> getOriginalMethod() = 0;
};
}