view IBBoard.WarFoundry.API.Tests.csproj @ 26:e6bf9b5e1b94

Re #198: Add equipment slots * Alter constructors of mock percentage unit equipment items for more flexibility * Consolidate tests * Add full set of tests for getting max percentage * Add extra tests to handle different limits
author IBBoard <dev@ibboard.co.uk>
date Wed, 28 Oct 2009 20:43:33 +0000
parents 9b23e72ba3cf
children 03a8ab5e90d6
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" />
  </ItemGroup>
  <ItemGroup>
    <None Include="testdata\Test.race">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\Test.system">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="COPYING" />
  </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" />
  </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\" />
  </ItemGroup>
  <ProjectExtensions>
    <MonoDevelop>
      <Properties>
        <Policies>
          <DotNetNamingPolicy DirectoryNamespaceAssociation="PrefixedHierarchical" ResourceNamePolicy="FileFormatDefault" />
        </Policies>
      </Properties>
    </MonoDevelop>
  </ProjectExtensions>
</Project>