Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
CreepyTowers.Tests TestWithCreepyTowersMockContentLoaderOrVisually
CreepyTowers.Tests.Creeps GroupPropertiesXmlTests
Namespace: CreepyTowers.Tests.Creeps
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The GroupPropertiesXmlTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | GroupPropertiesXmlTests | Initializes a new instance of the GroupPropertiesXmlTests class |
Methods
Name | Description | |
---|---|---|
![]() | AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) |
![]() | Initialize | |
![]() | InitializeCreepyTowersMockContentLoader | (Inherited from TestWithCreepyTowersMockContentLoaderOrVisually.) |
![]() | InitializeResolver | (Inherited from TestWithMocksOrVisually.) |
![]() | RegisterMock T | (Inherited from TestWithMocksOrVisually.) |
![]() | Resolve T | (Inherited from TestWithMocksOrVisually.) |
![]() | RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) |
![]() | RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) |
![]() | TestGroupPropertiesXml |
Properties
Name | Description | |
---|---|---|
![]() | IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
Examples
[Test, CloseAfterFirstFrame] public void TestGroupPropertiesXml() { var groupData = groupProperties.Get(CreepGroups.Paper2); Assert.AreEqual(0.5f, groupData.CreepSpawnInterval); Assert.AreEqual("Paper2", groupData.Name); var list = new List<CreepType> { CreepType.Paper, CreepType.Paper }; Assert.AreEqual(list, groupData.CreepList); }
See Also