3 changed files with 0 additions and 82 deletions
@ -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; |
||||
} |
||||
} |
||||
} |
@ -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…
Reference in new issue