From dea657295df261bb0e3e4d620eeae321531e3a11 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 14 Jun 2022 15:09:49 -0500 Subject: Add ability for non-vital cache package action. --- .../WixToolsetTest.BurnE2E/Utilities/TestBAController.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/test/burn/WixToolsetTest.BurnE2E/Utilities/TestBAController.cs') diff --git a/src/test/burn/WixToolsetTest.BurnE2E/Utilities/TestBAController.cs b/src/test/burn/WixToolsetTest.BurnE2E/Utilities/TestBAController.cs index 8e6611a2..3f9d76b8 100644 --- a/src/test/burn/WixToolsetTest.BurnE2E/Utilities/TestBAController.cs +++ b/src/test/burn/WixToolsetTest.BurnE2E/Utilities/TestBAController.cs @@ -42,6 +42,11 @@ namespace WixToolsetTest.BurnE2E } } + public void SetAllowAcquireAfterValidationFailure(string value = "true") + { + this.SetBurnTestValue("AllowAcquireAfterValidationFailure", value); + } + public void SetExplicitlyElevateAndPlanFromOnElevateBegin(string value = "true") { this.SetBurnTestValue("ExplicitlyElevateAndPlanFromOnElevateBegin", value); @@ -132,6 +137,16 @@ namespace WixToolsetTest.BurnE2E this.SetPackageState(packageId, "RetryExecuteFilesInUse", retryCount.HasValue ? retryCount.ToString() : null); } + /// + /// Sets the requested cache type for a package that the TestBA will return to the engine during plan. + /// + /// Package identity. + /// Cache type to request. + public void SetPackageRequestedCacheType(string packageId, BOOTSTRAPPER_CACHE_TYPE type) + { + this.SetPackageState(packageId, "CacheRequested", type.ToString()); + } + /// /// Sets the requested state for a package that the TestBA will return to the engine during plan. /// -- cgit v1.2.3-55-g6feb