GroupTests ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms TestWithMocksOrVisually
    CreepyTowers.Tests.Creeps GroupTests

Namespace: CreepyTowers.Tests.Creeps
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class GroupTests : TestWithMocksOrVisually

The GroupTests type exposes the following members.

Constructors

  NameDescription
Public methodGroupTests
Initializes a new instance of the GroupTests class
Top
Methods

  NameDescription
Protected methodAdvanceTimeAndUpdateEntities (Inherited from TestWithMocksOrVisually.)
Public methodCheckGroupXmlData
Public methodInitializeResolver (Inherited from TestWithMocksOrVisually.)
Protected methodRegisterMock T  (Inherited from TestWithMocksOrVisually.)
Protected methodResolve T  (Inherited from TestWithMocksOrVisually.)
Protected methodRunAfterFirstFrame (Inherited from TestWithMocksOrVisually.)
Public methodRunTestAndDisposeResolverWhenDone (Inherited from TestWithMocksOrVisually.)
Top
Properties

  NameDescription
Protected propertyIsMockResolver (Inherited from TestWithMocksOrVisually.)
Top
Examples

[Test, CloseAfterFirstFrame]
public void CheckGroupXmlData()
{
    var groupProperties = ContentLoader.Load<GroupPropertiesXml>("GroupProperties");
    Assert.AreEqual(2, groupProperties.Get(CreepGroups.Paper2).CreepList.Count);
    Assert.AreEqual(3, groupProperties.Get(CreepGroups.Cloth3).CreepList.Count);
}
See Also