Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate testdata/extended-data.racex @ 51:9d68b5dd70b3
Re #270: Add multiple categories to API
* Add test for unit being in multiple categories
Also:
* Add assertions in other tests that unit is cached in army
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 19 May 2010 19:22:20 +0000 |
parents | d4f6e9ac981e |
children | f6bbd77b5473 |
rev | line source |
---|---|
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" xmlns:ext="http://ibboard.co.uk/warfoundry/missing" id="EmpireAlt" name="Empire (Extended)" system="test" extraAttrib="value" ext:extraAttrib="en"> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
3 <categories extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
4 <cats:cat id="cat1" name="Cat1" extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
5 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
6 <child></child> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
7 </cats:cat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
8 </categories> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
9 <units> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
10 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1" extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
11 <stats extraAttrib="value" ext:extraAttrib="en"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
12 <stat name="m" extraAttrib="value" ext:extraAttrib="en">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
13 </stats> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
14 <equipmentSlots> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
15 <equipmentSlot name="bob" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
16 <maxLimit> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
17 <core:unitSizeLimit extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
18 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
19 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
20 </core:unitSizeLimit> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
21 </maxLimit> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
22 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
23 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
24 </equipmentSlot> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
25 </equipmentSlots> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
26 <unitEquipment extraAttrib="value" ext:extraAttrib="en"> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
27 <unitEquipmentItem id="equip1" required="true" extraAttrib="value" ext:extraAttrib="en"> |
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
28 <child></child> |
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
29 <child></child> |
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
30 </unitEquipmentItem> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
31 </unitEquipment> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
32 <unitAbilities> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
33 <unitAbility abilityID="a" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
34 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
35 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
36 </unitAbility> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
37 </unitAbilities> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
38 <requirements> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
39 <requirement requirementName="" extraAttrib="value" ext:extraAttrib="en">req data</requirement> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
40 </requirements> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
41 <extraData extraAttrib="value" ext:extraAttrib="en"> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
42 <data id="data" extraAttrib="value" ext:extraAttrib="en">data value</data> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
43 </extraData> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
44 <contains> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
45 <containedUnit containedID="Empire3" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
46 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
47 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
48 </containedUnit> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
49 </contains> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
50 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
51 <unit id="Empire3" typeName="Swordsmen Champion" cat="cat2" points="35"> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
52 <stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
53 <stat name="M">4</stat> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
54 </stats> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
55 </unit> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
56 </units> |
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
57 <equipment extraAttrib="value" ext:extraAttrib="en"> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
58 <equipmentItem id="equip1" name="sword" cost="1" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
59 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
60 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
61 </equipmentItem> |
40
7002a9cb0ed6
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
39
diff
changeset
|
62 </equipment> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
63 <abilities extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
64 <ability id="a" name="Ability 1" extraAttrib="value" ext:extraAttrib="en"> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
65 <description></description> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
66 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
67 <child></child> |
41
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
68 </ability> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
69 </abilities> |
9980a76e6a5e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
70 <child></child> |
42
d4f6e9ac981e
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
41
diff
changeset
|
71 <child></child> |
39
5669f2ef6444
Re #152: Test and fix extensibility of current schemas
IBBoard <dev@ibboard.co.uk>
parents:
38
diff
changeset
|
72 </race> |