summaryrefslogtreecommitdiff
path: root/src/test/burn/TestBA
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-06-29 19:14:02 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-07-02 12:50:09 -0500
commit8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc (patch)
tree639f70e7327cdfade62271da04aaaaae2e85cc05 /src/test/burn/TestBA
parente844f12f7d7247a1e9ba4eef2a388e614001bb24 (diff)
downloadwix-8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc.tar.gz
wix-8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc.tar.bz2
wix-8cbfc326cccf8d9b3b63cb6f752fc770f7dee0fc.zip
Expose overridable variable APIs in balutil and Mba.Core.
Fixes #4777
Diffstat (limited to 'src/test/burn/TestBA')
-rw-r--r--src/test/burn/TestBA/TestBA.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/burn/TestBA/TestBA.cs b/src/test/burn/TestBA/TestBA.cs
index 09378bc5..5c70253d 100644
--- a/src/test/burn/TestBA/TestBA.cs
+++ b/src/test/burn/TestBA/TestBA.cs
@@ -74,8 +74,6 @@ namespace WixToolset.Test.BA
74 return; 74 return;
75 } 75 }
76 76
77 base.OnStartup(args);
78
79 this.action = this.Command.Action; 77 this.action = this.Command.Action;
80 this.TestVariables(); 78 this.TestVariables();
81 79
@@ -84,7 +82,7 @@ namespace WixToolset.Test.BA
84 82
85 List<string> verifyArguments = this.ReadVerifyArguments(); 83 List<string> verifyArguments = this.ReadVerifyArguments();
86 84
87 foreach (string arg in this.Command.CommandLineArgs) 85 foreach (string arg in BootstrapperCommand.ParseCommandLineToArgs(this.Command.CommandLine))
88 { 86 {
89 // If we're not in the update already, process the updatebundle. 87 // If we're not in the update already, process the updatebundle.
90 if (this.Command.Relation != RelationType.Update && arg.StartsWith("-updatebundle:", StringComparison.OrdinalIgnoreCase)) 88 if (this.Command.Relation != RelationType.Update && arg.StartsWith("-updatebundle:", StringComparison.OrdinalIgnoreCase))
@@ -116,6 +114,8 @@ namespace WixToolset.Test.BA
116 return; 114 return;
117 } 115 }
118 116
117 base.OnStartup(args);
118
119 int redetectCount; 119 int redetectCount;
120 string redetect = this.ReadPackageAction(null, "RedetectCount"); 120 string redetect = this.ReadPackageAction(null, "RedetectCount");
121 if (String.IsNullOrEmpty(redetect) || !Int32.TryParse(redetect, out redetectCount)) 121 if (String.IsNullOrEmpty(redetect) || !Int32.TryParse(redetect, out redetectCount))