2018-07-26 12:06:55 +02:00
|
|
|
/*
|
|
|
|
* 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;
|
|
|
|
|
2018-07-29 21:07:40 +02:00
|
|
|
class CPSICallbackMock : public CPlayerSpecificInfoCallback
|
2018-07-26 12:06:55 +02:00
|
|
|
{
|
|
|
|
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));
|
2018-07-29 21:07:40 +02:00
|
|
|
};
|