mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Fix build, remove unused file
This commit is contained in:
@@ -107,7 +107,7 @@ rett createAny(const boost::filesystem::path & libpath, const std::string & meth
|
||||
if(!ret)
|
||||
logGlobal->error("Cannot get AI!");
|
||||
|
||||
return std::move(ret);
|
||||
return ret;
|
||||
#endif // STATIC_AI
|
||||
}
|
||||
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
/*
|
||||
* mock_spells_effects_Registry.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 "../../lib/spells/effects/Registry.h"
|
||||
|
||||
namespace spells
|
||||
{
|
||||
namespace effects
|
||||
{
|
||||
|
||||
class EffectFactoryMock : public IEffectFactory
|
||||
{
|
||||
public:
|
||||
MOCK_CONST_METHOD0(create, Effect *());
|
||||
};
|
||||
|
||||
class RegistryMock : public Registry
|
||||
{
|
||||
public:
|
||||
MOCK_CONST_METHOD1(find, const IEffectFactory *(const std::string &));
|
||||
MOCK_METHOD2(add, void(const std::string &, FactoryPtr));
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user