annotate API/Objects/Requirement/Mock/FailingRequirement.cs @ 176:9a1763af5fd2

Re #338: WarFoundry.API - Save System Data * Add tests for saving point names * Add expected values for new tests * Add points names to existing expected values (because we don't know if they were default or not)
author IBBoard <dev@ibboard.co.uk>
date Wed, 26 Oct 2011 15:40:52 +0100
parents f64742dde5f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
133
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 // This file (FailingRequirement.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2011 IBBoard
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 //
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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.
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 using System;
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 namespace IBBoard.WarFoundry.API.Objects.Requirement.Mock
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 {
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 public class FailingRequirement : AbstractFixedRequirement
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 {
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 public FailingRequirement() : base(Validation.Failed)
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 {
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 //Do nothing special
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 }
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 }
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 }
f64742dde5f9 Re #27: Unit requirements
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16