ConsoleTests PressingF12Inactivates Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Terminal.Tests
Assembly: DeltaEngine.Scenes.Terminal.Tests (in DeltaEngine.Scenes.Terminal.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void PressingF12Inactivates()
Examples

[Test, CloseAfterFirstFrame]
public void PressingF12Inactivates()
{
    if (keyboard == null)
        return; //ncrunch: no coverage
    PressKey(Key.F12);
    Assert.IsFalse(console.IsActive);
    Assert.IsFalse(console.history.IsActive);
    Assert.IsFalse(console.command.IsActive);
    Assert.IsFalse(console.autoCompletions.IsActive);
}
See Also