28 changed files with 63 additions and 154 deletions
@ -1,19 +0,0 @@ |
|||||||
// <file>
|
|
||||||
// <copyright see="prj:///doc/copyright.txt"/>
|
|
||||||
// <license see="prj:///doc/license.txt"/>
|
|
||||||
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
|
|
||||||
// <version>$Revision$</version>
|
|
||||||
// </file>
|
|
||||||
|
|
||||||
using System; |
|
||||||
using ICSharpCode.Scripting; |
|
||||||
|
|
||||||
namespace ICSharpCode.PythonBinding |
|
||||||
{ |
|
||||||
public interface IPythonConsolePad |
|
||||||
{ |
|
||||||
void BringToFront(); |
|
||||||
IScriptingConsoleTextEditor ConsoleTextEditor { get; } |
|
||||||
IPythonConsole PythonConsole { get; } |
|
||||||
} |
|
||||||
} |
|
@ -1,22 +0,0 @@ |
|||||||
// <file>
|
|
||||||
// <copyright see="prj:///doc/copyright.txt"/>
|
|
||||||
// <license see="prj:///doc/license.txt"/>
|
|
||||||
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
|
|
||||||
// <version>$Revision$</version>
|
|
||||||
// </file>
|
|
||||||
|
|
||||||
using System; |
|
||||||
using ICSharpCode.PythonBinding; |
|
||||||
|
|
||||||
namespace PythonBinding.Tests.Utils |
|
||||||
{ |
|
||||||
public class MockPythonConsole : IPythonConsole |
|
||||||
{ |
|
||||||
public string TextPassedToSendLine; |
|
||||||
|
|
||||||
public void SendLine(string text) |
|
||||||
{ |
|
||||||
TextPassedToSendLine = text; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -1,35 +0,0 @@ |
|||||||
// <file>
|
|
||||||
// <copyright see="prj:///doc/copyright.txt"/>
|
|
||||||
// <license see="prj:///doc/license.txt"/>
|
|
||||||
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
|
|
||||||
// <version>$Revision$</version>
|
|
||||||
// </file>
|
|
||||||
|
|
||||||
using System; |
|
||||||
using ICSharpCode.PythonBinding; |
|
||||||
using ICSharpCode.Scripting; |
|
||||||
using ICSharpCode.Scripting.Tests.Utils; |
|
||||||
|
|
||||||
namespace PythonBinding.Tests.Utils |
|
||||||
{ |
|
||||||
public class MockPythonConsolePad : IPythonConsolePad |
|
||||||
{ |
|
||||||
public MockConsoleTextEditor MockConsoleTextEditor = new MockConsoleTextEditor(); |
|
||||||
public MockPythonConsole MockPythonConsole = new MockPythonConsole(); |
|
||||||
|
|
||||||
public bool BringToFrontCalled; |
|
||||||
|
|
||||||
public void BringToFront() |
|
||||||
{ |
|
||||||
BringToFrontCalled = true; |
|
||||||
} |
|
||||||
|
|
||||||
public IScriptingConsoleTextEditor ConsoleTextEditor { |
|
||||||
get { return MockConsoleTextEditor; } |
|
||||||
} |
|
||||||
|
|
||||||
public IPythonConsole PythonConsole { |
|
||||||
get { return MockPythonConsole; } |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -1,16 +0,0 @@ |
|||||||
// <file>
|
|
||||||
// <copyright see="prj:///doc/copyright.txt"/>
|
|
||||||
// <license see="prj:///doc/license.txt"/>
|
|
||||||
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
|
|
||||||
// <version>$Revision$</version>
|
|
||||||
// </file>
|
|
||||||
|
|
||||||
using System; |
|
||||||
|
|
||||||
namespace ICSharpCode.RubyBinding |
|
||||||
{ |
|
||||||
public interface IRubyConsole |
|
||||||
{ |
|
||||||
void SendLine(string text); |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue