diff --git a/Users/Matthijs/DebugCompiler/DebugCompiler.csproj b/Users/Matthijs/DebugCompiler/DebugCompiler.csproj index e4151c7e7..544893e9c 100644 --- a/Users/Matthijs/DebugCompiler/DebugCompiler.csproj +++ b/Users/Matthijs/DebugCompiler/DebugCompiler.csproj @@ -94,9 +94,7 @@ - - @@ -116,11 +114,11 @@ - \ No newline at end of file diff --git a/Users/Matthijs/DebugCompiler/MyEngine.cs b/Users/Matthijs/DebugCompiler/MyEngine.cs index b898c0424..c9b535fdb 100644 --- a/Users/Matthijs/DebugCompiler/MyEngine.cs +++ b/Users/Matthijs/DebugCompiler/MyEngine.cs @@ -9,15 +9,15 @@ namespace DebugCompiler [TestFixture] public class RunKernels { - [Test] - public void Test([ValueSource(typeof(MySource), nameof(MySource.ProvideData))] Type kernelToRun) + [TestCaseSource(typeof(MySource), nameof(MySource.ProvideData))] + public void Test(Type kernelToRun) { Environment.CurrentDirectory = Path.GetDirectoryName(typeof(RunKernels).Assembly.Location); var xEngine = new Engine(); // Sets the time before an error is registered. For example if set to 60 then if a kernel runs for more than 60 seconds then // that kernel will be marked as a failiure and terminated - xEngine.AllowedSecondsInKernel = 300; + xEngine.AllowedSecondsInKernel = 600; // If you want to test only specific platforms, add them to the list, like next line. By default, all platforms are run. xEngine.RunTargets.Add(RunTargetEnum.Bochs); diff --git a/Users/Matthijs/DebugCompiler/MyEngineAttribute.cs b/Users/Matthijs/DebugCompiler/MyEngineAttribute.cs deleted file mode 100644 index 47aa4df52..000000000 --- a/Users/Matthijs/DebugCompiler/MyEngineAttribute.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using NUnit.Framework; -using NUnit.Framework.Interfaces; -using NUnit.Framework.Internal; - -namespace DebugCompiler -{ - [AttributeUsage(AttributeTargets.Class)] - public class MyEngineAttribute: NUnitAttribute, IFixtureBuilder - { - public IEnumerable BuildFrom(ITypeInfo typeInfo) - { - throw new System.NotImplementedException(); - } - } -} diff --git a/Users/Matthijs/DebugCompiler/MyTest.cs b/Users/Matthijs/DebugCompiler/MyTest.cs deleted file mode 100644 index a478831a5..000000000 --- a/Users/Matthijs/DebugCompiler/MyTest.cs +++ /dev/null @@ -1,14 +0,0 @@ -using NUnit.Framework; - -namespace DebugCompiler -{ - [TestFixture] - public class MyTest - { - [Test] - public void Test() - { - Assert.IsTrue(true); - } - } -}