diff IBBoard.WarFoundry.API.Tests.csproj @ 36:82cd08385bfe

Fixes #228: Crash on invalid ability ID * Replace zipped Race and System files with unpackaged XML * Add helper class to create WarFoundry objects from XML files for tests * Use new helper classes to make test pass
author IBBoard <dev@ibboard.co.uk>
date Thu, 24 Dec 2009 20:14:28 +0000
parents 4302e6b2c5c1
children feb77f3287ca
line wrap: on
line diff
--- a/IBBoard.WarFoundry.API.Tests.csproj	Thu Dec 24 19:46:30 2009 +0000
+++ b/IBBoard.WarFoundry.API.Tests.csproj	Thu Dec 24 20:14:28 2009 +0000
@@ -58,6 +58,7 @@
     <Compile Include="API\Util\UnitEquipmentUtilTest.cs" />
     <Compile Include="API\Factories\Xml\WarFoundryXmlRaceFactoryTest.cs" />
     <Compile Include="API\FixedGameSystemWarFoundryLoader.cs" />
+    <Compile Include="API\Factories\Xml\SingleXmlObjectLoader.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="testdata\Test.race">
@@ -67,11 +68,13 @@
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
     <None Include="COPYING" />
-    <None Include="testdata\race-with-non-existant-ability.race">
+    <None Include="testdata\race-with-non-existant-game-system.race">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
-    <None Include="testdata\race-with-non-existant-ability.system" />
-    <None Include="testdata\race-with-non-existant-game-system.race">
+    <None Include="testdata\race-with-non-existant-ability.racex">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
+    <None Include="testdata\race-with-non-existant-ability.systemx">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
   </ItemGroup>