Skip to content

Commit

Permalink
Simplify test runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
mterwoord committed Jun 14, 2016
1 parent 9a557e6 commit 1b358a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 41 deletions.
14 changes: 6 additions & 8 deletions Users/Matthijs/DebugCompiler/DebugCompiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="MyEngine.cs" />
<Compile Include="MyEngineAttribute.cs" />
<Compile Include="MySource.cs" />
<Compile Include="MyTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
Expand All @@ -116,11 +114,11 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
4 changes: 2 additions & 2 deletions Users/Matthijs/DebugCompiler/MyEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ 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);

Expand Down
17 changes: 0 additions & 17 deletions Users/Matthijs/DebugCompiler/MyEngineAttribute.cs

This file was deleted.

14 changes: 0 additions & 14 deletions Users/Matthijs/DebugCompiler/MyTest.cs

This file was deleted.

0 comments on commit 1b358a9

Please sign in to comment.