comparison testdata/race-with-non-existant-ability.systemx @ 36:82cd08385bfe

Fixes #228: Crash on invalid ability ID * Replace zipped Race and System files with unpackaged XML * Add helper class to create WarFoundry objects from XML files for tests * Use new helper classes to make test pass
author IBBoard <dev@ibboard.co.uk>
date Thu, 24 Dec 2009 20:14:28 +0000
parents
children
comparison
equal deleted inserted replaced
35:4302e6b2c5c1 36:82cd08385bfe
1 <?xml version="1.0" encoding="UTF-8"?>
2 <system xmlns="http://ibboard.co.uk/warfoundry/system" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" id="nonexistant" name="NonExistant Race Game System" warn="false">
3 <categories>
4 <cats:cat id="cat1" name="Characters" minPercentage="0" maxPercentage="50" />
5 <cats:cat id="cat2" name="Regiments" minPercentage="25" maxPercentage="100" />
6 <cats:cat id="cat3" name="War Machines" minPercentage="0" maxPercentage="25" />
7 <cats:cat id="cat4" name="Monsters" minPercentage="0" maxPercentage="25" />
8 <cats:cat id="cat5" name="Allies" minPercentage="0" maxPercentage="25" />
9 </categories>
10 <sysStatsList defaultStats="whDefault">
11 <sysStats id="whDefault">
12 <sysStat name="M"/>
13 <sysStat name="WS"/>
14 <sysStat name="BS"/>
15 <sysStat name="S"/>
16 <sysStat name="T"/>
17 <sysStat name="W"/>
18 <sysStat name="I"/>
19 <sysStat name="A"/>
20 <sysStat name="Ld"/>
21 </sysStats>
22 </sysStatsList>
23 </system>