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
|
@ -37,9 +37,9 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\References\nmock\net-2.0\NMock2.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nunit.framework, Version=2.4.6.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
|
||||
<Reference Include="nunit.framework, Version=2.5.0.8332, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\References\nunit\net-2.0\nunit.framework.dll</HintPath>
|
||||
<HintPath>..\References\nunit\net-2.0\framework\nunit.framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support {
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ using System.IO;
|
|||
using System.Reflection;
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ using System;
|
|||
using System.IO;
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
||||
|
@ -104,7 +103,7 @@ namespace Nuclex.Support.Plugins {
|
|||
|
||||
Assert.AreEqual(1, testEmployer.Instances.Count);
|
||||
Assert.AreEqual(typeof(Derived), testEmployer.Instances[0].GetType());
|
||||
Assert.IsInstanceOfType(typeof(Derived), testEmployer.Instances[0]);
|
||||
Assert.IsInstanceOf<Derived>(testEmployer.Instances[0]);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -119,7 +118,7 @@ namespace Nuclex.Support.Plugins {
|
|||
|
||||
Assert.AreEqual(1, testEmployer.Instances.Count);
|
||||
Assert.AreEqual(typeof(Unrelated), testEmployer.Instances[0].GetType());
|
||||
Assert.IsInstanceOfType(typeof(Unrelated), testEmployer.Instances[0]);
|
||||
Assert.IsInstanceOf<Unrelated>(testEmployer.Instances[0]);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ using System.Reflection;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ using System.Reflection;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
using NMock2;
|
||||
|
||||
namespace Nuclex.Support.Plugins {
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace Nuclex.Support.Scheduling {
|
|||
memory.Position = 0;
|
||||
object exception2 = formatter.Deserialize(memory);
|
||||
|
||||
Assert.IsInstanceOfType(typeof(AbortedException), exception2);
|
||||
Assert.IsInstanceOf<AbortedException>(exception2);
|
||||
Assert.AreEqual(exception1.Message, ((AbortedException)exception2).Message);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Tracking {
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ using System.Threading;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
using NMock2;
|
||||
|
||||
namespace Nuclex.Support.Tracking {
|
||||
|
|
|
@ -25,7 +25,6 @@ using System.Threading;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
using NMock2;
|
||||
|
||||
namespace Nuclex.Support.Tracking {
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Tracking {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Tracking {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ using System.IO;
|
|||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support.Tracking {
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ using System.IO;
|
|||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework.SyntaxHelpers;
|
||||
|
||||
namespace Nuclex.Support {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user