view IBBoard.WarFoundry.API.Tests.csproj @ 157:17c5030485dc

Re #351: Add extensible requirement handling method * Swap to using IRequirement, as per interface * Test registration of factories
author IBBoard <dev@ibboard.co.uk>
date Sat, 23 Jul 2011 19:54:37 +0000
parents 3725fd449c77
children b053872f1dce
line source
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
3 <PropertyGroup>
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>9.0.30729</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{B20E808D-878E-4F6D-B1E3-84A9A49905CB}</ProjectGuid>
9 <OutputType>Library</OutputType>
10 <AppDesignerFolder>Properties</AppDesignerFolder>
11 <RootNamespace>IBBoard.WarFoundry</RootNamespace>
12 <AssemblyName>IBBoard.WarFoundry.API.Tests</AssemblyName>
13 <FileUpgradeFlags>
14 </FileUpgradeFlags>
15 <UpgradeBackupLocation>
16 </UpgradeBackupLocation>
17 <OldToolsVersion>2.0</OldToolsVersion>
18 <TargetFrameworkSubset>
19 </TargetFrameworkSubset>
20 <IsWebBootstrapper>false</IsWebBootstrapper>
21 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
22 <PublishUrl>publish\</PublishUrl>
23 <Install>true</Install>
24 <InstallFrom>Disk</InstallFrom>
25 <UpdateEnabled>false</UpdateEnabled>
26 <UpdateMode>Foreground</UpdateMode>
27 <UpdateInterval>7</UpdateInterval>
28 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
29 <UpdatePeriodically>false</UpdatePeriodically>
30 <UpdateRequired>false</UpdateRequired>
31 <MapFileExtensions>true</MapFileExtensions>
32 <ApplicationRevision>0</ApplicationRevision>
33 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
34 <UseApplicationTrust>false</UseApplicationTrust>
35 <BootstrapperEnabled>true</BootstrapperEnabled>
36 </PropertyGroup>
37 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
38 <DebugSymbols>true</DebugSymbols>
39 <DebugType>full</DebugType>
40 <Optimize>false</Optimize>
41 <OutputPath>bin\Debug\</OutputPath>
42 <DefineConstants>DEBUG;TRACE</DefineConstants>
43 <ErrorReport>prompt</ErrorReport>
44 <WarningLevel>4</WarningLevel>
45 </PropertyGroup>
46 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
47 <DebugType>pdbonly</DebugType>
48 <Optimize>true</Optimize>
49 <OutputPath>bin\Release\</OutputPath>
50 <DefineConstants>TRACE</DefineConstants>
51 <ErrorReport>prompt</ErrorReport>
52 <WarningLevel>4</WarningLevel>
53 </PropertyGroup>
54 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
55 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
56 Other similar extension points exist, see Microsoft.Common.targets.
57 <Target Name="BeforeBuild">
58 </Target>
59 <Target Name="AfterBuild">
60 </Target>
61 -->
62 <ItemGroup>
63 <Compile Include="MockObjects\MockRaceZipFile.cs" />
64 <Compile Include="MockObjects\MockSystemZipFile.cs" />
65 <Compile Include="API\WarFoundryLoaderTest.cs" />
66 <Compile Include="API\Objects\UnitEquipmentItemTest.cs" />
67 <Compile Include="API\Objects\Mock\MockUnitType.cs" />
68 <Compile Include="API\Objects\Mock\MockEquipmentItem.cs" />
69 <Compile Include="API\Objects\Mock\MockRace.cs" />
70 <Compile Include="API\Factories\Mock\MockSystemFactory.cs" />
71 <Compile Include="API\Objects\Mock\MockGameSystem.cs" />
72 <Compile Include="API\Objects\UnitTest.cs" />
73 <Compile Include="API\Objects\Mock\MockArmyCategory.cs" />
74 <Compile Include="API\Objects\Mock\MockArmy.cs" />
75 <Compile Include="API\Objects\Mock\MockCategory.cs" />
76 <Compile Include="API\Objects\Mock\MockNumericAmountUnitEquipmentItem.cs" />
77 <Compile Include="API\Objects\Mock\MockPercentageAmountUnitEquipmentItem.cs" />
78 <Compile Include="API\Util\UnitEquipmentUtilTest.cs" />
79 <Compile Include="API\Factories\Xml\WarFoundryXmlRaceFactoryTest.cs" />
80 <Compile Include="API\FixedGameSystemWarFoundryLoader.cs" />
81 <Compile Include="API\Factories\Xml\SingleXmlObjectLoader.cs" />
82 <Compile Include="API\Factories\Xml\WarFoundryXmlFactoryUtilTest.cs" />
83 <Compile Include="API\Objects\UnitTypeTest.cs" />
84 <Compile Include="API\Factories\Xml\WarFoundryXmlArmyParserTest.cs" />
85 <Compile Include="API\FixedObjectWarFoundryLoader.cs" />
86 <Compile Include="API\Factories\Xml\WarFoundryXmlLimitParserTest.cs" />
87 <Compile Include="API\Factories\Xml\WarFoundryXmlSystemFactoryTest.cs" />
88 <Compile Include="MockObjects\MockWarFoundryLoader.cs" />
89 <Compile Include="API\AbstractWarFoundryLoaderTests.cs" />
90 <Compile Include="API\Objects\GameSystemTest.cs" />
91 <Compile Include="API\Factories\Xml\WarFoundryXmlFactoryTests.cs" />
92 <Compile Include="API\EventListeningWarFoundryLoader.cs" />
93 <Compile Include="API\Savers\IWarFoundryFileSaverTests.cs" />
94 <Compile Include="API\Objects\Requirement\RequiresAtLeastNUnitsRequirementTest.cs" />
95 <Compile Include="API\Objects\Requirement\UnitRequiresAtLeastNUnitsRequirementTest.cs" />
96 <Compile Include="API\Objects\Requirement\ValidationTests.cs" />
97 <Compile Include="API\Objects\Requirement\UnitRequiresNoMoreThanNOfUnitTypeRequirementTest.cs" />
98 <Compile Include="API\Objects\Requirement\RequiresNoMoreThanNOfUnitTypeRequirementTest.cs" />
99 <Compile Include="API\Objects\RaceTests.cs" />
100 <Compile Include="API\Objects\Requirement\RequirementHandlerTests.cs" />
101 <Compile Include="API\Objects\Requirement\Mock\FailingRequirement.cs" />
102 <Compile Include="API\Objects\Requirement\Mock\AbstractFixedRequirement.cs" />
103 <Compile Include="API\Objects\Requirement\Mock\PassingRequirement.cs" />
104 <Compile Include="API\Objects\Requirement\Mock\NotApplicableRequirement.cs" />
105 <Compile Include="API\Objects\Requirement\UnitCountRequirementDataTest.cs" />
106 <Compile Include="API\Factories\Requirement\UnitRequiresAtLeastNUnitsRequirementFactoryTest.cs" />
107 <Compile Include="API\Factories\Mock\MockRaceFactory.cs" />
108 <Compile Include="API\MockRequirementFactory.cs" />
109 <Compile Include="API\Factories\Requirement\Mock\MockRequirement.cs" />
110 </ItemGroup>
111 <ItemGroup>
112 <None Include="app.config" />
113 <None Include="testdata\Test.race">
114 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
115 </None>
116 <None Include="testdata\Test.system">
117 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
118 </None>
119 <None Include="COPYING" />
120 <None Include="testdata\race-with-non-existant-game-system.race">
121 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
122 </None>
123 <None Include="testdata\extended-data.racex">
124 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
125 </None>
126 <None Include="testdata\single-unit-race.racex">
127 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
128 </None>
129 <None Include="testdata\default.systemx">
130 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
131 </None>
132 <None Include="testdata\single-unit-type-referencing-race.racex">
133 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
134 </None>
135 <None Include="testdata\single-unit-no-stats-race.racex">
136 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
137 </None>
138 <None Include="testdata\extended-data.systemx">
139 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
140 </None>
141 <None Include="testdata\extended-data.armyx">
142 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
143 </None>
144 <None Include="testdata\single-unit-multi-type-referencing-race.racex">
145 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
146 </None>
147 <None Include="testdata\single-unit-multi-type-referencing-race-with-override.racex">
148 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
149 </None>
150 <None Include="testdata\single-unit-no-category.racex">
151 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
152 </None>
153 <None Include="testdata\single-unit-one-category-same-main-category.racex">
154 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
155 </None>
156 <None Include="testdata\single-unit-one-category-different-main-category.racex">
157 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
158 </None>
159 <None Include="testdata\single-unit-two-categories.racex">
160 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
161 </None>
162 <None Include="testdata\unit-in-non-main-category.armyx">
163 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
164 </None>
165 <None Include="testdata\unit-in-default-category.armyx">
166 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
167 </None>
168 <None Include="testdata\unit-in-specified-main-category.armyx">
169 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
170 </None>
171 <None Include="testdata\limits\absolute-limit.xml">
172 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
173 </None>
174 <None Include="testdata\limits\composite-max-limit.xml">
175 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
176 </None>
177 <None Include="testdata\limits\composite-min-limit.xml">
178 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
179 </None>
180 <None Include="testdata\limits\composite-max-limit-nested.xml">
181 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
182 </None>
183 <None Include="testdata\limits\empty-composite.xml">
184 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
185 </None>
186 <None Include="WarFoundryTests.nunit">
187 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
188 </None>
189 <None Include="testdata\xml-race-factory\different-extra-data-key.racex">
190 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
191 </None>
192 <None Include="testdata\xml-race-factory\duplicate-extra-data-key.racex">
193 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
194 </None>
195 <None Include="testdata\xml-race-factory\non-existant-ability.racex">
196 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
197 </None>
198 <None Include="testdata\xml-race-factory\existing-ability.racex">
199 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
200 </None>
201 <None Include="testdata\xml-race-factory\duplicate-ability.racex">
202 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
203 </None>
204 <None Include="testdata\xml-race-factory\non-existant-member-type.racex">
205 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
206 </None>
207 <None Include="testdata\xml-race-factory\duplicate-member-type.racex">
208 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
209 </None>
210 <None Include="testdata\xml-race-factory\existing-member-type.racex">
211 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
212 </None>
213 <None Include="testdata\xml-race-factory\single-unit-with-invalid-equipment-slot-reference.racex">
214 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
215 </None>
216 <None Include="testdata\xml-race-factory\single-unit-with-valid-equipment-slot-reference.racex">
217 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
218 </None>
219 <None Include="testdata\xml-race-factory\single-unit-with-no-equipment-slot-limit.racex">
220 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
221 </None>
222 <None Include="testdata\xml-race-factory\single-unit-with-invalid-equipment-reference.racex">
223 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
224 </None>
225 <None Include="testdata\xml-race-factory\single-unit-with-valid-equipment-reference.racex">
226 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
227 </None>
228 <None Include="testdata\xml-race-factory\valid-contained-unit-reference.racex">
229 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
230 </None>
231 <None Include="testdata\xml-race-factory\invalid-contained-unit-reference.racex">
232 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
233 </None>
234 <None Include="testdata\xml-race-factory\single-unit-with-duplicate-equipment-slot.racex">
235 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
236 </None>
237 <None Include="testdata\xml-race-factory\duplicate-equipment-id.racex">
238 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
239 </None>
240 <None Include="testdata\xml-system-factory\valid-default-stats-one-stats-set.systemx">
241 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
242 </None>
243 <None Include="testdata\xml-system-factory\valid-default-stats-multiple-stats-set.systemx">
244 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
245 </None>
246 <None Include="testdata\xml-system-factory\invalid-default-stats.systemx">
247 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
248 </None>
249 <None Include="testdata\xml-factory-util\duplicate-unit-id.armyx">
250 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
251 </None>
252 <None Include="testdata\xml-factory-util\invalid-contained-id.armyx">
253 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
254 </None>
255 <None Include="testdata\xml-factory-util\valid-contained-id.armyx">
256 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
257 </None>
258 <None Include="testdata\xml-system-factory\duplicate-stats-set-id.systemx">
259 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
260 </None>
261 <None Include="testdata\xml-system-factory\valid-categories.systemx">
262 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
263 </None>
264 <None Include="testdata\xml-system-factory\duplicate-category-ids.systemx">
265 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
266 </None>
267 <None Include="testdata\xml-race-factory\valid-categories.racex">
268 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
269 </None>
270 <None Include="testdata\xml-race-factory\duplicate-category-ids.racex">
271 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
272 </None>
273 <None Include="testdata\zip-format\Repack.system">
274 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
275 </None>
276 <None Include="testdata\subdir-loading-test\emptyfile.txt">
277 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
278 </None>
279 <None Include="testdata\subdir-loading-test\subdir\subdirfile.txt">
280 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
281 </None>
282 <None Include="testdata\points-strings\names.systemx">
283 <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
284 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
285 </None>
286 <None Include="testdata\multifile-zips\Multipack.system">
287 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
288 </None>
289 <None Include="testdata\multifile-zips\Test.race">
290 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
291 </None>
292 <None Include="testdata\multifile-zips\Test.system">
293 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
294 </None>
295 <None Include="testdata\xml-race-factory\simple-requirement.racex">
296 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
297 </None>
298 <None Include="testdata\xml-race-factory\extended-requirements.racex">
299 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
300 </None>
301 </ItemGroup>
302 <ItemGroup>
303 <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
304 <Reference Include="System.Xml" />
305 </ItemGroup>
306 <ItemGroup>
307 <ProjectReference Include="..\IBBoard.WarFoundry.API\IBBoard.WarFoundry.API.csproj">
308 <Project>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</Project>
309 <Name>IBBoard.WarFoundry.API</Name>
310 </ProjectReference>
311 <ProjectReference Include="..\IBBoard\IBBoard.csproj">
312 <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project>
313 <Name>IBBoard</Name>
314 </ProjectReference>
315 <ProjectReference Include="..\SharpZipLib\ICSharpCode.SharpZLib.csproj">
316 <Project>{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}</Project>
317 <Name>ICSharpCode.SharpZLib</Name>
318 </ProjectReference>
319 <ProjectReference Include="..\IBBoard.NUnit\IBBoard.NUnit.csproj">
320 <Project>{C52AFD32-B869-4E14-AACE-2846AD2CC742}</Project>
321 <Name>IBBoard.NUnit</Name>
322 </ProjectReference>
323 </ItemGroup>
324 <ProjectExtensions>
325 <MonoDevelop>
326 <Properties>
327 <Policies>
328 <DotNetNamingPolicy DirectoryNamespaceAssociation="PrefixedHierarchical" ResourceNamePolicy="FileFormatDefault" />
329 </Policies>
330 </Properties>
331 </MonoDevelop>
332 <VisualStudio />
333 </ProjectExtensions>
334 <ItemGroup>
335 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
336 <Visible>False</Visible>
337 <ProductName>.NET Framework Client Profile</ProductName>
338 <Install>false</Install>
339 </BootstrapperPackage>
340 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
341 <Visible>False</Visible>
342 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
343 <Install>false</Install>
344 </BootstrapperPackage>
345 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
346 <Visible>False</Visible>
347 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
348 <Install>false</Install>
349 </BootstrapperPackage>
350 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
351 <Visible>False</Visible>
352 <ProductName>.NET Framework 3.5</ProductName>
353 <Install>false</Install>
354 </BootstrapperPackage>
355 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
356 <Visible>False</Visible>
357 <ProductName>.NET Framework 3.5 SP1</ProductName>
358 <Install>true</Install>
359 </BootstrapperPackage>
360 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
361 <Visible>False</Visible>
362 <ProductName>Windows Installer 3.1</ProductName>
363 <Install>true</Install>
364 </BootstrapperPackage>
365 </ItemGroup>
366 <ItemGroup>
367 <Folder Include="API\Savers\Xml\" />
368 <Folder Include="API\Objects\Requirement\Mock\" />
369 <Folder Include="API\Factories\Requirement\" />
370 <Folder Include="API\Factories\Requirement\Mock\" />
371 </ItemGroup>
372 </Project>