diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-02 20:05:54 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 15:49:32 -0600 |
| commit | df40c2722e4a41e01cf326353e2583ae82ccc9a4 (patch) | |
| tree | 277e64d517a33a2eeaf4fd94ee457c3d48c2d49a /src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | |
| parent | b673734cce44dd28c1d4d1810da3069324466166 (diff) | |
| download | wix-df40c2722e4a41e01cf326353e2583ae82ccc9a4.tar.gz wix-df40c2722e4a41e01cf326353e2583ae82ccc9a4.tar.bz2 wix-df40c2722e4a41e01cf326353e2583ae82ccc9a4.zip | |
Fix TryGetNextNonSwitchArgumentOrError.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs index 1e3f1e24..fae2ff4c 100644 --- a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | |||
| @@ -189,35 +189,6 @@ namespace WixToolsetTest.CoreIntegration | |||
| 189 | } | 189 | } |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | [Fact(Skip = "Test demonstrates failure")] | ||
| 193 | public void CantBuildSingleExeBundleWithInvalidArgument() | ||
| 194 | { | ||
| 195 | var folder = TestData.Get(@"TestData"); | ||
| 196 | |||
| 197 | using (var fs = new DisposableFileSystem()) | ||
| 198 | { | ||
| 199 | var baseFolder = fs.GetFolder(); | ||
| 200 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 201 | var exePath = Path.Combine(baseFolder, @"bin\test.exe"); | ||
| 202 | |||
| 203 | var result = WixRunner.Execute(new[] | ||
| 204 | { | ||
| 205 | "build", | ||
| 206 | Path.Combine(folder, "SingleExeBundle", "SingleExePackageGroup.wxs"), | ||
| 207 | Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), | ||
| 208 | "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), | ||
| 209 | "-bindpath", Path.Combine(folder, ".Data"), | ||
| 210 | "-intermediateFolder", intermediateFolder, | ||
| 211 | "-o", exePath, | ||
| 212 | "-nonexistentswitch", "param", | ||
| 213 | }); | ||
| 214 | |||
| 215 | Assert.NotEqual(0, result.ExitCode); | ||
| 216 | |||
| 217 | Assert.False(File.Exists(exePath)); | ||
| 218 | } | ||
| 219 | } | ||
| 220 | |||
| 221 | [Fact] | 192 | [Fact] |
| 222 | public void CanBuildSingleExeRemotePayloadBundle() | 193 | public void CanBuildSingleExeRemotePayloadBundle() |
| 223 | { | 194 | { |
