aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-02 21:00:43 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-02 21:34:24 +1000
commit7027e259b8987e425362ee8248e5d0efe8003d51 (patch)
tree7745b9055aecb9817bfa51576c81dd7efc38c019 /src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs
parent177784c9a6d93eeb3c195e6d62b97eb4c1dde32b (diff)
downloadwix-7027e259b8987e425362ee8248e5d0efe8003d51.tar.gz
wix-7027e259b8987e425362ee8248e5d0efe8003d51.tar.bz2
wix-7027e259b8987e425362ee8248e5d0efe8003d51.zip
Hide the concrete implementation of the service provider interfaces
by adding WixToolsetServiceProviderFactory. This forces consumers to code to the interfaces.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs b/src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs
index eca3aa34..afb93041 100644
--- a/src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/ParseFixture.cs
@@ -15,7 +15,7 @@ namespace WixToolsetTest.CoreIntegration
15 [Fact] 15 [Fact]
16 public void GeneratesCorrectCustomActionIdentifiers() 16 public void GeneratesCorrectCustomActionIdentifiers()
17 { 17 {
18 var serviceProvider = new WixToolsetServiceProvider(); 18 var serviceProvider = WixToolsetServiceProviderFactory.CreateServiceProvider();
19 var section = new IntermediateSection("section", SectionType.Fragment, 0); 19 var section = new IntermediateSection("section", SectionType.Fragment, 0);
20 var parseHelper = serviceProvider.GetService<IParseHelper>(); 20 var parseHelper = serviceProvider.GetService<IParseHelper>();
21 21