From ef6485ac4a03333701d343c1e3a52d25805c58f1 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 8 May 2019 13:35:21 -0700 Subject: Add additional strongly typed tuples --- src/test/WixToolsetTest.Data/SerializeFixture.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/test/WixToolsetTest.Data/SerializeFixture.cs') diff --git a/src/test/WixToolsetTest.Data/SerializeFixture.cs b/src/test/WixToolsetTest.Data/SerializeFixture.cs index ac2f5454..856bcda7 100644 --- a/src/test/WixToolsetTest.Data/SerializeFixture.cs +++ b/src/test/WixToolsetTest.Data/SerializeFixture.cs @@ -23,7 +23,7 @@ namespace WixToolsetTest.Data { ComponentId = new Guid(1, 0, 0, new byte[8]).ToString("B"), Directory_ = "TestFolder", - Attributes = 2, + Location = ComponentLocation.Either, }); var intermediate = new Intermediate("TestIntermediate", new[] { section }, null, null); @@ -38,7 +38,7 @@ namespace WixToolsetTest.Data Assert.Equal("TestComponent", tuple.Id.Id); Assert.Equal(AccessModifier.Public, tuple.Id.Access); Assert.Equal("TestFolder", tuple.Directory_); - Assert.Equal(2, tuple.Attributes); + Assert.Equal(ComponentLocation.Either, tuple.Location); } [Fact] @@ -178,8 +178,8 @@ namespace WixToolsetTest.Data var controls = new[] { - new LocalizedControl("TestDlg1", "TestControl1", 10, 10, 100, 100, 0, null), - new LocalizedControl("TestDlg1", "TestControl2", 100, 90, 50, 70, 0, "localized"), + new LocalizedControl("TestDlg1", "TestControl1", 10, 10, 100, 100, false, false, false, null), + new LocalizedControl("TestDlg1", "TestControl2", 100, 90, 50, 70, false, false, false, "localized"), }; var localizations = new[] @@ -193,7 +193,7 @@ namespace WixToolsetTest.Data { ComponentId = new Guid(1, 0, 0, new byte[8]).ToString("B"), Directory_ = "TestFolder", - Attributes = 2, + Location = ComponentLocation.Either, }); var intermediate = new Intermediate("TestIntermediate", new[] { section }, localizations.ToDictionary(l => l.Culture), null); -- cgit v1.2.3-55-g6feb