Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
Blocks.Tests UserInterfaceTests
Namespace: Blocks.Tests
Assembly: Blocks.Tests (in Blocks.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The UserInterfaceTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UserInterfaceTests | Initializes a new instance of the UserInterfaceTests class |
Methods
Name | Description | |
---|---|---|
AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) | |
InitializeResolver | (Inherited from TestWithMocksOrVisually.) | |
OnLoseScoreShouldBeZero | ||
RegisterMock T | (Inherited from TestWithMocksOrVisually.) | |
Resolve T | (Inherited from TestWithMocksOrVisually.) | |
RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) | |
RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) | |
SetUp | ||
UserInterfaceShouldBeHidden | ||
UserInterfaceShouldChangeFromLandscapeToPortrait |
Properties
Name | Description | |
---|---|---|
IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
Examples
[Test, CloseAfterFirstFrame] public void UserInterfaceShouldChangeFromLandscapeToPortrait() { userInterface.ShowUserInterfacePortrait(); }
[Test, CloseAfterFirstFrame] public void OnLoseScoreShouldBeZero() { userInterface.Lose(); Assert.AreEqual(0, userInterface.Score); }
[Test, CloseAfterFirstFrame] public void UserInterfaceShouldBeHidden() { userInterface.Dispose(); }
See Also