Skip to content

Commit 1927f38

Browse files
committed
Move more tests to nunit.common.tests
1 parent 70a40c9 commit 1927f38

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/NUnitConsole/nunit4-console.tests/ExceptionHelperTests.cs renamed to src/NUnitCommon/nunit.common.tests/ExceptionHelperTests.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
using System.Collections.Generic;
55
using System.IO;
66
using System.Reflection;
7-
using NUnit.Common;
87
using NUnit.Engine;
98
using NUnit.Framework;
109

11-
namespace NUnit.ConsoleRunner
10+
namespace NUnit
1211
{
1312
internal class ExceptionHelperTests
1413
{
@@ -53,8 +52,8 @@ private static IEnumerable<TestCaseData> TestCases
5352
yield return new TestCaseData(exception3, new[] { typeof(InvalidOperationException), typeof(FileNotFoundException), typeof(AccessViolationException) })
5453
.SetName("{m}(Multiple InnerExceptions)");
5554

56-
var relfectionException = new ReflectionTypeLoadException(new[] { typeof(ExceptionHelperTests) }, new[] { new FileNotFoundException() });
57-
yield return new TestCaseData(relfectionException, new[] { typeof(ReflectionTypeLoadException), typeof(FileNotFoundException) })
55+
var reflectionException = new ReflectionTypeLoadException(new[] { typeof(ExceptionHelperTests) }, new[] { new FileNotFoundException() });
56+
yield return new TestCaseData(reflectionException, new[] { typeof(ReflectionTypeLoadException), typeof(FileNotFoundException) })
5857
.SetName("{m}(LoaderException)");
5958
}
6059
}

0 commit comments

Comments
 (0)