Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison testdata/single-unit-non-existant-type-referencing-race.racex @ 45:04d7cd276b1d
Re #274: crash when missing unitMember id
* Add test data and unit test for error
Also:
* Refactor out common test code (setting up system)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 12 May 2010 19:30:06 +0000 |
parents | |
children | b4b4bde843d7 |
comparison
equal
deleted
inserted
replaced
44:0de5d86bc1cb | 45:04d7cd276b1d |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="EmpireAlt" name="Empire (Extended)" system="default" lang="en"> | |
3 <units> | |
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> | |
5 <unitMembers> | |
6 <unitMember typeID="Empire1"/> | |
7 </unitMembers> | |
8 </unit> | |
9 </units> | |
10 <memberTypes> | |
11 <memberType id="General" name="General"> | |
12 <stats> | |
13 <stat name="M">4</stat> | |
14 <stat name="WS">6</stat> | |
15 <stat name="BS">6</stat> | |
16 <stat name="S">4</stat> | |
17 <stat name="T">4</stat> | |
18 <stat name="W">3</stat> | |
19 <stat name="I">6</stat> | |
20 <stat name="A">4</stat> | |
21 <stat name="Ld">9</stat> | |
22 </stats> | |
23 </memberType> | |
24 </memberTypes> | |
25 </race> |