Пример #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));
        }
Пример #2
0
 public void TearDown()
 {
     host.Dispose();
 }
Пример #3
0
 public void TearDown()
 {
     host.Dispose();
     textEditorControl.Dispose();
 }