diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-10-25 00:23:42 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-10-25 00:25:53 -0700 |
| commit | 6c1ae2593faab59e1a01c96794e0835a6fcd0626 (patch) | |
| tree | c15fcb9a1f1c5bec846ba61f1f3dcd9a152bf701 /src/test | |
| parent | 0078364515ba1f7570f43d47e43bd359918cafd0 (diff) | |
| download | wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.tar.gz wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.tar.bz2 wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.zip | |
Implement WixOutput with support for multiple streams of data
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/WixToolsetTest.Data/SerializeFixture.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/WixToolsetTest.Data/SerializeFixture.cs b/src/test/WixToolsetTest.Data/SerializeFixture.cs index 221ca19c..34e50f36 100644 --- a/src/test/WixToolsetTest.Data/SerializeFixture.cs +++ b/src/test/WixToolsetTest.Data/SerializeFixture.cs | |||
| @@ -26,7 +26,7 @@ namespace WixToolsetTest.Data | |||
| 26 | Location = ComponentLocation.Either, | 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); |
| 30 | 30 | ||
| 31 | var path = Path.GetTempFileName(); | 31 | var path = Path.GetTempFileName(); |
| 32 | intermediate.Save(path); | 32 | intermediate.Save(path); |
| @@ -64,7 +64,7 @@ namespace WixToolsetTest.Data | |||
| 64 | 64 | ||
| 65 | section.Tuples.Add(tuple); | 65 | section.Tuples.Add(tuple); |
| 66 | 66 | ||
| 67 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, null, null); | 67 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, null); |
| 68 | 68 | ||
| 69 | var path = Path.GetTempFileName(); | 69 | var path = Path.GetTempFileName(); |
| 70 | try | 70 | try |
| @@ -108,7 +108,7 @@ namespace WixToolsetTest.Data | |||
| 108 | var section = new IntermediateSection("test", SectionType.Product, 65001); | 108 | var section = new IntermediateSection("test", SectionType.Product, 65001); |
| 109 | section.Tuples.Add(tuple); | 109 | section.Tuples.Add(tuple); |
| 110 | 110 | ||
| 111 | var intermediate1 = new Intermediate("TestIntermediate", new[] { section }, null, null); | 111 | var intermediate1 = new Intermediate("TestIntermediate", new[] { section }, null); |
| 112 | 112 | ||
| 113 | // Intermediate #2 | 113 | // Intermediate #2 |
| 114 | var fieldDefs2 = new[] | 114 | var fieldDefs2 = new[] |
| @@ -130,7 +130,7 @@ namespace WixToolsetTest.Data | |||
| 130 | var section2 = new IntermediateSection("test2", SectionType.Fragment, 65001); | 130 | var section2 = new IntermediateSection("test2", SectionType.Fragment, 65001); |
| 131 | section2.Tuples.Add(tuple2); | 131 | section2.Tuples.Add(tuple2); |
| 132 | 132 | ||
| 133 | var intermediate2 = new Intermediate("TestIntermediate2", new[] { section2 }, null, null); | 133 | var intermediate2 = new Intermediate("TestIntermediate2", new[] { section2 }, null); |
| 134 | 134 | ||
| 135 | // Save | 135 | // Save |
| 136 | var path1 = Path.GetTempFileName(); | 136 | var path1 = Path.GetTempFileName(); |
| @@ -191,7 +191,7 @@ namespace WixToolsetTest.Data | |||
| 191 | var section = new IntermediateSection("test", SectionType.Product, 65001); | 191 | var section = new IntermediateSection("test", SectionType.Product, 65001); |
| 192 | section.Tuples.Add(tuple); | 192 | section.Tuples.Add(tuple); |
| 193 | 193 | ||
| 194 | var intermediate1 = new Intermediate("TestIntermediate", new[] { section }, null, null); | 194 | var intermediate1 = new Intermediate("TestIntermediate", new[] { section }, null); |
| 195 | 195 | ||
| 196 | // Intermediate #2 | 196 | // Intermediate #2 |
| 197 | var fieldDefs2 = new[] | 197 | var fieldDefs2 = new[] |
| @@ -219,7 +219,7 @@ namespace WixToolsetTest.Data | |||
| 219 | var section2 = new IntermediateSection("test2", SectionType.Fragment, 65001); | 219 | var section2 = new IntermediateSection("test2", SectionType.Fragment, 65001); |
| 220 | section2.Tuples.Add(tuple2); | 220 | section2.Tuples.Add(tuple2); |
| 221 | 221 | ||
| 222 | var intermediate2 = new Intermediate("TestIntermediate2", new[] { section2 }, null, null); | 222 | var intermediate2 = new Intermediate("TestIntermediate2", new[] { section2 }, null); |
| 223 | 223 | ||
| 224 | // Save | 224 | // Save |
| 225 | var path1 = Path.GetTempFileName(); | 225 | var path1 = Path.GetTempFileName(); |
| @@ -290,7 +290,7 @@ namespace WixToolsetTest.Data | |||
| 290 | Location = ComponentLocation.Either, | 290 | Location = ComponentLocation.Either, |
| 291 | }); | 291 | }); |
| 292 | 292 | ||
| 293 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, localizations.ToDictionary(l => l.Culture), null); | 293 | var intermediate = new Intermediate("TestIntermediate", new[] { section }, localizations.ToDictionary(l => l.Culture)); |
| 294 | 294 | ||
| 295 | var path = Path.GetTempFileName(); | 295 | var path = Path.GetTempFileName(); |
| 296 | try | 296 | try |
