Browse Source

Remove unused code from IronPython addin.

pull/1/head
mrward 15 years ago
parent
commit
490c3a6ced
  1. 1
      src/AddIns/BackendBindings/Python/PythonBinding/Test/PythonBinding.Tests.csproj
  2. 38
      src/AddIns/BackendBindings/Python/PythonBinding/Test/Utils/DummySynchronizeInvoke.cs
  3. 43
      src/AddIns/BackendBindings/Ruby/RubyBinding/Test/Utils/MockSite.cs

1
src/AddIns/BackendBindings/Python/PythonBinding/Test/PythonBinding.Tests.csproj

@ -440,7 +440,6 @@ @@ -440,7 +440,6 @@
<Compile Include="Utils\DerivedPythonDesignerGenerator.cs" />
<Compile Include="Utils\DerivedPythonDesignerLoader.cs" />
<Compile Include="Utils\DerivedPythonFormsDesignerDisplayBinding.cs" />
<Compile Include="Utils\DummySynchronizeInvoke.cs" />
<Compile Include="Utils\MockConsoleTextEditor.cs" />
<Compile Include="Utils\MockDesignerGenerator.cs" />
<Compile Include="Utils\MockProjectContent.cs" />

38
src/AddIns/BackendBindings/Python/PythonBinding/Test/Utils/DummySynchronizeInvoke.cs

@ -1,38 +0,0 @@ @@ -1,38 +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 System.ComponentModel;
namespace PythonBinding.Tests.Utils
{
public class DummySynchronizeInvoke : ISynchronizeInvoke
{
public DummySynchronizeInvoke()
{
}
public bool InvokeRequired {
get { return false; }
}
public IAsyncResult BeginInvoke(Delegate method, object[] args)
{
return null;
}
public object EndInvoke(IAsyncResult result)
{
return null;
}
public object Invoke(Delegate method, object[] args)
{
return null;
}
}
}

43
src/AddIns/BackendBindings/Ruby/RubyBinding/Test/Utils/MockSite.cs

@ -1,43 +0,0 @@ @@ -1,43 +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 System.ComponentModel;
namespace RubyBinding.Tests.Utils
{
public class MockSite : ISite
{
public MockSite()
{
Name = String.Empty;
}
public IComponent Component {
get {
throw new NotImplementedException();
}
}
public IContainer Container {
get { return null; }
}
public bool DesignMode {
get {
throw new NotImplementedException();
}
}
public string Name { get; set; }
public object GetService(Type serviceType)
{
return null;
}
}
}
Loading…
Cancel
Save