changeset 48:ea8d30377a72

Re #274: crash when missing unitMember id * Fix test data to match current schema (typeID was alternate attribute name that was tried)
author IBBoard <dev@ibboard.co.uk>
date Tue, 18 May 2010 18:49:12 +0000
parents b4b4bde843d7
children 24a40c49b6ae
files testdata/single-unit-multi-type-referencing-race-with-override.racex testdata/single-unit-multi-type-referencing-race.racex testdata/single-unit-non-existant-type-referencing-race.racex testdata/single-unit-type-referencing-race.racex
diffstat 4 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/testdata/single-unit-multi-type-referencing-race-with-override.racex	Tue May 18 18:40:27 2010 +0000
+++ b/testdata/single-unit-multi-type-referencing-race-with-override.racex	Tue May 18 18:49:12 2010 +0000
@@ -20,7 +20,7 @@
 		</unit>
 	</units>
 	<memberTypes>
-		<memberType typeID="General" name="General">
+		<memberType id="General" name="General">
 			<stats>
 				<stat name="M">4</stat>
 				<stat name="WS">6</stat>
@@ -33,7 +33,7 @@
 				<stat name="Ld">9</stat>
 			</stats>
 		</memberType>
-		<memberType typeID="Warhorse" name="Warhorse">
+		<memberType id="Warhorse" name="Warhorse">
 			<stats>
 				<stat name="M">8</stat>
 				<stat name="WS">3</stat>
--- a/testdata/single-unit-multi-type-referencing-race.racex	Tue May 18 18:40:27 2010 +0000
+++ b/testdata/single-unit-multi-type-referencing-race.racex	Tue May 18 18:49:12 2010 +0000
@@ -9,7 +9,7 @@
 		</unit>
 	</units>
 	<memberTypes>
-		<memberType typeID="General" name="General">
+		<memberType id="General" name="General">
 			<stats>
 				<stat name="M">4</stat>
 				<stat name="WS">6</stat>
@@ -22,7 +22,7 @@
 				<stat name="Ld">9</stat>
 			</stats>
 		</memberType>
-		<memberType typeID="Warhorse" name="Warhorse">
+		<memberType id="Warhorse" name="Warhorse">
 			<stats>
 				<stat name="M">8</stat>
 				<stat name="WS">3</stat>
--- a/testdata/single-unit-non-existant-type-referencing-race.racex	Tue May 18 18:40:27 2010 +0000
+++ b/testdata/single-unit-non-existant-type-referencing-race.racex	Tue May 18 18:49:12 2010 +0000
@@ -8,7 +8,7 @@
 		</unit>
 	</units>
 	<memberTypes>
-		<memberType typeID="General" name="General">
+		<memberType id="General" name="General">
 			<stats>
 				<stat name="M">4</stat>
 				<stat name="WS">6</stat>
--- a/testdata/single-unit-type-referencing-race.racex	Tue May 18 18:40:27 2010 +0000
+++ b/testdata/single-unit-type-referencing-race.racex	Tue May 18 18:49:12 2010 +0000
@@ -8,7 +8,7 @@
 		</unit>
 	</units>
 	<memberTypes>
-		<memberType typeID="General" name="General">
+		<memberType id="General" name="General">
 			<stats>
 				<stat name="M">4</stat>
 				<stat name="WS">6</stat>