changeset 154:bf2880cf7bc5

* Fix deprecation warnings no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 02 Jul 2011 19:56:30 +0000
parents e84149f37478
children 3725fd449c77
files API/Factories/Requirement/UnitRequiresAtLeastNUnitsRequirementFactoryTest.cs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/API/Factories/Requirement/UnitRequiresAtLeastNUnitsRequirementFactoryTest.cs	Sat Jul 02 15:09:48 2011 +0000
     1.2 +++ b/API/Factories/Requirement/UnitRequiresAtLeastNUnitsRequirementFactoryTest.cs	Sat Jul 02 19:56:30 2011 +0000
     1.3 @@ -107,7 +107,7 @@
     1.4  		}
     1.5  
     1.6  		[Test()]
     1.7 -		[ExpectedException(typeof(InvalidRequirementException), "Invalid unit type 'fibble' for 'Requires at least N units' requirement")]
     1.8 +		[ExpectedException(typeof(InvalidRequirementException), ExpectedMessage="Invalid unit type 'fibble' for 'Requires at least N units' requirement")]
     1.9  		public void TestExceptionsForInvalidID()
    1.10  		{
    1.11  			UnitRequiresAtLeastNUnitsRequirementFactory factory = new UnitRequiresAtLeastNUnitsRequirementFactory();
    1.12 @@ -116,7 +116,7 @@
    1.13  		}
    1.14  
    1.15  		[Test()]
    1.16 -		[ExpectedException(typeof(InvalidRequirementException), "Invalid amount 'a' for unit type 'unit1' for 'Requires at least N units' requirement")]
    1.17 +		[ExpectedException(typeof(InvalidRequirementException), ExpectedMessage="Invalid amount 'a' for unit type 'unit1' for 'Requires at least N units' requirement")]
    1.18  		public void TestExceptionsForInvalidNumber()
    1.19  		{
    1.20  			UnitRequiresAtLeastNUnitsRequirementFactory factory = new UnitRequiresAtLeastNUnitsRequirementFactory();