view IBBoard.WarFoundry.API.Tests.csproj @ 55:7f9e1fef069e

Re #279: Create composite limit * Create separate tests for min and max limits (rename existing test data file) * Fix namespacing of limit nodes * Add test for nesting of composite limits * Add tests for empty composite causing failure
author IBBoard <dev@ibboard.co.uk>
date Sat, 05 Jun 2010 18:58:54 +0000
parents 084049c8dff4
children c6e5b8a1948d
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{B20E808D-878E-4F6D-B1E3-84A9A49905CB}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>IBBoard.WarFoundry</RootNamespace>
    <AssemblyName>IBBoard.WarFoundry.API.Tests</AssemblyName>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
  <ItemGroup>
    <Content Include="libs\ICSharpCode.SharpZipLib.dll" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="MockObjects\MockRaceZipFile.cs" />
    <Compile Include="MockObjects\MockSystemZipFile.cs" />
    <Compile Include="API\WarFoundryLoaderTest.cs" />
    <Compile Include="API\Objects\UnitEquipmentItemTest.cs" />
    <Compile Include="API\Objects\Mock\MockUnitType.cs" />
    <Compile Include="API\Objects\Mock\MockEquipmentItem.cs" />
    <Compile Include="API\Objects\Mock\MockRace.cs" />
    <Compile Include="API\Factories\Mock\MockSystemFactory.cs" />
    <Compile Include="API\Objects\Mock\MockGameSystem.cs" />
    <Compile Include="API\Objects\UnitTest.cs" />
    <Compile Include="API\Objects\Mock\MockArmyCategory.cs" />
    <Compile Include="API\Objects\Mock\MockArmy.cs" />
    <Compile Include="API\Objects\Mock\MockCategory.cs" />
    <Compile Include="API\Objects\Mock\MockNumericAmountUnitEquipmentItem.cs" />
    <Compile Include="API\Objects\Mock\MockPercentageAmountUnitEquipmentItem.cs" />
    <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" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlFactoryUtilTest.cs" />
    <Compile Include="API\Objects\UnitTypeTest.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlArmyParserTest.cs" />
    <Compile Include="API\FixedObjectWarFoundryLoader.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlLimitParserTest.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="testdata\Test.race">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\Test.system">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="COPYING" />
    <None Include="testdata\race-with-non-existant-game-system.race">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <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>
    <None Include="testdata\extended-data.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-race.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\default.systemx">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-type-referencing-race.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-no-stats-race.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\extended-data.systemx">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\extended-data.armyx">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-multi-type-referencing-race.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-multi-type-referencing-race-with-override.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-non-existant-type-referencing-race.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-with-invalid-equipment-reference.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-no-category.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-one-category-same-main-category.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-one-category-different-main-category.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-two-categories.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\unit-in-non-main-category.armyx" />
    <None Include="testdata\unit-in-default-category.armyx">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\unit-in-specified-main-category.armyx">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\limits\absolute-limit.xml">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\limits\composite-max-limit.xml">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\limits\composite-min-limit.xml">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\limits\composite-max-limit-nested.xml">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\limits\empty-composite.xml">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>libs\ICSharpCode.SharpZipLib.dll</HintPath>
    </Reference>
    <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\IBBoard.WarFoundry.API\IBBoard.WarFoundry.API.csproj">
      <Project>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</Project>
      <Name>IBBoard.WarFoundry.API</Name>
    </ProjectReference>
    <ProjectReference Include="..\IBBoard\IBBoard.csproj">
      <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project>
      <Name>IBBoard</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Folder Include="API\" />
    <Folder Include="API\Objects\" />
    <Folder Include="API\Objects\Mock\" />
    <Folder Include="API\Factories\" />
    <Folder Include="API\Factories\Mock\" />
    <Folder Include="API\Util\" />
    <Folder Include="API\Factories\Xml\" />
    <Folder Include="testdata\limits\" />
  </ItemGroup>
  <ProjectExtensions>
    <MonoDevelop>
      <Properties>
        <Policies>
          <DotNetNamingPolicy DirectoryNamespaceAssociation="PrefixedHierarchical" ResourceNamePolicy="FileFormatDefault" />
        </Policies>
      </Properties>
    </MonoDevelop>
  </ProjectExtensions>
</Project>