diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-25 15:44:40 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-25 15:52:31 -0700 |
| commit | 45fa3b78c4069a6046c172fb3e18c878a58f4e69 (patch) | |
| tree | a99601864bc5fb9090edcf939841560587081dac /src/test/WixToolsetTest.MSBuild | |
| parent | 37440a2e80c30cdce283bc570d92afe94430a345 (diff) | |
| download | wix-45fa3b78c4069a6046c172fb3e18c878a58f4e69.tar.gz wix-45fa3b78c4069a6046c172fb3e18c878a58f4e69.tar.bz2 wix-45fa3b78c4069a6046c172fb3e18c878a58f4e69.zip | |
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/test/WixToolsetTest.MSBuild')
| -rw-r--r-- | src/test/WixToolsetTest.MSBuild/MsbuildHeatFixture.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/WixToolsetTest.MSBuild/MsbuildHeatFixture.cs b/src/test/WixToolsetTest.MSBuild/MsbuildHeatFixture.cs index 3b4457be..b5b97649 100644 --- a/src/test/WixToolsetTest.MSBuild/MsbuildHeatFixture.cs +++ b/src/test/WixToolsetTest.MSBuild/MsbuildHeatFixture.cs | |||
| @@ -9,7 +9,7 @@ namespace WixToolsetTest.MSBuild | |||
| 9 | using WixBuildTools.TestSupport; | 9 | using WixBuildTools.TestSupport; |
| 10 | using WixToolset.Core.TestPackage; | 10 | using WixToolset.Core.TestPackage; |
| 11 | using WixToolset.Data; | 11 | using WixToolset.Data; |
| 12 | using WixToolset.Data.Tuples; | 12 | using WixToolset.Data.Symbols; |
| 13 | using Xunit; | 13 | using Xunit; |
| 14 | 14 | ||
| 15 | public class MsbuildHeatFixture | 15 | public class MsbuildHeatFixture |
| @@ -65,8 +65,8 @@ namespace WixToolsetTest.MSBuild | |||
| 65 | var intermediate = Intermediate.Load(pdbPath); | 65 | var intermediate = Intermediate.Load(pdbPath); |
| 66 | var section = intermediate.Sections.Single(); | 66 | var section = intermediate.Sections.Single(); |
| 67 | 67 | ||
| 68 | var fileTuple = section.Tuples.OfType<FileTuple>().Single(); | 68 | var fileSymbol = section.Symbols.OfType<FileSymbol>().Single(); |
| 69 | Assert.Equal(@"SourceDir\HeatFilePackage.wixproj", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path); | 69 | Assert.Equal(@"SourceDir\HeatFilePackage.wixproj", fileSymbol[FileSymbolFields.Source].PreviousValue.AsPath().Path); |
| 70 | } | 70 | } |
| 71 | } | 71 | } |
| 72 | 72 | ||
| @@ -141,9 +141,9 @@ namespace WixToolsetTest.MSBuild | |||
| 141 | var intermediate = Intermediate.Load(pdbPath); | 141 | var intermediate = Intermediate.Load(pdbPath); |
| 142 | var section = intermediate.Sections.Single(); | 142 | var section = intermediate.Sections.Single(); |
| 143 | 143 | ||
| 144 | var fileTuples = section.Tuples.OfType<FileTuple>().ToArray(); | 144 | var fileSymbols = section.Symbols.OfType<FileSymbol>().ToArray(); |
| 145 | Assert.Equal(@"SourceDir\MyProgram.txt", fileTuples[0][FileTupleFields.Source].PreviousValue.AsPath().Path); | 145 | Assert.Equal(@"SourceDir\MyProgram.txt", fileSymbols[0][FileSymbolFields.Source].PreviousValue.AsPath().Path); |
| 146 | Assert.Equal(@"SourceDir\MyProgram.json", fileTuples[1][FileTupleFields.Source].PreviousValue.AsPath().Path); | 146 | Assert.Equal(@"SourceDir\MyProgram.json", fileSymbols[1][FileSymbolFields.Source].PreviousValue.AsPath().Path); |
| 147 | } | 147 | } |
| 148 | } | 148 | } |
| 149 | } | 149 | } |
