Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison testdata/xml-race-factory/single-unit-with-invalid-equipment-reference.racex @ 66:f671ead260b1
Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type
* Move some test data files to sub-folder
* Test duplicate ID validation failures for equipment slots and equipment IDs
* Test valid equipment references
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 04 Jul 2010 14:28:13 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
65:fa536aee66d7 | 66:f671ead260b1 |
---|---|
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="Empire" name="Empire" system="nonexistant"> | |
3 <units> | |
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> | |
5 <stats> | |
6 <stat name="M">4</stat> | |
7 <stat name="WS">6</stat> | |
8 <stat name="BS">6</stat> | |
9 <stat name="S">4</stat> | |
10 <stat name="T">4</stat> | |
11 <stat name="W">3</stat> | |
12 <stat name="I">6</stat> | |
13 <stat name="A">4</stat> | |
14 <stat name="Ld">9</stat> | |
15 </stats> | |
16 <unitEquipment> | |
17 <unitEquipmentItem id="equip2"/> | |
18 </unitEquipment> | |
19 </unit> | |
20 </units> | |
21 <equipment> | |
22 <equipmentItem id="equip1" name="sword" cost="1"/> | |
23 </equipment> | |
24 </race> |