|
9 | 9 | using System.Diagnostics; |
10 | 10 | using NetSparkleUpdater.Interfaces; |
11 | 11 | using NetSparkleUpdater.AppCastHandlers; |
| 12 | +using System.Threading.Tasks; |
12 | 13 |
|
13 | 14 | namespace NetSparkle.Tests.AppCastGenerator |
14 | 15 | { |
@@ -858,7 +859,7 @@ public void CheckReleaseNotesLink(AppCastMakerType appCastMakerType) |
858 | 859 | [Theory] |
859 | 860 | [InlineData(AppCastMakerType.Xml)] |
860 | 861 | [InlineData(AppCastMakerType.Json)] |
861 | | - public async void NetSparkleCanParseHumanReadableAppCast(AppCastMakerType appCastMakerType) |
| 862 | + public async Task NetSparkleCanParseHumanReadableAppCast(AppCastMakerType appCastMakerType) |
862 | 863 | { |
863 | 864 | var tempDir = GetCleanTempDir(); |
864 | 865 | // create dummy file |
@@ -1055,7 +1056,7 @@ public void CannotSetVersionViaCLIWithTwoItemsHavingNoVersion(AppCastMakerType a |
1055 | 1056 | [Theory] |
1056 | 1057 | [InlineData(AppCastMakerType.Xml)] |
1057 | 1058 | [InlineData(AppCastMakerType.Json)] |
1058 | | - public async void CanSetCriticalVersion(AppCastMakerType appCastMakerType) |
| 1059 | + public async Task CanSetCriticalVersion(AppCastMakerType appCastMakerType) |
1059 | 1060 | { |
1060 | 1061 | // setup test dir |
1061 | 1062 | var tempDir = GetCleanTempDir(); |
@@ -1145,7 +1146,7 @@ public async void CanSetCriticalVersion(AppCastMakerType appCastMakerType) |
1145 | 1146 | [InlineData(AppCastMakerType.Xml, true)] |
1146 | 1147 | [InlineData(AppCastMakerType.Xml, false)] |
1147 | 1148 | [InlineData(AppCastMakerType.Json, true)] |
1148 | | - public async void CanChangeXmlSignatureOutput(AppCastMakerType appCastMakerType, bool useEdSignatureAttr) |
| 1149 | + public async Task CanChangeXmlSignatureOutput(AppCastMakerType appCastMakerType, bool useEdSignatureAttr) |
1149 | 1150 | { |
1150 | 1151 | // setup test dir |
1151 | 1152 | var tempDir = GetCleanTempDir(); |
@@ -1262,7 +1263,7 @@ public async void CanChangeXmlSignatureOutput(AppCastMakerType appCastMakerType, |
1262 | 1263 | [Theory] |
1263 | 1264 | [InlineData(AppCastMakerType.Xml)] |
1264 | 1265 | [InlineData(AppCastMakerType.Json)] |
1265 | | - public async void CanSetChannel(AppCastMakerType appCastMakerType) |
| 1266 | + public async Task CanSetChannel(AppCastMakerType appCastMakerType) |
1266 | 1267 | { |
1267 | 1268 | // setup test dir |
1268 | 1269 | var tempDir = GetCleanTempDir(); |
@@ -1780,7 +1781,7 @@ public void CanMakeAppCastWithAssemblyData(AppCastMakerType appCastMakerType) |
1780 | 1781 | } |
1781 | 1782 | else |
1782 | 1783 | { |
1783 | | - Assert.True(false, "Failed to build assembly"); |
| 1784 | + Assert.Fail("Failed to build assembly"); |
1784 | 1785 | } |
1785 | 1786 | } |
1786 | 1787 | finally |
|
0 commit comments