diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-01-24 15:27:20 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-02-05 16:15:47 -0800 |
| commit | 6ff680e386b1543ad1a58d1b1d465ce8aa20bc7d (patch) | |
| tree | c717333cd10d5592e59dfb898b391275bba1f389 /src/test/WixToolsetTest.CoreIntegration/PreprocessorFixture.cs | |
| parent | 6e2e67ab55c75f4655397588c0dcc64f50d22f92 (diff) | |
| download | wix-6ff680e386b1543ad1a58d1b1d465ce8aa20bc7d.tar.gz wix-6ff680e386b1543ad1a58d1b1d465ce8aa20bc7d.tar.bz2 wix-6ff680e386b1543ad1a58d1b1d465ce8aa20bc7d.zip | |
Start on new patch infrastructure
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/PreprocessorFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/PreprocessorFixture.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/PreprocessorFixture.cs b/src/test/WixToolsetTest.CoreIntegration/PreprocessorFixture.cs index 4e48cbe1..b1a4c607 100644 --- a/src/test/WixToolsetTest.CoreIntegration/PreprocessorFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/PreprocessorFixture.cs | |||
| @@ -68,34 +68,6 @@ namespace WixToolsetTest.CoreIntegration | |||
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | [Fact] | 70 | [Fact] |
| 71 | public void WixVersionVariablesWork() | ||
| 72 | { | ||
| 73 | var folder = TestData.Get(@"TestData\Variables"); | ||
| 74 | |||
| 75 | using (var fs = new DisposableFileSystem()) | ||
| 76 | { | ||
| 77 | var baseFolder = fs.GetFolder(); | ||
| 78 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 79 | |||
| 80 | var result = WixRunner.Execute(new[] | ||
| 81 | { | ||
| 82 | "build", | ||
| 83 | Path.Combine(folder, "Package.wxs"), | ||
| 84 | Path.Combine(folder, "PackageComponents.wxs"), | ||
| 85 | "-loc", Path.Combine(folder, "Package.en-us.wxl"), | ||
| 86 | "-bindpath", Path.Combine(folder, "data"), | ||
| 87 | "-intermediateFolder", intermediateFolder, | ||
| 88 | "-o", Path.Combine(baseFolder, @"bin\test.msi") | ||
| 89 | }); | ||
| 90 | |||
| 91 | result.AssertSuccess(); | ||
| 92 | |||
| 93 | var warning = result.Messages.Where(message => message.Id == (int)WarningMessages.Ids.PreprocessorWarning); | ||
| 94 | Assert.Single(warning); | ||
| 95 | } | ||
| 96 | } | ||
| 97 | |||
| 98 | [Fact] | ||
| 99 | public void ForEachLoopsWork() | 71 | public void ForEachLoopsWork() |
| 100 | { | 72 | { |
| 101 | var folder = TestData.Get(@"TestData\ForEach"); | 73 | var folder = TestData.Get(@"TestData\ForEach"); |
