Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison API/Objects/Mock/MockGameSystem.cs @ 98:49c5e24decb9
Re #338: WarFoundry.API - Save System Data
* Make sure MockGameSystem doesn't cause null pointers during tests (separate bug to fix properly)
* Add test for saving GameSystem
* Add implementation of test to XML version
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 09 Mar 2011 20:45:13 +0000 |
parents | a4e7e938d065 |
children |
comparison
equal
deleted
inserted
replaced
97:45b80fed5e2a | 98:49c5e24decb9 |
---|---|
22 return mock; | 22 return mock; |
23 } | 23 } |
24 | 24 |
25 public MockGameSystem () : base("mocksystem", "Mock Game System", MockSystemFactory.GetMockFactory()) | 25 public MockGameSystem () : base("mocksystem", "Mock Game System", MockSystemFactory.GetMockFactory()) |
26 { | 26 { |
27 AddSystemStats(new SystemStats("default")); | |
28 StandardSystemStatsID = "default"; | |
27 } | 29 } |
28 } | 30 } |
29 } | 31 } |