|
7 | 7 | using DotnetPackaging.Exe.Installer.Core; |
8 | 8 | using FluentAssertions; |
9 | 9 | using Xunit; |
10 | | -using Xunit.Sdk; |
11 | 10 |
|
12 | 11 | namespace DotnetPackaging.Exe.Tests; |
13 | 12 |
|
14 | 13 | public class SimpleExePackerTests |
15 | 14 | { |
16 | | - [Fact] |
| 15 | + [SkippableFact] |
17 | 16 | public async Task Should_Create_Valid_Uninstaller_By_Stripping_Payload() |
18 | 17 | { |
19 | 18 | Skip.IfNot(OperatingSystem.IsWindows(), "Installer stub is Windows-only."); |
@@ -77,7 +76,7 @@ public async Task Should_Create_Valid_Uninstaller_By_Stripping_Payload() |
77 | 76 | try { Directory.Delete(tempDir.FullName, true); } catch { } |
78 | 77 | } |
79 | 78 |
|
80 | | - [Fact] |
| 79 | + [SkippableFact] |
81 | 80 | public async Task Should_Extract_Payload_Correctly_From_Installer() |
82 | 81 | { |
83 | 82 | Skip.IfNot(OperatingSystem.IsWindows(), "Installer stub is Windows-only."); |
@@ -140,7 +139,7 @@ public async Task Should_Extract_Payload_Correctly_From_Installer() |
140 | 139 | try { Directory.Delete(tempDir.FullName, true); } catch { } |
141 | 140 | } |
142 | 141 |
|
143 | | - [Fact] |
| 142 | + [SkippableFact] |
144 | 143 | public async Task Installer_build_should_produce_bootable_executable() |
145 | 144 | { |
146 | 145 | Skip.IfNot(OperatingSystem.IsWindows(), "Installer stub is Windows-only."); |
@@ -181,7 +180,7 @@ public async Task Installer_build_should_produce_bootable_executable() |
181 | 180 | try { Directory.Delete(tempDir.FullName, true); } catch { } |
182 | 181 | } |
183 | 182 |
|
184 | | - [Fact] |
| 183 | + [SkippableFact] |
185 | 184 | public async Task Uninstaller_should_be_stripped_and_bootable() |
186 | 185 | { |
187 | 186 | Skip.IfNot(OperatingSystem.IsWindows(), "Installer stub is Windows-only."); |
@@ -235,7 +234,7 @@ public async Task Uninstaller_should_be_stripped_and_bootable() |
235 | 234 | try { Directory.Delete(tempDir.FullName, true); } catch { } |
236 | 235 | } |
237 | 236 |
|
238 | | - [Fact] |
| 237 | + [SkippableFact] |
239 | 238 | public async Task Dispatcher_failures_should_be_logged() |
240 | 239 | { |
241 | 240 | Skip.IfNot(OperatingSystem.IsWindows(), "Installer stub is Windows-only."); |
|
0 commit comments