Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.TestFramework.Tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6085/DotNetMock.TestFramework.Tests
Modified Files:
ImplementationFactoryTests.cs
Log Message:
- Upgraded Tests to use NUnit 2.2
Index: ImplementationFactoryTests.cs
===================================================================
RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.TestFramework.Tests/ImplementationFactoryTests.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ImplementationFactoryTests.cs 5 Feb 2005 21:46:26 -0000 1.3
--- ImplementationFactoryTests.cs 12 Feb 2005 18:10:35 -0000 1.4
***************
*** 47,52 ****
{
linker.ExpectedAssemblyName = "nunit.framework";
! linker.ExpectedAssembly = typeof(NUnit.Framework.Assertion).Module.Assembly;
! linker.ExpectedType = typeof(NUnit.Framework.Assertion);
ImplementationFactory factory = new ImplementationFactory(env, linker);
--- 47,52 ----
{
linker.ExpectedAssemblyName = "nunit.framework";
! linker.ExpectedAssembly = typeof(Assertion).Module.Assembly;
! linker.ExpectedType = typeof(Assertion);
ImplementationFactory factory = new ImplementationFactory(env, linker);
***************
*** 58,62 ****
Assert.AreEqual("nunit.framework", linker.ActualAssemblyNames.Pop());
Assert.AreEqual("NUnit.Framework.Assertion", linker.ActualTypeName);
! Assert.AreSame(typeof(NUnit.Framework.Assertion).Module.Assembly, linker.ActualAssembly);
Assert.AreEqual("ProviderStub", linker.ActualType.FullName);
}
--- 58,62 ----
Assert.AreEqual("nunit.framework", linker.ActualAssemblyNames.Pop());
Assert.AreEqual("NUnit.Framework.Assertion", linker.ActualTypeName);
! Assert.AreSame(typeof(Assertion).Module.Assembly, linker.ActualAssembly);
Assert.AreEqual("ProviderStub", linker.ActualType.FullName);
}
***************
*** 102,107 ****
linker.ExpectedAssemblyName = "xxx";
linker.ExpectedPartialAssemblyName = "nunit.framework";
! linker.ExpectedAssembly = typeof(NUnit.Framework.Assertion).Module.Assembly;
! linker.ExpectedType = typeof(NUnit.Framework.Assertion);
ImplementationFactory factory = new ImplementationFactory(env, linker);
--- 102,107 ----
linker.ExpectedAssemblyName = "xxx";
linker.ExpectedPartialAssemblyName = "nunit.framework";
! linker.ExpectedAssembly = typeof(Assertion).Module.Assembly;
! linker.ExpectedType = typeof(Assertion);
ImplementationFactory factory = new ImplementationFactory(env, linker);
***************
*** 116,120 ****
Assert.AreEqual("nunit.framework", linker.ActualAssemblyNames.Pop());
Assert.AreEqual("NUnit.Framework.Assertion", linker.ActualTypeName);
! Assert.AreSame(typeof(NUnit.Framework.Assertion).Module.Assembly, linker.ActualAssembly);
Assert.AreEqual("ProviderStub", linker.ActualType.FullName);
}
--- 116,120 ----
Assert.AreEqual("nunit.framework", linker.ActualAssemblyNames.Pop());
Assert.AreEqual("NUnit.Framework.Assertion", linker.ActualTypeName);
! Assert.AreSame(typeof(Assertion).Module.Assembly, linker.ActualAssembly);
Assert.AreEqual("ProviderStub", linker.ActualType.FullName);
}
|