Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
annotate IBBoard.WarFoundry.API.Tests.csproj @ 12:a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
* Initial commit of tests for limits (percentage and numeric)
Also:
* Reshuffle and refactoring of existing tests
* Additional mocks required by the new tests
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 12 Oct 2009 19:42:30 +0000 |
parents | 8d9d49332d44 |
children | 19fc7a733064 |
rev | line source |
---|---|
5
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 <PropertyGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 <ProductVersion>8.0.50727</ProductVersion> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 <SchemaVersion>2.0</SchemaVersion> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 <ProjectGuid>{B20E808D-878E-4F6D-B1E3-84A9A49905CB}</ProjectGuid> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 <OutputType>Library</OutputType> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 <AppDesignerFolder>Properties</AppDesignerFolder> |
12
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
11 <RootNamespace>IBBoard.WarFoundry</RootNamespace> |
5
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 <AssemblyName>IBBoard.WarFoundry.API.Tests</AssemblyName> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 </PropertyGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 <DebugSymbols>true</DebugSymbols> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 <DebugType>full</DebugType> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 <Optimize>false</Optimize> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 <OutputPath>bin\Debug\</OutputPath> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 <DefineConstants>DEBUG;TRACE</DefineConstants> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 <ErrorReport>prompt</ErrorReport> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 <WarningLevel>4</WarningLevel> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 </PropertyGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 <DebugType>pdbonly</DebugType> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 <Optimize>true</Optimize> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 <OutputPath>bin\Release\</OutputPath> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 <DefineConstants>TRACE</DefineConstants> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 <ErrorReport>prompt</ErrorReport> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 <WarningLevel>4</WarningLevel> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 </PropertyGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 Other similar extension points exist, see Microsoft.Common.targets. |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 <Target Name="BeforeBuild"> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 </Target> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 <Target Name="AfterBuild"> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 </Target> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 --> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 <ItemGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 <Content Include="libs\ICSharpCode.SharpZipLib.dll" /> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 </ItemGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 <ItemGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 <Compile Include="MockObjects\MockRaceZipFile.cs" /> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 <Compile Include="MockObjects\MockSystemZipFile.cs" /> |
12
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
45 <Compile Include="API\WarFoundryLoaderTest.cs" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
46 <Compile Include="API\Objects\UnitEquipmentItemTest.cs" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
47 <Compile Include="API\Objects\Mock\MockUnitType.cs" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
48 <Compile Include="API\Objects\Mock\MockEquipmentItem.cs" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
49 <Compile Include="API\Objects\Mock\MockRace.cs" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
50 <Compile Include="API\Factories\Mock\MockSystemFactory.cs" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
51 <Compile Include="API\Objects\Mock\MockGameSystem.cs" /> |
5
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 </ItemGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 <ItemGroup> |
7
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
54 <None Include="testdata\Test.race"> |
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
55 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
56 </None> |
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
57 <None Include="testdata\Test.system"> |
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
58 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
59 </None> |
11
8d9d49332d44
Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
60 <None Include="COPYING" /> |
5
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 </ItemGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 <ItemGroup> |
7
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
5
diff
changeset
|
63 <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73"> |
5
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 <SpecificVersion>False</SpecificVersion> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 <HintPath>libs\ICSharpCode.SharpZipLib.dll</HintPath> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 </Reference> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" /> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 </ItemGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 <ItemGroup> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 <ProjectReference Include="..\IBBoard.WarFoundry.API\IBBoard.WarFoundry.API.csproj"> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 <Project>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</Project> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 <Name>IBBoard.WarFoundry.API</Name> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 </ProjectReference> |
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 </ItemGroup> |
12
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
75 <ItemGroup> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
76 <Folder Include="API\" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
77 <Folder Include="API\Objects\" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
78 <Folder Include="API\Objects\Mock\" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
79 <Folder Include="API\Factories\" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
80 <Folder Include="API\Factories\Mock\" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
81 </ItemGroup> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
82 <ProjectExtensions> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
83 <MonoDevelop> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
84 <Properties> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
85 <Policies> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
86 <DotNetNamingPolicy DirectoryNamespaceAssociation="PrefixedHierarchical" ResourceNamePolicy="FileFormatDefault" /> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
87 </Policies> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
88 </Properties> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
89 </MonoDevelop> |
a4e7e938d065
Re #195: Setting max equipment without min may not function correctly
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
90 </ProjectExtensions> |
5
90f63edddc94
Re #30 - Migrate WarFoundry to .csproj
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 </Project> |