Mercurial > repos > IBBoard.WarFoundry.API.Tests
view testdata/limits/composite-max-limit.xml @ 58:c642d217036e
Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type
* Simplify "non-existant ability" unit test by removing SystemX file
* Remove line number checks, since Mono exception line numbers are end of file when the exception is a missing key **
* Re-implement equipment slot check test
** previous line numbers were taken from errors saying that keyref's key definition couldn't be found, not an error saying that the keyref value didn't exist
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 12 Jun 2010 20:40:18 +0000 |
parents | c6e5b8a1948d |
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="EmpireAlt" name="Empire (Extended)" system="default"> <units> <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> <equipmentSlots> <equipmentSlot name="slot"> <maxLimit> <core:compositeMaxLimit> <core:sizeConstrainedLimit limit="10"/> <core:absoluteLimit limit="5"/> </core:compositeMaxLimit> </maxLimit> </equipmentSlot> </equipmentSlots> </unit> </units> </race>