aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
index 554f4b17..f32208a4 100644
--- a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
@@ -44,6 +44,12 @@ namespace WixToolsetTest.CoreIntegration
44 var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); 44 var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir"));
45 var section = intermediate.Sections.Single(); 45 var section = intermediate.Sections.Single();
46 46
47 var bundleTuple = section.Tuples.OfType<WixBundleTuple>().Single();
48 Assert.Equal("1.0.0.0", bundleTuple.Version);
49
50 var previousVersion = bundleTuple.Fields[(int)WixBundleTupleFields.Version].PreviousValue;
51 Assert.Equal("!(bind.packageVersion.test.msi)", previousVersion.AsString());
52
47 var msiTuple = section.Tuples.OfType<WixBundlePackageTuple>().Single(); 53 var msiTuple = section.Tuples.OfType<WixBundlePackageTuple>().Single();
48 Assert.Equal("test.msi", msiTuple.Id.Id ); 54 Assert.Equal("test.msi", msiTuple.Id.Id );
49 } 55 }