Mercurial > repos > IBBoard.WarFoundry.API.Tests
diff API/Factories/Requirement/Mock/MockRequirement.cs @ 231:5e03b68dd214
Re #410: Create "N units per M models in parent unit" requirement
* Add required usage of context objects
* Add tests for new requirement
* Add some extras to test unit type setup that the new requirement needs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 27 Jul 2012 20:33:40 +0100 |
parents | c323770e61c2 |
children | be409428bbea |
line wrap: on
line diff
--- a/API/Factories/Requirement/Mock/MockRequirement.cs Wed Jul 11 20:54:12 2012 +0100 +++ b/API/Factories/Requirement/Mock/MockRequirement.cs Fri Jul 27 20:33:40 2012 +0100 @@ -4,6 +4,7 @@ using System; using IBBoard.WarFoundry.API.Objects.Requirement; using IBBoard.WarFoundry.API.Objects; +using IBBoard.WarFoundry.API.Objects.Requirement.Context; namespace IBBoard.WarFoundry.API.Factories.Requirement.Mock { @@ -36,7 +37,7 @@ throw new NotImplementedException(); } - public string GetAllowsAddingMessage(IWarFoundryObject toAdd, Army toArmy) + public string GetAllowsAddingMessage(IWarFoundryObject toAdd, Army toArmy, AddingContext context) { throw new NotImplementedException(); }