public CommandModeTest() { _textView = CreateTextView(); _textBuffer = _textView.TextBuffer; _vimBuffer = CreateVimBuffer(CreateVimBufferData(_textView)); var factory = new MockRepository(MockBehavior.Strict); var commonOperations = CommonOperationsFactory.GetCommonOperations(_vimBuffer.VimBufferData); _modeRaw = new CommandMode(_vimBuffer, commonOperations); _mode = _modeRaw; _mode.OnEnter(ModeArgument.None); }
public void StatusOnColon1() { _mode.OnEnter(ModeArgument.None); Assert.Equal("", _mode.Command); }