Mercurial > repos > IBBoard.WarFoundry.API.Tests
view testdata/xml-race-factory/valid-contained-unit-reference.racex @ 165:453640610ef9
Re #94: Loading files is too slow
* Add unit test to check loading time - we'll allow failure to be 10x slower
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 06 Sep 2011 20:28:17 +0100 |
parents | f671ead260b1 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="Empire" name="Empire" system="default"> <units> <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> <stats> <stat name="M">4</stat> <stat name="WS">6</stat> <stat name="BS">6</stat> <stat name="S">4</stat> <stat name="T">4</stat> <stat name="W">3</stat> <stat name="I">6</stat> <stat name="A">4</stat> <stat name="Ld">9</stat> </stats> <contains> <containedUnit containedID="Empire2" /> </contains> </unit> <unit id="Empire2" typeName="Minion" cat="cat1" points="0"> <stats> <stat name="M">4</stat> <stat name="WS">2</stat> <stat name="BS">2</stat> <stat name="S">2</stat> <stat name="T">2</stat> <stat name="W">1</stat> <stat name="I">2</stat> <stat name="A">1</stat> <stat name="Ld">5</stat> </stats> </unit> </units> </race>