Skip to content

Commit c405e63

Browse files
committed
Cleanup tests
Remove xunit leftovers Move support files into a Support subdirectory
1 parent e46e30f commit c405e63

File tree

10 files changed

+4
-6
lines changed

10 files changed

+4
-6
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/nugraph.Tests/RepositoryDirectories.cs renamed to tests/nugraph.Tests/Support/RepositoryDirectories.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static class RepositoryDirectories
1010

1111
public static FileInfo GetFile(params string[] paths) => new(GetPath(paths));
1212

13-
public static string GetPath(params string[] paths) => Path.GetFullPath(Path.Combine(new[] { GetThisDirectory(), "..", ".." }.Concat(paths).ToArray()));
13+
public static string GetPath(params string[] paths) => Path.GetFullPath(Path.Combine(new[] { GetThisDirectory(), "..", "..", ".." }.Concat(paths).ToArray()));
1414

1515
private static string GetThisDirectory([CallerFilePath] string path = "") => Path.GetDirectoryName(path)!;
1616
}

tests/nugraph.Tests/nugraph.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
16+
<None Update="*.DotSettings" Visible="false" />
1717
</ItemGroup>
1818

1919
<ItemGroup>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=support/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

tests/nugraph.Tests/xunit.runner.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)