LabelTests ChangeTextOnce Method Delta Engine Documentation

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

public void ChangeTextOnce()
Examples

[Test, CloseAfterFirstFrame]
public void ChangeTextOnce()
{
    label.Text = "Change 1";
    Assert.AreEqual("Change 1", label.Text);
    Assert.AreEqual("Hello World", label.PreviousText);
}
See Also