Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
CreepyTowers.Tests MessagesTests
Namespace: CreepyTowers.Tests
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MessagesTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MessagesTests | Initializes a new instance of the MessagesTests class |
Methods
Name | Description | |
---|---|---|
AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) | |
CheckBathRoomMessages | ||
CheckChildrensRoomMessages | ||
CheckLivingRoommMessages | ||
InitializeResolver | (Inherited from TestWithMocksOrVisually.) | |
RegisterMock T | (Inherited from TestWithMocksOrVisually.) | |
Resolve T | (Inherited from TestWithMocksOrVisually.) | |
RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) | |
RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) |
Properties
Name | Description | |
---|---|---|
IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
Examples
[Test, CloseAfterFirstFrame] public void CheckChildrensRoomMessages() { var msges = DialoguesXml.KidsRoomMessages(); Assert.AreEqual(7, msges.Length); }
[Test, CloseAfterFirstFrame] public void CheckBathRoomMessages() { var msges = DialoguesXml.BathRoomMessages(); Assert.AreEqual(2, msges.Length); }
[Test, CloseAfterFirstFrame] public void CheckLivingRoommMessages() { var msges = DialoguesXml.LivingRoomMessages(); Assert.AreEqual(2, msges.Length); }
See Also