Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate API/Objects/Requirement/Mock/FailingRequirement.cs @ 133:f64742dde5f9
Re #27: Unit requirements
* Start writing tests for requirement handler
* Add mocks to support tests
Note: NA test currently fails (expect pass but get fail)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 17 Apr 2011 20:07:57 +0000 |
parents | |
children |
rev | line source |
---|---|
133 | 1 // This file (FailingRequirement.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 | |
6 namespace IBBoard.WarFoundry.API.Objects.Requirement.Mock | |
7 { | |
8 public class FailingRequirement : AbstractFixedRequirement | |
9 { | |
10 public FailingRequirement() : base(Validation.Failed) | |
11 { | |
12 //Do nothing special | |
13 } | |
14 } | |
15 } | |
16 |