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 diff
     1.1 --- a/testdata/single-unit-multi-type-referencing-race-with-override.racex	Tue May 18 18:40:27 2010 +0000
     1.2 +++ b/testdata/single-unit-multi-type-referencing-race-with-override.racex	Tue May 18 18:49:12 2010 +0000
     1.3 @@ -20,7 +20,7 @@
     1.4  		</unit>
     1.5  	</units>
     1.6  	<memberTypes>
     1.7 -		<memberType typeID="General" name="General">
     1.8 +		<memberType id="General" name="General">
     1.9  			<stats>
    1.10  				<stat name="M">4</stat>
    1.11  				<stat name="WS">6</stat>
    1.12 @@ -33,7 +33,7 @@
    1.13  				<stat name="Ld">9</stat>
    1.14  			</stats>
    1.15  		</memberType>
    1.16 -		<memberType typeID="Warhorse" name="Warhorse">
    1.17 +		<memberType id="Warhorse" name="Warhorse">
    1.18  			<stats>
    1.19  				<stat name="M">8</stat>
    1.20  				<stat name="WS">3</stat>
     2.1 --- a/testdata/single-unit-multi-type-referencing-race.racex	Tue May 18 18:40:27 2010 +0000
     2.2 +++ b/testdata/single-unit-multi-type-referencing-race.racex	Tue May 18 18:49:12 2010 +0000
     2.3 @@ -9,7 +9,7 @@
     2.4  		</unit>
     2.5  	</units>
     2.6  	<memberTypes>
     2.7 -		<memberType typeID="General" name="General">
     2.8 +		<memberType id="General" name="General">
     2.9  			<stats>
    2.10  				<stat name="M">4</stat>
    2.11  				<stat name="WS">6</stat>
    2.12 @@ -22,7 +22,7 @@
    2.13  				<stat name="Ld">9</stat>
    2.14  			</stats>
    2.15  		</memberType>
    2.16 -		<memberType typeID="Warhorse" name="Warhorse">
    2.17 +		<memberType id="Warhorse" name="Warhorse">
    2.18  			<stats>
    2.19  				<stat name="M">8</stat>
    2.20  				<stat name="WS">3</stat>
     3.1 --- a/testdata/single-unit-non-existant-type-referencing-race.racex	Tue May 18 18:40:27 2010 +0000
     3.2 +++ b/testdata/single-unit-non-existant-type-referencing-race.racex	Tue May 18 18:49:12 2010 +0000
     3.3 @@ -8,7 +8,7 @@
     3.4  		</unit>
     3.5  	</units>
     3.6  	<memberTypes>
     3.7 -		<memberType typeID="General" name="General">
     3.8 +		<memberType id="General" name="General">
     3.9  			<stats>
    3.10  				<stat name="M">4</stat>
    3.11  				<stat name="WS">6</stat>
     4.1 --- a/testdata/single-unit-type-referencing-race.racex	Tue May 18 18:40:27 2010 +0000
     4.2 +++ b/testdata/single-unit-type-referencing-race.racex	Tue May 18 18:49:12 2010 +0000
     4.3 @@ -8,7 +8,7 @@
     4.4  		</unit>
     4.5  	</units>
     4.6  	<memberTypes>
     4.7 -		<memberType typeID="General" name="General">
     4.8 +		<memberType id="General" name="General">
     4.9  			<stats>
    4.10  				<stat name="M">4</stat>
    4.11  				<stat name="WS">6</stat>