view IBBoard.WarFoundry.API.Tests.csproj @ 62:ef8950a5f4cb

Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type * Test duplicate member type keys * Test valid case of member type key with reference * Move existing "non-existant member type" data to sub-folder and rename
author IBBoard <dev@ibboard.co.uk>
date Sat, 19 Jun 2010 19:30:58 +0000
parents 27625216d8d6
children a9163f8dfba1
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\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-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>
    <None Include="WarFoundryTests.nunit">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\single-unit-with-invalid-equipment-slot-reference.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\invalid-contained-unit-reference.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\valid-contained-unit-reference.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\different-extra-data-key.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\duplicate-extra-data-key.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\non-existant-ability.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\existing-ability.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\duplicate-ability.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\non-existant-member-type.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\duplicate-member-type.racex">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\xml-race-factory\existing-member-type.racex">
      <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>
  <ProjectExtensions>
    <MonoDevelop>
      <Properties>
        <Policies>
          <DotNetNamingPolicy DirectoryNamespaceAssociation="PrefixedHierarchical" ResourceNamePolicy="FileFormatDefault" />
        </Policies>
      </Properties>
    </MonoDevelop>
    <VisualStudio />
  </ProjectExtensions>
  <ItemGroup>
    <Folder Include="testdata\xml-race-factory\" />
    <Folder Include="testdata\" />
    <Folder Include="testdata\" />
  </ItemGroup>
</Project>