public void SetUpFixture()
        {
            textEditor = new MockTextEditor();
            console    = new RubyConsole(textEditor, null);
            console.WriteLine(prompt, Style.Prompt);

            textEditor.RaiseKeyPressEvents("a");
            showCompletionWindowCalledBeforeDotTypedIn = textEditor.IsShowCompletionWindowCalled;
            textEditor.RaiseKeyPressEvent('.');
        }
Example #2
0
 public void WriteLine()
 {
     RubyConsole.WriteLine();
     Assert.AreEqual(Environment.NewLine, mockTextEditor.Text);
 }