Upgraded Nuclex.Support to NUnit 2.5 Beta 1
git-svn-id: file:///srv/devel/repo-conversion/nusu@114 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
0a483b4d44
commit
8dc15e8515
21 changed files with 7 additions and 30 deletions
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
||||
|
@ -103,9 +102,7 @@ namespace Nuclex.Support.Plugins {
|
|||
|
||||
Assert.AreEqual(1, testEmployer.Factories.Count);
|
||||
Assert.AreEqual(typeof(Derived), testEmployer.Factories[0].ConcreteType);
|
||||
Assert.IsInstanceOfType(
|
||||
typeof(Derived), testEmployer.Factories[0].CreateInstance()
|
||||
);
|
||||
Assert.IsInstanceOf<Derived>(testEmployer.Factories[0].CreateInstance());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -120,9 +117,7 @@ namespace Nuclex.Support.Plugins {
|
|||
|
||||
Assert.AreEqual(1, testEmployer.Factories.Count);
|
||||
Assert.AreEqual(typeof(Unrelated), testEmployer.Factories[0].ConcreteType);
|
||||
Assert.IsInstanceOfType(
|
||||
typeof(Unrelated), testEmployer.Factories[0].CreateInstance()
|
||||
);
|
||||
Assert.IsInstanceOf<Unrelated>(testEmployer.Factories[0].CreateInstance());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue