diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-05-13 11:40:45 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-05-13 12:35:15 -0500 |
commit | 031991f32f059b64374e6d257cbe573304dd577f (patch) | |
tree | 9d11ebb5d8595bf45c507f38d637b14915af7630 /src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs | |
parent | ad6d2636f60b04ee68656f99fb3bd56a86ba5983 (diff) | |
download | wix-031991f32f059b64374e6d257cbe573304dd577f.tar.gz wix-031991f32f059b64374e6d257cbe573304dd577f.tar.bz2 wix-031991f32f059b64374e6d257cbe573304dd577f.zip |
Add ability to skip tests at runtime, and skip long running cache tests
6665
Diffstat (limited to 'src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs')
-rw-r--r-- | src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs b/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs index 9fcd428b..df666833 100644 --- a/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs +++ b/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs | |||
@@ -6,6 +6,7 @@ namespace WixToolsetTest.BurnE2E | |||
6 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
7 | using System.Diagnostics; | 7 | using System.Diagnostics; |
8 | using System.IO; | 8 | using System.IO; |
9 | using WixTestTools; | ||
9 | using Xunit; | 10 | using Xunit; |
10 | using Xunit.Abstractions; | 11 | using Xunit.Abstractions; |
11 | 12 | ||
@@ -13,7 +14,7 @@ namespace WixToolsetTest.BurnE2E | |||
13 | { | 14 | { |
14 | public UpdateBundleTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } | 15 | public UpdateBundleTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } |
15 | 16 | ||
16 | [Fact] | 17 | [RuntimeFact] |
17 | public void CanLaunchUpdateBundleFromLocalSourceInsteadOfInstall() | 18 | public void CanLaunchUpdateBundleFromLocalSourceInsteadOfInstall() |
18 | { | 19 | { |
19 | var packageAv1 = this.CreatePackageInstaller("PackageAv1"); | 20 | var packageAv1 = this.CreatePackageInstaller("PackageAv1"); |
@@ -39,7 +40,7 @@ namespace WixToolsetTest.BurnE2E | |||
39 | packageAv2.VerifyInstalled(false); | 40 | packageAv2.VerifyInstalled(false); |
40 | } | 41 | } |
41 | 42 | ||
42 | [Fact] | 43 | [RuntimeFact] |
43 | public void CanLaunchUpdateBundleFromLocalSourceInsteadOfModify() | 44 | public void CanLaunchUpdateBundleFromLocalSourceInsteadOfModify() |
44 | { | 45 | { |
45 | var packageAv1 = this.CreatePackageInstaller("PackageAv1"); | 46 | var packageAv1 = this.CreatePackageInstaller("PackageAv1"); |
@@ -71,7 +72,7 @@ namespace WixToolsetTest.BurnE2E | |||
71 | packageAv2.VerifyInstalled(false); | 72 | packageAv2.VerifyInstalled(false); |
72 | } | 73 | } |
73 | 74 | ||
74 | [Fact] | 75 | [RuntimeFact] |
75 | public void ForwardsArgumentsToUpdateBundle() | 76 | public void ForwardsArgumentsToUpdateBundle() |
76 | { | 77 | { |
77 | var packageAv1 = this.CreatePackageInstaller("PackageAv1"); | 78 | var packageAv1 = this.CreatePackageInstaller("PackageAv1"); |
@@ -107,7 +108,7 @@ namespace WixToolsetTest.BurnE2E | |||
107 | } | 108 | } |
108 | 109 | ||
109 | // Installs bundle Bv1.0 then tries to update to latest version during modify (but no server exists). | 110 | // Installs bundle Bv1.0 then tries to update to latest version during modify (but no server exists). |
110 | [Fact] | 111 | [RuntimeFact] |
111 | public void CanCheckUpdateServerDuringModifyAndDoNothingWhenServerIsntResponsive() | 112 | public void CanCheckUpdateServerDuringModifyAndDoNothingWhenServerIsntResponsive() |
112 | { | 113 | { |
113 | var packageB = this.CreatePackageInstaller("PackageBv1"); | 114 | var packageB = this.CreatePackageInstaller("PackageBv1"); |
@@ -133,7 +134,7 @@ namespace WixToolsetTest.BurnE2E | |||
133 | } | 134 | } |
134 | 135 | ||
135 | // Installs bundle Bv1.0 then tries to update to latest version during modify (server exists, no feed). | 136 | // Installs bundle Bv1.0 then tries to update to latest version during modify (server exists, no feed). |
136 | [Fact] | 137 | [RuntimeFact] |
137 | public void CanCheckUpdateServerDuringModifyAndDoNothingWhenFeedIsMissing() | 138 | public void CanCheckUpdateServerDuringModifyAndDoNothingWhenFeedIsMissing() |
138 | { | 139 | { |
139 | var packageB = this.CreatePackageInstaller("PackageBv1"); | 140 | var packageB = this.CreatePackageInstaller("PackageBv1"); |
@@ -162,7 +163,7 @@ namespace WixToolsetTest.BurnE2E | |||
162 | } | 163 | } |
163 | 164 | ||
164 | // Installs bundle Bv1.0 then tries to update to latest version during modify (server exists, v1.0 feed). | 165 | // Installs bundle Bv1.0 then tries to update to latest version during modify (server exists, v1.0 feed). |
165 | [Fact] | 166 | [RuntimeFact] |
166 | public void CanCheckUpdateServerDuringModifyAndDoNothingWhenAlreadyLatestVersion() | 167 | public void CanCheckUpdateServerDuringModifyAndDoNothingWhenAlreadyLatestVersion() |
167 | { | 168 | { |
168 | var packageB = this.CreatePackageInstaller("PackageBv1"); | 169 | var packageB = this.CreatePackageInstaller("PackageBv1"); |
@@ -195,7 +196,7 @@ namespace WixToolsetTest.BurnE2E | |||
195 | } | 196 | } |
196 | 197 | ||
197 | // Installs bundle Bv1.0 then does an update to bundle Bv2.0 during modify (server exists, v2.0 feed). | 198 | // Installs bundle Bv1.0 then does an update to bundle Bv2.0 during modify (server exists, v2.0 feed). |
198 | [Fact] | 199 | [RuntimeFact] |
199 | public void CanLaunchUpdateBundleFromDownloadInsteadOfModify() | 200 | public void CanLaunchUpdateBundleFromDownloadInsteadOfModify() |
200 | { | 201 | { |
201 | var packageBv1 = this.CreatePackageInstaller("PackageBv1"); | 202 | var packageBv1 = this.CreatePackageInstaller("PackageBv1"); |