diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-08 13:35:21 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-08 13:44:59 -0700 |
| commit | ef6485ac4a03333701d343c1e3a52d25805c58f1 (patch) | |
| tree | 3093b1410e651a90c3776b42090bb4e62e98c514 /src/test/WixToolsetTest.Data/SerializeFixture.cs | |
| parent | 6e7a3274a1710a734e5369d0a1703b9c9ac9345b (diff) | |
| download | wix-ef6485ac4a03333701d343c1e3a52d25805c58f1.tar.gz wix-ef6485ac4a03333701d343c1e3a52d25805c58f1.tar.bz2 wix-ef6485ac4a03333701d343c1e3a52d25805c58f1.zip | |
Add additional strongly typed tuples
Diffstat (limited to 'src/test/WixToolsetTest.Data/SerializeFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.Data/SerializeFixture.cs | 10 |
1 files changed, 5 insertions, 5 deletions
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 | |||
| 23 | { | 23 | { |
| 24 | ComponentId = new Guid(1, 0, 0, new byte[8]).ToString("B"), | 24 | ComponentId = new Guid(1, 0, 0, new byte[8]).ToString("B"), |
| 25 | Directory_ = "TestFolder", | 25 | Directory_ = "TestFolder", |
| 26 | Attributes = 2, | 26 | Location = ComponentLocation.Either, |
| 27 | }); | 27 | }); |
| 28 | 28 | ||
| 29 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, null, null); | 29 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, null, null); |
| @@ -38,7 +38,7 @@ namespace WixToolsetTest.Data | |||
| 38 | Assert.Equal("TestComponent", tuple.Id.Id); | 38 | Assert.Equal("TestComponent", tuple.Id.Id); |
| 39 | Assert.Equal(AccessModifier.Public, tuple.Id.Access); | 39 | Assert.Equal(AccessModifier.Public, tuple.Id.Access); |
| 40 | Assert.Equal("TestFolder", tuple.Directory_); | 40 | Assert.Equal("TestFolder", tuple.Directory_); |
| 41 | Assert.Equal(2, tuple.Attributes); | 41 | Assert.Equal(ComponentLocation.Either, tuple.Location); |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | [Fact] | 44 | [Fact] |
| @@ -178,8 +178,8 @@ namespace WixToolsetTest.Data | |||
| 178 | 178 | ||
| 179 | var controls = new[] | 179 | var controls = new[] |
| 180 | { | 180 | { |
| 181 | new LocalizedControl("TestDlg1", "TestControl1", 10, 10, 100, 100, 0, null), | 181 | new LocalizedControl("TestDlg1", "TestControl1", 10, 10, 100, 100, false, false, false, null), |
| 182 | new LocalizedControl("TestDlg1", "TestControl2", 100, 90, 50, 70, 0, "localized"), | 182 | new LocalizedControl("TestDlg1", "TestControl2", 100, 90, 50, 70, false, false, false, "localized"), |
| 183 | }; | 183 | }; |
| 184 | 184 | ||
| 185 | var localizations = new[] | 185 | var localizations = new[] |
| @@ -193,7 +193,7 @@ namespace WixToolsetTest.Data | |||
| 193 | { | 193 | { |
| 194 | ComponentId = new Guid(1, 0, 0, new byte[8]).ToString("B"), | 194 | ComponentId = new Guid(1, 0, 0, new byte[8]).ToString("B"), |
| 195 | Directory_ = "TestFolder", | 195 | Directory_ = "TestFolder", |
| 196 | Attributes = 2, | 196 | Location = ComponentLocation.Either, |
| 197 | }); | 197 | }); |
| 198 | 198 | ||
| 199 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, localizations.ToDictionary(l => l.Culture), null); | 199 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, localizations.ToDictionary(l => l.Culture), null); |
