Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added fail tests for the file parsers.

  • Loading branch information...
commit 5e3e0ec7e289401a20397b09253ec85b2d19871e 1 parent ec95b6a
@tzlaine authored
View
11 test/CMakeLists.txt
@@ -281,3 +281,14 @@ add_test_and_data_files(parser_test condition_parser -f condition_parser_1_error
add_test_and_data_files(parser_test condition_parser -f condition_parser_2_errors --fail)
add_test_and_data_files(parser_test condition_parser -f condition_parser_3_errors --fail)
add_test_and_data_files(parser_test effect_parser -f effect_parser_errors --fail)
+
+add_test_and_data_files(parser_test buildings_parser -f buildings_errors --fail)
+add_test_and_data_files(parser_test specials_parser -f specials_errors --fail)
+add_test_and_data_files(parser_test species_parser -f species_errors --fail)
+add_test_and_data_files(parser_test techs_parser -f techs_errors --fail)
+add_test_and_data_files(parser_test items_parser -f items_errors --fail)
+add_test_and_data_files(parser_test ship_parts_parser -f ship_parts_errors --fail)
+add_test_and_data_files(parser_test ship_hulls_parser -f ship_hulls_errors --fail)
+add_test_and_data_files(parser_test ship_designs_parser -f ship_designs_errors --fail)
+add_test_and_data_files(parser_test fleet_plans_parser -f fleet_plans_errors --fail)
+add_test_and_data_files(parser_test monster_fleet_plans_parser -f monster_fleet_plans_errors --fail)
View
4,419 test/buildings_errors
4,419 additions, 0 deletions not shown
View
12 test/fleet_plans_errors
@@ -0,0 +1,12 @@
+Fleet
+Fleet Name
+Fleet Name =
+Fleet Name = "Foo 0"
+Fleet Name = "Foo 0" Ships
+Fleet Name = "Foo 0" Ships =
+Fleet Name = "Foo 1"
+Fleet Name = "Foo 1" Ships
+Fleet Name = "Foo 1" Ships =
+Fleet Name = "Foo 1" Ships = [
+Fleet Name = "Foo 1" Ships = [ "Foo"
+Fleet Name = "Foo 1" Ships = [ "Foo" "Foo"
View
18 test/items_errors
@@ -0,0 +1,18 @@
+Item
+Item Type
+Item Type =
+Item Type = Building
+Item Type = Building Name
+Item Type = Building Name =
+Item Type = ShipPart
+Item Type = ShipPart Name
+Item Type = ShipPart Name =
+Item Type = ShipHull
+Item Type = ShipHull Name
+Item Type = ShipHull Name =
+Item Type = ShipDesign
+Item Type = ShipDesign Name
+Item Type = ShipDesign Name =
+Item Type = Tech
+Item Type = Tech Name
+Item Type = Tech Name =
View
147 test/monster_fleet_plans_errors
@@ -0,0 +1,147 @@
+MonsterFleet
+MonsterFleet Name
+MonsterFleet Name =
+MonsterFleet Name = "Foo 1"
+MonsterFleet Name = "Foo 1" Ships
+MonsterFleet Name = "Foo 1" Ships =
+MonsterFleet Name = "Foo 1" Ships = "Foo"
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate =
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate = 1.0
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate = 1.0 SpawnLimit
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate = 1.0 SpawnLimit =
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate = 1.0 SpawnLimit = 1
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate = 1.0 SpawnLimit = 1 Location
+MonsterFleet Name = "Foo 1" Ships = "Foo" SpawnRate = 1.0 SpawnLimit = 1 Location =
+MonsterFleet Name = "Foo 2"
+MonsterFleet Name = "Foo 2" Ships
+MonsterFleet Name = "Foo 2" Ships =
+MonsterFleet Name = "Foo 2" Ships = "Foo"
+MonsterFleet Name = "Foo 2" Ships = "Foo" SpawnRate
+MonsterFleet Name = "Foo 2" Ships = "Foo" SpawnRate =
+MonsterFleet Name = "Foo 2" Ships = "Foo" SpawnRate = 1.0
+MonsterFleet Name = "Foo 2" Ships = "Foo" SpawnRate = 1.0 SpawnLimit
+MonsterFleet Name = "Foo 2" Ships = "Foo" SpawnRate = 1.0 SpawnLimit =
+MonsterFleet Name = "Foo 3"
+MonsterFleet Name = "Foo 3" Ships
+MonsterFleet Name = "Foo 3" Ships =
+MonsterFleet Name = "Foo 3" Ships = "Foo"
+MonsterFleet Name = "Foo 3" Ships = "Foo" SpawnRate
+MonsterFleet Name = "Foo 3" Ships = "Foo" SpawnRate =
+MonsterFleet Name = "Foo 3" Ships = "Foo" SpawnRate = 1.0
+MonsterFleet Name = "Foo 3" Ships = "Foo" SpawnRate = 1.0 Location
+MonsterFleet Name = "Foo 3" Ships = "Foo" SpawnRate = 1.0 Location =
+MonsterFleet Name = "Foo 4"
+MonsterFleet Name = "Foo 4" Ships
+MonsterFleet Name = "Foo 4" Ships =
+MonsterFleet Name = "Foo 4" Ships = "Foo"
+MonsterFleet Name = "Foo 4" Ships = "Foo" SpawnRate
+MonsterFleet Name = "Foo 4" Ships = "Foo" SpawnRate =
+MonsterFleet Name = "Foo 5"
+MonsterFleet Name = "Foo 5" Ships
+MonsterFleet Name = "Foo 5" Ships =
+MonsterFleet Name = "Foo 5" Ships = "Foo"
+MonsterFleet Name = "Foo 5" Ships = "Foo" SpawnLimit
+MonsterFleet Name = "Foo 5" Ships = "Foo" SpawnLimit =
+MonsterFleet Name = "Foo 5" Ships = "Foo" SpawnLimit = 1
+MonsterFleet Name = "Foo 5" Ships = "Foo" SpawnLimit = 1 Location
+MonsterFleet Name = "Foo 5" Ships = "Foo" SpawnLimit = 1 Location =
+MonsterFleet Name = "Foo 6"
+MonsterFleet Name = "Foo 6" Ships
+MonsterFleet Name = "Foo 6" Ships =
+MonsterFleet Name = "Foo 6" Ships = "Foo"
+MonsterFleet Name = "Foo 6" Ships = "Foo" SpawnLimit
+MonsterFleet Name = "Foo 6" Ships = "Foo" SpawnLimit =
+MonsterFleet Name = "Foo 7"
+MonsterFleet Name = "Foo 7" Ships
+MonsterFleet Name = "Foo 7" Ships =
+MonsterFleet Name = "Foo 7" Ships = "Foo"
+MonsterFleet Name = "Foo 7" Ships = "Foo" Location
+MonsterFleet Name = "Foo 7" Ships = "Foo" Location =
+MonsterFleet Name = "Foo 8"
+MonsterFleet Name = "Foo 8" Ships
+MonsterFleet Name = "Foo 8" Ships =
+MonsterFleet Name = "Foo 9"
+MonsterFleet Name = "Foo 9" Ships
+MonsterFleet Name = "Foo 9" Ships =
+MonsterFleet Name = "Foo 9" Ships = [
+MonsterFleet Name = "Foo 9" Ships = [ "Foo"
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo"
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ]
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate =
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 SpawnLimit
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 SpawnLimit =
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 SpawnLimit = 1
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 SpawnLimit = 1 Location
+MonsterFleet Name = "Foo 9" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 SpawnLimit = 1 Location =
+MonsterFleet Name = "Foo 10"
+MonsterFleet Name = "Foo 10" Ships
+MonsterFleet Name = "Foo 10" Ships =
+MonsterFleet Name = "Foo 10" Ships = [
+MonsterFleet Name = "Foo 10" Ships = [ "Foo"
+MonsterFleet Name = "Foo 10" Ships = [ "Foo" "Foo"
+MonsterFleet Name = "Foo 10" Ships = [ "Foo" "Foo" ]
+MonsterFleet Name = "Foo 10" Ships = [ "Foo" "Foo" ] SpawnRate
+MonsterFleet Name = "Foo 10" Ships = [ "Foo" "Foo" ] SpawnRate =
+MonsterFleet Name = "Foo 10" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0
+MonsterFleet Name = "Foo 10" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 SpawnLimit
+MonsterFleet Name = "Foo 10" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 SpawnLimit =
+MonsterFleet Name = "Foo 11"
+MonsterFleet Name = "Foo 11" Ships
+MonsterFleet Name = "Foo 11" Ships =
+MonsterFleet Name = "Foo 11" Ships = [
+MonsterFleet Name = "Foo 11" Ships = [ "Foo"
+MonsterFleet Name = "Foo 11" Ships = [ "Foo" "Foo"
+MonsterFleet Name = "Foo 11" Ships = [ "Foo" "Foo" ]
+MonsterFleet Name = "Foo 11" Ships = [ "Foo" "Foo" ] SpawnRate
+MonsterFleet Name = "Foo 11" Ships = [ "Foo" "Foo" ] SpawnRate =
+MonsterFleet Name = "Foo 11" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0
+MonsterFleet Name = "Foo 11" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 Location
+MonsterFleet Name = "Foo 11" Ships = [ "Foo" "Foo" ] SpawnRate = 1.0 Location =
+MonsterFleet Name = "Foo 12"
+MonsterFleet Name = "Foo 12" Ships
+MonsterFleet Name = "Foo 12" Ships =
+MonsterFleet Name = "Foo 12" Ships = [
+MonsterFleet Name = "Foo 12" Ships = [ "Foo"
+MonsterFleet Name = "Foo 12" Ships = [ "Foo" "Foo"
+MonsterFleet Name = "Foo 12" Ships = [ "Foo" "Foo" ]
+MonsterFleet Name = "Foo 12" Ships = [ "Foo" "Foo" ] SpawnRate
+MonsterFleet Name = "Foo 12" Ships = [ "Foo" "Foo" ] SpawnRate =
+MonsterFleet Name = "Foo 13"
+MonsterFleet Name = "Foo 13" Ships
+MonsterFleet Name = "Foo 13" Ships =
+MonsterFleet Name = "Foo 13" Ships = [
+MonsterFleet Name = "Foo 13" Ships = [ "Foo"
+MonsterFleet Name = "Foo 13" Ships = [ "Foo" "Foo"
+MonsterFleet Name = "Foo 13" Ships = [ "Foo" "Foo" ]
+MonsterFleet Name = "Foo 13" Ships = [ "Foo" "Foo" ] SpawnLimit
+MonsterFleet Name = "Foo 13" Ships = [ "Foo" "Foo" ] SpawnLimit =
+MonsterFleet Name = "Foo 13" Ships = [ "Foo" "Foo" ] SpawnLimit = 1
+MonsterFleet Name = "Foo 13" Ships = [ "Foo" "Foo" ] SpawnLimit = 1 Location
+MonsterFleet Name = "Foo 13" Ships = [ "Foo" "Foo" ] SpawnLimit = 1 Location =
+MonsterFleet Name = "Foo 14"
+MonsterFleet Name = "Foo 14" Ships
+MonsterFleet Name = "Foo 14" Ships =
+MonsterFleet Name = "Foo 14" Ships = [
+MonsterFleet Name = "Foo 14" Ships = [ "Foo"
+MonsterFleet Name = "Foo 14" Ships = [ "Foo" "Foo"
+MonsterFleet Name = "Foo 14" Ships = [ "Foo" "Foo" ]
+MonsterFleet Name = "Foo 14" Ships = [ "Foo" "Foo" ] SpawnLimit
+MonsterFleet Name = "Foo 14" Ships = [ "Foo" "Foo" ] SpawnLimit =
+MonsterFleet Name = "Foo 15"
+MonsterFleet Name = "Foo 15" Ships
+MonsterFleet Name = "Foo 15" Ships =
+MonsterFleet Name = "Foo 15" Ships = [
+MonsterFleet Name = "Foo 15" Ships = [ "Foo"
+MonsterFleet Name = "Foo 15" Ships = [ "Foo" "Foo"
+MonsterFleet Name = "Foo 15" Ships = [ "Foo" "Foo" ]
+MonsterFleet Name = "Foo 15" Ships = [ "Foo" "Foo" ] Location
+MonsterFleet Name = "Foo 15" Ships = [ "Foo" "Foo" ] Location =
+MonsterFleet Name = "Foo 16"
+MonsterFleet Name = "Foo 16" Ships
+MonsterFleet Name = "Foo 16" Ships =
+MonsterFleet Name = "Foo 16" Ships = [
+MonsterFleet Name = "Foo 16" Ships = [ "Foo"
+MonsterFleet Name = "Foo 16" Ships = [ "Foo" "Foo"
View
36 test/ship_designs_errors
@@ -0,0 +1,36 @@
+ShipDesign
+ShipDesign Name
+ShipDesign Name =
+ShipDesign Name = "Foo 0"
+ShipDesign Name = "Foo 0" Description
+ShipDesign Name = "Foo 0" Description =
+ShipDesign Name = "Foo 0" Description = "Bar"
+ShipDesign Name = "Foo 0" Description = "Bar" Hull
+ShipDesign Name = "Foo 0" Description = "Bar" Hull =
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo"
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts =
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts = "Foo"
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts = "Foo" Graphic
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts = "Foo" Graphic =
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts = "Foo" Graphic = "Baz"
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts = "Foo" Graphic = "Baz" Model
+ShipDesign Name = "Foo 0" Description = "Bar" Hull = "Foo" Parts = "Foo" Graphic = "Baz" Model =
+ShipDesign Name = "Foo 1"
+ShipDesign Name = "Foo 1" Description
+ShipDesign Name = "Foo 1" Description =
+ShipDesign Name = "Foo 1" Description = "Bar"
+ShipDesign Name = "Foo 1" Description = "Bar" Hull
+ShipDesign Name = "Foo 1" Description = "Bar" Hull =
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo"
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts =
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo"
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo" "Foo"
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo" "Foo" ]
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo" "Foo" ] Graphic
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo" "Foo" ] Graphic =
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo" "Foo" ] Graphic = "Baz"
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo" "Foo" ] Graphic = "Baz" Model
+ShipDesign Name = "Foo 1" Description = "Bar" Hull = "Foo" Parts = [ "Foo" "Foo" ] Graphic = "Baz" Model =
View
1,791 test/ship_hulls_errors
1,791 additions, 0 deletions not shown
View
1,297 test/ship_parts_errors
1,297 additions, 0 deletions not shown
View
291 test/specials_errors
@@ -0,0 +1,291 @@
+Special
+Special Name
+Special Name =
+Special Name = "Foo 0"
+Special Name = "Foo 0" Description
+Special Name = "Foo 0" Description =
+Special Name = "Foo 0" Description = "Bar"
+Special Name = "Foo 0" Description = "Bar" SpawnLimit
+Special Name = "Foo 0" Description = "Bar" SpawnLimit =
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location =
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups =
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 0" Description = "Bar" SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 1"
+Special Name = "Foo 1" Description
+Special Name = "Foo 1" Description =
+Special Name = "Foo 1" Description = "Bar"
+Special Name = "Foo 1" Description = "Bar" SpawnLimit
+Special Name = "Foo 1" Description = "Bar" SpawnLimit =
+Special Name = "Foo 1" Description = "Bar" SpawnLimit = 1
+Special Name = "Foo 1" Description = "Bar" SpawnLimit = 1 Location
+Special Name = "Foo 1" Description = "Bar" SpawnLimit = 1 Location =
+Special Name = "Foo 1" Description = "Bar" SpawnLimit = 1 Location = All
+Special Name = "Foo 1" Description = "Bar" SpawnLimit = 1 Location = All Graphic
+Special Name = "Foo 1" Description = "Bar" SpawnLimit = 1 Location = All Graphic =
+Special Name = "Foo 2"
+Special Name = "Foo 2" Description
+Special Name = "Foo 2" Description =
+Special Name = "Foo 2" Description = "Bar"
+Special Name = "Foo 2" Description = "Bar" SpawnLimit
+Special Name = "Foo 2" Description = "Bar" SpawnLimit =
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups =
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 2" Description = "Bar" SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 3"
+Special Name = "Foo 3" Description
+Special Name = "Foo 3" Description =
+Special Name = "Foo 3" Description = "Bar"
+Special Name = "Foo 3" Description = "Bar" SpawnLimit
+Special Name = "Foo 3" Description = "Bar" SpawnLimit =
+Special Name = "Foo 3" Description = "Bar" SpawnLimit = 1
+Special Name = "Foo 3" Description = "Bar" SpawnLimit = 1 Graphic
+Special Name = "Foo 3" Description = "Bar" SpawnLimit = 1 Graphic =
+Special Name = "Foo 4"
+Special Name = "Foo 4" Description
+Special Name = "Foo 4" Description =
+Special Name = "Foo 4" Description = "Bar"
+Special Name = "Foo 4" Description = "Bar" Location
+Special Name = "Foo 4" Description = "Bar" Location =
+Special Name = "Foo 4" Description = "Bar" Location = All
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups =
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 4" Description = "Bar" Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 5"
+Special Name = "Foo 5" Description
+Special Name = "Foo 5" Description =
+Special Name = "Foo 5" Description = "Bar"
+Special Name = "Foo 5" Description = "Bar" Location
+Special Name = "Foo 5" Description = "Bar" Location =
+Special Name = "Foo 5" Description = "Bar" Location = All
+Special Name = "Foo 5" Description = "Bar" Location = All Graphic
+Special Name = "Foo 5" Description = "Bar" Location = All Graphic =
+Special Name = "Foo 6"
+Special Name = "Foo 6" Description
+Special Name = "Foo 6" Description =
+Special Name = "Foo 6" Description = "Bar"
+Special Name = "Foo 6" Description = "Bar" EffectsGroups
+Special Name = "Foo 6" Description = "Bar" EffectsGroups =
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 6" Description = "Bar" EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 7"
+Special Name = "Foo 7" Description
+Special Name = "Foo 7" Description =
+Special Name = "Foo 7" Description = "Bar"
+Special Name = "Foo 7" Description = "Bar" Graphic
+Special Name = "Foo 7" Description = "Bar" Graphic =
+Special Name = "Foo 8"
+Special Name = "Foo 8" Description
+Special Name = "Foo 8" Description =
+Special Name = "Foo 8" Description = "Bar"
+Special Name = "Foo 8" Description = "Bar" SpawnRate
+Special Name = "Foo 8" Description = "Bar" SpawnRate =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 8" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 9"
+Special Name = "Foo 9" Description
+Special Name = "Foo 9" Description =
+Special Name = "Foo 9" Description = "Bar"
+Special Name = "Foo 9" Description = "Bar" SpawnRate
+Special Name = "Foo 9" Description = "Bar" SpawnRate =
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit =
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location =
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All Graphic
+Special Name = "Foo 9" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Location = All Graphic =
+Special Name = "Foo 10"
+Special Name = "Foo 10" Description
+Special Name = "Foo 10" Description =
+Special Name = "Foo 10" Description = "Bar"
+Special Name = "Foo 10" Description = "Bar" SpawnRate
+Special Name = "Foo 10" Description = "Bar" SpawnRate =
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit =
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups =
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 10" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 11"
+Special Name = "Foo 11" Description
+Special Name = "Foo 11" Description =
+Special Name = "Foo 11" Description = "Bar"
+Special Name = "Foo 11" Description = "Bar" SpawnRate
+Special Name = "Foo 11" Description = "Bar" SpawnRate =
+Special Name = "Foo 11" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 11" Description = "Bar" SpawnRate = 1.0 SpawnLimit
+Special Name = "Foo 11" Description = "Bar" SpawnRate = 1.0 SpawnLimit =
+Special Name = "Foo 11" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1
+Special Name = "Foo 11" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Graphic
+Special Name = "Foo 11" Description = "Bar" SpawnRate = 1.0 SpawnLimit = 1 Graphic =
+Special Name = "Foo 12"
+Special Name = "Foo 12" Description
+Special Name = "Foo 12" Description =
+Special Name = "Foo 12" Description = "Bar"
+Special Name = "Foo 12" Description = "Bar" SpawnRate
+Special Name = "Foo 12" Description = "Bar" SpawnRate =
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location =
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups =
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 12" Description = "Bar" SpawnRate = 1.0 Location = All EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 13"
+Special Name = "Foo 13" Description
+Special Name = "Foo 13" Description =
+Special Name = "Foo 13" Description = "Bar"
+Special Name = "Foo 13" Description = "Bar" SpawnRate
+Special Name = "Foo 13" Description = "Bar" SpawnRate =
+Special Name = "Foo 13" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 13" Description = "Bar" SpawnRate = 1.0 Location
+Special Name = "Foo 13" Description = "Bar" SpawnRate = 1.0 Location =
+Special Name = "Foo 13" Description = "Bar" SpawnRate = 1.0 Location = All
+Special Name = "Foo 13" Description = "Bar" SpawnRate = 1.0 Location = All Graphic
+Special Name = "Foo 13" Description = "Bar" SpawnRate = 1.0 Location = All Graphic =
+Special Name = "Foo 14"
+Special Name = "Foo 14" Description
+Special Name = "Foo 14" Description =
+Special Name = "Foo 14" Description = "Bar"
+Special Name = "Foo 14" Description = "Bar" SpawnRate
+Special Name = "Foo 14" Description = "Bar" SpawnRate =
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups =
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope =
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation =
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup =
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo"
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects =
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic
+Special Name = "Foo 14" Description = "Bar" SpawnRate = 1.0 EffectsGroups = EffectsGroup Scope = All Activation = All StackingGroup = "Foo" Effects = Destroy Graphic =
+Special Name = "Foo 15"
+Special Name = "Foo 15" Description
+Special Name = "Foo 15" Description =
+Special Name = "Foo 15" Description = "Bar"
+Special Name = "Foo 15" Description = "Bar" SpawnRate
+Special Name = "Foo 15" Description = "Bar" SpawnRate =
+Special Name = "Foo 15" Description = "Bar" SpawnRate = 1.0
+Special Name = "Foo 15" Description = "Bar" SpawnRate = 1.0 Graphic
+Special Name = "Foo 15" Description = "Bar" SpawnRate = 1.0 Graphic =
View
1,827 test/species_errors
1,827 additions, 0 deletions not shown
View
30,370 test/techs_errors
30,370 additions, 0 deletions not shown
View
67 test/test.cpp
@@ -10,6 +10,7 @@
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
+#include <boost/filesystem/fstream.hpp>
#include <fstream>
@@ -106,7 +107,7 @@ int main(int argc, char* argv[])
unsigned int iterations = 0;
std::vector<std::string> strings;
- if (buildings_parser <= test && test <= alignments_parser) {
+ if (!fail && buildings_parser <= test && test <= alignments_parser) {
assert(std::string(argv[2]) == "-f");
bool success = false;
try {
@@ -254,6 +255,13 @@ int main(int argc, char* argv[])
boost::spirit::qi::in_state_type in_state;
+ boost::filesystem::path file_parser_path;
+ if (buildings_parser <= test && test <= alignments_parser) {
+ file_parser_path = "tmp";
+ boost::filesystem::ofstream ofs(file_parser_path);
+ ofs << string;
+ }
+
try {
switch (test) {
case lexer: {
@@ -390,6 +398,63 @@ int main(int argc, char* argv[])
success = boost::spirit::qi::phrase_parse(it, end_it, parse::effect_parser(), in_state("WS")[l.self]);
break;
}
+ case buildings_parser: {
+ std::map<std::string, BuildingType*> building_types;
+ success = parse::buildings(file_parser_path, building_types);
+ break;
+ }
+ case specials_parser: {
+ std::map<std::string, Special*> specials;
+ success = parse::specials(file_parser_path, specials);
+ break;
+ }
+ case species_parser: {
+ std::map<std::string, Species*> species;
+ success = parse::species(file_parser_path, species);
+ break;
+ }
+ case techs_parser: {
+ TechManager::TechContainer techs;
+ std::map<std::string, TechCategory*> tech_categories;
+ success = parse::techs(file_parser_path, techs, tech_categories);
+ break;
+ }
+ case items_parser: {
+ std::vector<ItemSpec> items;
+ success = parse::items(file_parser_path, items);
+ break;
+ }
+ case ship_parts_parser: {
+ std::map<std::string, PartType*> parts;
+ success = parse::ship_parts(file_parser_path, parts);
+ break;
+ }
+ case ship_hulls_parser: {
+ std::map<std::string, HullType*> hulls;
+ success = parse::ship_hulls(file_parser_path, hulls);
+ break;
+ }
+ case ship_designs_parser: {
+ std::map<std::string, ShipDesign*> designs;
+ success = parse::ship_designs(file_parser_path, designs);
+ break;
+ }
+ case fleet_plans_parser: {
+ std::vector<FleetPlan*> fleet_plans;
+ success = parse::fleet_plans(file_parser_path, fleet_plans);
+ break;
+ }
+ case monster_fleet_plans_parser: {
+ std::vector<MonsterFleetPlan*> monster_fleet_plans;
+ success = parse::monster_fleet_plans(file_parser_path, monster_fleet_plans);
+ break;
+ }
+ case alignments_parser: {
+ std::vector<Alignment> alignments;
+ std::vector<boost::shared_ptr<const Effect::EffectsGroup> > effects_groups;
+ success = parse::alignments(file_parser_path, alignments, effects_groups);
+ break;
+ }
default:
break;
}
Please sign in to comment.
Something went wrong with that request. Please try again.