diff options
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/BadInputFixture.cs')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/BadInputFixture.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BadInputFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BadInputFixture.cs index 7a630a36..02422cf7 100644 --- a/src/test/WixToolsetTest.CoreIntegration/BadInputFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/BadInputFixture.cs | |||
@@ -55,5 +55,28 @@ namespace WixToolsetTest.CoreIntegration | |||
55 | Assert.Equal(21, result.ExitCode); | 55 | Assert.Equal(21, result.ExitCode); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | |||
59 | [Fact] | ||
60 | public void BundleVariableWithHiddenPersistedIsRejected() | ||
61 | { | ||
62 | var folder = TestData.Get(@"TestData\BadInput"); | ||
63 | |||
64 | using (var fs = new DisposableFileSystem()) | ||
65 | { | ||
66 | var baseFolder = fs.GetFolder(); | ||
67 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
68 | var wixlibPath = Path.Combine(intermediateFolder, @"test.wixlib"); | ||
69 | |||
70 | var result = WixRunner.Execute(new[] | ||
71 | { | ||
72 | "build", | ||
73 | Path.Combine(folder, "HiddenPersistedBundleVariable.wxs"), | ||
74 | "-intermediateFolder", intermediateFolder, | ||
75 | "-o", wixlibPath, | ||
76 | }); | ||
77 | |||
78 | Assert.Equal(193, result.ExitCode); | ||
79 | } | ||
80 | } | ||
58 | } | 81 | } |
59 | } | 82 | } |