Skip to content

Commit

Permalink
Platform specific
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Dec 6, 2024
1 parent c1bcc13 commit 5bef206
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions test/dotnet-watch.Tests/HotReload/RuntimeProcessLauncherTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,20 @@ public enum DirectoryKind
Obj,
}

[Theory]
[PlatformSpecificTheory(TestPlatforms.Windows)]
[CombinatorialData]
public Task IgnoredChange_Windows(bool isExisting, bool isIncluded, DirectoryKind directoryKind)
=> IgnoredChange(isExisting, isIncluded, directoryKind);

[PlatformSpecificTheory(TestPlatforms.AnyUnix)]
[CombinatorialData]
public async Task IgnoredChange(bool isExisting, bool isIncluded, DirectoryKind directoryKind)
public Task IgnoredChange_Unix(
bool isExisting,
bool isIncluded,
[CombinatorialValues(DirectoryKind.Obj, DirectoryKind.Bin, DirectoryKind.Ordinary)] DirectoryKind directoryKind)
=> IgnoredChange(isExisting, isIncluded, directoryKind);

private async Task IgnoredChange(bool isExisting, bool isIncluded, DirectoryKind directoryKind)
{
var testAsset = CopyTestAsset("WatchNoDepsApp", [isExisting, isIncluded, directoryKind]);

Expand Down

0 comments on commit 5bef206

Please sign in to comment.