diff options
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs index a329c16a..e30441bf 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | |||
@@ -43,9 +43,9 @@ namespace WixToolsetTest.CoreIntegration | |||
43 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); | 43 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); |
44 | var section = intermediate.Sections.Single(); | 44 | var section = intermediate.Sections.Single(); |
45 | 45 | ||
46 | var wixFile = section.Tuples.OfType<WixFileTuple>().First(); | 46 | var fileTuple = section.Tuples.OfType<FileTuple>().First(); |
47 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), wixFile[WixFileTupleFields.Source].AsPath().Path); | 47 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), fileTuple[FileTupleFields.Source].AsPath().Path); |
48 | Assert.Equal(@"test.txt", wixFile[WixFileTupleFields.Source].PreviousValue.AsPath().Path); | 48 | Assert.Equal(@"test.txt", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path); |
49 | } | 49 | } |
50 | } | 50 | } |
51 | 51 | ||
@@ -78,9 +78,9 @@ namespace WixToolsetTest.CoreIntegration | |||
78 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); | 78 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); |
79 | var section = intermediate.Sections.Single(); | 79 | var section = intermediate.Sections.Single(); |
80 | 80 | ||
81 | var wixFile = section.Tuples.OfType<WixFileTuple>().Single(); | 81 | var fileTuple = section.Tuples.OfType<FileTuple>().Single(); |
82 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), wixFile[WixFileTupleFields.Source].AsPath().Path); | 82 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), fileTuple[FileTupleFields.Source].AsPath().Path); |
83 | Assert.Equal(@"test.txt", wixFile[WixFileTupleFields.Source].PreviousValue.AsPath().Path); | 83 | Assert.Equal(@"test.txt", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path); |
84 | } | 84 | } |
85 | } | 85 | } |
86 | 86 | ||
@@ -309,9 +309,9 @@ namespace WixToolsetTest.CoreIntegration | |||
309 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); | 309 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); |
310 | var section = intermediate.Sections.Single(); | 310 | var section = intermediate.Sections.Single(); |
311 | 311 | ||
312 | var wixFile = section.Tuples.OfType<WixFileTuple>().Single(); | 312 | var fileTuple = section.Tuples.OfType<FileTuple>().Single(); |
313 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), wixFile[WixFileTupleFields.Source].AsPath().Path); | 313 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), fileTuple[FileTupleFields.Source].AsPath().Path); |
314 | Assert.Equal(@"test.txt", wixFile[WixFileTupleFields.Source].PreviousValue.AsPath().Path); | 314 | Assert.Equal(@"test.txt", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path); |
315 | } | 315 | } |
316 | } | 316 | } |
317 | 317 | ||
@@ -344,9 +344,9 @@ namespace WixToolsetTest.CoreIntegration | |||
344 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); | 344 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); |
345 | var section = intermediate.Sections.Single(); | 345 | var section = intermediate.Sections.Single(); |
346 | 346 | ||
347 | var wixFile = section.Tuples.OfType<WixFileTuple>().Single(); | 347 | var fileTuple = section.Tuples.OfType<FileTuple>().Single(); |
348 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), wixFile[WixFileTupleFields.Source].AsPath().Path); | 348 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), fileTuple[FileTupleFields.Source].AsPath().Path); |
349 | Assert.Equal(@"test.txt", wixFile[WixFileTupleFields.Source].PreviousValue.AsPath().Path); | 349 | Assert.Equal(@"test.txt", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path); |
350 | } | 350 | } |
351 | } | 351 | } |
352 | 352 | ||
@@ -444,9 +444,9 @@ namespace WixToolsetTest.CoreIntegration | |||
444 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); | 444 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); |
445 | var section = intermediate.Sections.Single(); | 445 | var section = intermediate.Sections.Single(); |
446 | 446 | ||
447 | var wixFile = section.Tuples.OfType<WixFileTuple>().Single(); | 447 | var fileTuple = section.Tuples.OfType<FileTuple>().Single(); |
448 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), wixFile[WixFileTupleFields.Source].AsPath().Path); | 448 | Assert.Equal(Path.Combine(folder, @"data\test.txt"), fileTuple[FileTupleFields.Source].AsPath().Path); |
449 | Assert.Equal(@"test.txt", wixFile[WixFileTupleFields.Source].PreviousValue.AsPath().Path); | 449 | Assert.Equal(@"test.txt", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path); |
450 | } | 450 | } |
451 | } | 451 | } |
452 | 452 | ||
@@ -480,9 +480,9 @@ namespace WixToolsetTest.CoreIntegration | |||
480 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); | 480 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); |
481 | var section = intermediate.Sections.Single(); | 481 | var section = intermediate.Sections.Single(); |
482 | 482 | ||
483 | var wixFile = section.Tuples.OfType<WixFileTuple>().Single(); | 483 | var fileTuple = section.Tuples.OfType<FileTuple>().Single(); |
484 | Assert.Equal(Path.Combine(folder, @"data\candle.exe"), wixFile[WixFileTupleFields.Source].AsPath().Path); | 484 | Assert.Equal(Path.Combine(folder, @"data\candle.exe"), fileTuple[FileTupleFields.Source].AsPath().Path); |
485 | Assert.Equal(@"candle.exe", wixFile[WixFileTupleFields.Source].PreviousValue.AsPath().Path); | 485 | Assert.Equal(@"candle.exe", fileTuple[FileTupleFields.Source].PreviousValue.AsPath().Path); |
486 | 486 | ||
487 | var msiAssemblyNameTuples = section.Tuples.OfType<MsiAssemblyNameTuple>(); | 487 | var msiAssemblyNameTuples = section.Tuples.OfType<MsiAssemblyNameTuple>(); |
488 | Assert.Equal(new[] | 488 | Assert.Equal(new[] |