public void LeftArrowThenInsertNewCharacterInsertsText()
		{
			textEditor.RaiseKeyPressEvent('a');
			textEditor.RaiseKeyPressEvent('b');
			textEditor.RaiseDialogKeyPressEvent(Keys.Left);
			textEditor.RaiseKeyPressEvent('c');
			
			Assert.AreEqual("acb", console.GetCurrentLine());
		}
Ejemplo n.º 2
0
 public void CurrentLineIsEmpty()
 {
     Assert.AreEqual(String.Empty, RubyConsole.GetCurrentLine());
 }
Ejemplo n.º 3
0
 public void CurrentLineAfterUpArrowKeyPressed()
 {
     textEditor.RaiseDialogKeyPressEvent(Keys.Up);
     Assert.AreEqual("bc", RubyConsole.GetCurrentLine());
 }