Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison API/Factories/Requirement/Mock/MockRequirement.cs @ 208:c323770e61c2
Re #379: Fix validation of requirements to check for unit
* Rename classes in tests to match API changes
* Alter tests to match new API (all classes require at least one UnitType that they're relevant to now)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 22 Feb 2012 20:48:40 +0000 |
parents | 32b3e41bc8f0 |
children | 5e03b68dd214 |
comparison
equal
deleted
inserted
replaced
207:27f163bf884a | 208:c323770e61c2 |
---|---|
19 { | 19 { |
20 throw new NotImplementedException(); | 20 throw new NotImplementedException(); |
21 } | 21 } |
22 } | 22 } |
23 | 23 |
24 public Validation AllowsAdding(WarFoundryObject wfObject, Army toArmy) | 24 public Validation AllowsAdding(IWarFoundryObject wfObject, Army toArmy) |
25 { | 25 { |
26 throw new NotImplementedException(); | 26 throw new NotImplementedException(); |
27 } | 27 } |
28 | 28 |
29 public Validation ValidatesArmy(Army army) | 29 public Validation ValidatesArmy(Army army) |
34 public string GetValidationMessage(Army army) | 34 public string GetValidationMessage(Army army) |
35 { | 35 { |
36 throw new NotImplementedException(); | 36 throw new NotImplementedException(); |
37 } | 37 } |
38 | 38 |
39 public string GetAllowsAddingMessage(UnitType toAdd, Army toArmy) | 39 public string GetAllowsAddingMessage(IWarFoundryObject toAdd, Army toArmy) |
40 { | 40 { |
41 throw new NotImplementedException(); | 41 throw new NotImplementedException(); |
42 } | 42 } |
43 } | 43 } |
44 } | 44 } |