mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
29 lines
797 B
C++
29 lines
797 B
C++
/*
|
|
* mock_CPLayerSpecificInfoCallback.h, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
#include "../lib/CGameInfoCallback.h"
|
|
#include "../lib/ResourceSet.h"
|
|
|
|
class CCallback;
|
|
|
|
class CPSICallbackMock : public CPlayerSpecificInfoCallback
|
|
{
|
|
public:
|
|
using CPlayerSpecificInfoCallback::CPlayerSpecificInfoCallback;
|
|
|
|
MOCK_CONST_METHOD0(getResourceAmount, TResources());
|
|
//std::vector <const CGTownInstance *> getTownsInfo(bool onlyOur = true) const;
|
|
MOCK_CONST_METHOD0(getTownsInfo, std::vector <const CGTownInstance *>());
|
|
MOCK_CONST_METHOD1(getTownsInfo, std::vector <const CGTownInstance *>(bool));
|
|
};
|