comparison API/Factories/Requirement/Mock/MockRequirement.cs @ 157:17c5030485dc

Re #351: Add extensible requirement handling method * Swap to using IRequirement, as per interface * Test registration of factories
author IBBoard <dev@ibboard.co.uk>
date Sat, 23 Jul 2011 19:54:37 +0000
parents
children 32b3e41bc8f0
comparison
equal deleted inserted replaced
156:ae2f1db8290c 157:17c5030485dc
1 // This file (MockRequirement.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2011 IBBoard
2 //
3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.
4 using System;
5 using IBBoard.WarFoundry.API.Objects.Requirement;
6 using IBBoard.WarFoundry.API.Objects;
7
8 namespace IBBoard.WarFoundry.API.Factories.Requirement.Mock
9 {
10 public class MockRequirement : IRequirement
11 {
12 public MockRequirement()
13 {
14 }
15
16 public Validation AllowsAdding(WarFoundryObject wfObject, Army toArmy)
17 {
18 throw new NotImplementedException();
19 }
20
21 public Validation ValidatesArmy(Army army)
22 {
23 throw new NotImplementedException();
24 }
25
26 public string GetValidationMessage(Army army)
27 {
28 throw new NotImplementedException();
29 }
30
31 public string GetAllowsAddingMessage(UnitType toAdd, Army toArmy)
32 {
33 throw new NotImplementedException();
34 }
35 }
36 }
37