Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.Tests/Dynamic/Generate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10746/DotNetMock.Tests/Dynamic/Generate
Modified Files:
ClassGeneratorTests.cs
Log Message:
- Merged in changes from Niklas
Index: ClassGeneratorTests.cs
===================================================================
RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Tests/Dynamic/Generate/ClassGeneratorTests.cs,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** ClassGeneratorTests.cs 11 May 2005 04:08:31 -0000 1.19
--- ClassGeneratorTests.cs 6 Mar 2006 02:24:57 -0000 1.20
***************
*** 97,101 ****
thingy = ( IThingy )cg.Generate( typeof ( IThingy ), mock );
}
! private interface IDirectionalParameters
{
void DoWithInParameters( int a, string b );
--- 97,101 ----
thingy = ( IThingy )cg.Generate( typeof ( IThingy ), mock );
}
! public interface IDirectionalParameters
{
void DoWithInParameters( int a, string b );
***************
*** 133,142 ****
private MethodInfo _methodInfo = null;
}
- [Test] public void ReadPropertyGetIsSpecialName()
- {
- Type mot = thingy.GetType();
- MethodInfo get_ReadProperty = mot.GetMethod("get_ReadProperty");
- Assert.IsTrue(get_ReadProperty.IsSpecialName);
- }
[Test]
public void SaveGeneratedAssembly()
--- 133,136 ----
|