mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix tests
This commit is contained in:
parent
b58301849b
commit
118dafb71b
@ -29,7 +29,7 @@ public:
|
||||
|
||||
MOCK_CONST_METHOD0(battleNextUnitId, uint32_t());
|
||||
|
||||
MOCK_CONST_METHOD1(battleGetUnitsIf, battle::Units(battle::UnitFilter));
|
||||
MOCK_CONST_METHOD1(battleGetUnitsIf, battle::Units(const battle::UnitFilter &));
|
||||
|
||||
MOCK_CONST_METHOD1(battleGetUnitByID, const battle::Unit *(uint32_t));
|
||||
MOCK_CONST_METHOD2(battleGetUnitByPos, const battle::Unit *(BattleHex, bool));
|
||||
|
@ -17,8 +17,8 @@ class BattleStateMock : public IBattleState
|
||||
{
|
||||
public:
|
||||
MOCK_CONST_METHOD0(getActiveStackID, int32_t());
|
||||
MOCK_CONST_METHOD1(getStacksIf, TStacks(TStackFilter));
|
||||
MOCK_CONST_METHOD1(getUnitsIf, battle::Units(battle::UnitFilter));
|
||||
MOCK_CONST_METHOD1(getStacksIf, TStacks(const TStackFilter&));
|
||||
MOCK_CONST_METHOD1(getUnitsIf, battle::Units(const battle::UnitFilter &));
|
||||
MOCK_CONST_METHOD0(getBattlefieldType, BattleField());
|
||||
MOCK_CONST_METHOD0(getTerrainType, TerrainId());
|
||||
MOCK_CONST_METHOD0(getAllObstacles, IBattleInfo::ObstacleCList());
|
||||
|
Loading…
Reference in New Issue
Block a user