summaryrefslogtreecommitdiff
path: root/src/test/burn/WixToolsetTest.BurnE2E/RegistrationTests.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-05-13 11:40:45 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-05-13 12:35:15 -0500
commit031991f32f059b64374e6d257cbe573304dd577f (patch)
tree9d11ebb5d8595bf45c507f38d637b14915af7630 /src/test/burn/WixToolsetTest.BurnE2E/RegistrationTests.cs
parentad6d2636f60b04ee68656f99fb3bd56a86ba5983 (diff)
downloadwix-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/RegistrationTests.cs')
-rw-r--r--src/test/burn/WixToolsetTest.BurnE2E/RegistrationTests.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/RegistrationTests.cs b/src/test/burn/WixToolsetTest.BurnE2E/RegistrationTests.cs
index 01ffa942..b45ec83a 100644
--- a/src/test/burn/WixToolsetTest.BurnE2E/RegistrationTests.cs
+++ b/src/test/burn/WixToolsetTest.BurnE2E/RegistrationTests.cs
@@ -3,6 +3,7 @@
3namespace WixToolsetTest.BurnE2E 3namespace WixToolsetTest.BurnE2E
4{ 4{
5 using System; 5 using System;
6 using WixTestTools;
6 using WixToolset.Mba.Core; 7 using WixToolset.Mba.Core;
7 using Xunit; 8 using Xunit;
8 using Xunit.Abstractions; 9 using Xunit.Abstractions;
@@ -11,7 +12,7 @@ namespace WixToolsetTest.BurnE2E
11 { 12 {
12 public RegistrationTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } 13 public RegistrationTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { }
13 14
14 [Fact] 15 [RuntimeFact]
15 public void AllowsBAToKeepRegistration() 16 public void AllowsBAToKeepRegistration()
16 { 17 {
17 this.CreatePackageInstaller("PackageA"); 18 this.CreatePackageInstaller("PackageA");
@@ -37,7 +38,7 @@ namespace WixToolsetTest.BurnE2E
37 Assert.InRange(finalRegistration.EstimatedSize.Value, initialRegistration.EstimatedSize.Value + 1, Int32.MaxValue); 38 Assert.InRange(finalRegistration.EstimatedSize.Value, initialRegistration.EstimatedSize.Value + 1, Int32.MaxValue);
38 } 39 }
39 40
40 [Fact] 41 [RuntimeFact]
41 public void AutomaticallyUncachesBundleWhenNotInstalled() 42 public void AutomaticallyUncachesBundleWhenNotInstalled()
42 { 43 {
43 this.CreatePackageInstaller("PackageA"); 44 this.CreatePackageInstaller("PackageA");
@@ -53,19 +54,19 @@ namespace WixToolsetTest.BurnE2E
53 bundleA.VerifyUnregisteredAndRemovedFromPackageCache(); 54 bundleA.VerifyUnregisteredAndRemovedFromPackageCache();
54 } 55 }
55 56
56 [Fact] 57 [RuntimeFact]
57 public void AutomaticallyUninstallsBundleWithoutBADoingApply() 58 public void AutomaticallyUninstallsBundleWithoutBADoingApply()
58 { 59 {
59 this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(true); 60 this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(true);
60 } 61 }
61 62
62 [Fact] 63 [RuntimeFact]
63 public void AutomaticallyUninstallsBundleWithoutBADoingDetect() 64 public void AutomaticallyUninstallsBundleWithoutBADoingDetect()
64 { 65 {
65 this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(false); 66 this.InstallBundleThenManuallyUninstallPackageAndRemovePackageFromCacheThenRunAndQuitWithoutApply(false);
66 } 67 }
67 68
68 [Fact] 69 [RuntimeFact]
69 public void RegistersInARPIfPrecached() 70 public void RegistersInARPIfPrecached()
70 { 71 {
71 this.CreatePackageInstaller("PackageA"); 72 this.CreatePackageInstaller("PackageA");