Exemplo n.º 1
0
        public void HostDisposesPythonConsole()
        {
            DerivedPythonConsoleHost host    = new DerivedPythonConsoleHost(new MockTextEditor());
            PythonConsole            console = host.CallCreateConsole(null, null, null) as PythonConsole;

            host.Dispose();

            Assert.IsNull(console.ReadLine(0));
        }
Exemplo n.º 2
0
 public void TearDown()
 {
     host.Dispose();
 }
Exemplo n.º 3
0
 public void TearDown()
 {
     host.Dispose();
     textEditorControl.Dispose();
 }