diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | 5 | ||||
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/ServiceInstall/OwnProcess.wxs | 3 | 
2 files changed, 5 insertions, 3 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs index 200ba7b8..18380417 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs  | |||
| @@ -817,7 +817,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 817 | } | 817 | } | 
| 818 | 818 | ||
| 819 | [Fact] | 819 | [Fact] | 
| 820 | public void PopulatesServiceInstallTable() | 820 | public void PopulatesServiceTables() | 
| 821 | { | 821 | { | 
| 822 | var folder = TestData.Get(@"TestData"); | 822 | var folder = TestData.Get(@"TestData"); | 
| 823 | 823 | ||
| @@ -841,9 +841,10 @@ namespace WixToolsetTest.CoreIntegration | |||
| 841 | result.AssertSuccess(); | 841 | result.AssertSuccess(); | 
| 842 | 842 | ||
| 843 | Assert.True(File.Exists(msiPath)); | 843 | Assert.True(File.Exists(msiPath)); | 
| 844 | var results = Query.QueryDatabase(msiPath, new[] { "ServiceInstall" }); | 844 | var results = Query.QueryDatabase(msiPath, new[] { "ServiceInstall", "ServiceControl" }); | 
| 845 | Assert.Equal(new[] | 845 | Assert.Equal(new[] | 
| 846 | { | 846 | { | 
| 847 | "ServiceControl:SampleService\tSampleService\t161\t\t1\ttest.txt", | ||
| 847 | "ServiceInstall:SampleService\tSampleService\t\t16\t4\t0\t\t\t\t\t\ttest.txt\t", | 848 | "ServiceInstall:SampleService\tSampleService\t\t16\t4\t0\t\t\t\t\t\ttest.txt\t", | 
| 848 | }, results); | 849 | }, results); | 
| 849 | } | 850 | } | 
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/ServiceInstall/OwnProcess.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/ServiceInstall/OwnProcess.wxs index 596e98a6..65cba20e 100644 --- a/src/test/WixToolsetTest.CoreIntegration/TestData/ServiceInstall/OwnProcess.wxs +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/ServiceInstall/OwnProcess.wxs  | |||
| @@ -4,7 +4,8 @@ | |||
| 4 | <ComponentGroup Id="ProductComponents"> | 4 | <ComponentGroup Id="ProductComponents"> | 
| 5 | <Component Directory="INSTALLFOLDER"> | 5 | <Component Directory="INSTALLFOLDER"> | 
| 6 | <File Id="test.txt" Source="test.txt" /> | 6 | <File Id="test.txt" Source="test.txt" /> | 
| 7 | <ServiceInstall Name="SampleService" ErrorControl="ignore" Start="disabled" Type="ownProcess"></ServiceInstall> | 7 | <ServiceInstall Name="SampleService" ErrorControl="ignore" Start="disabled" Type="ownProcess" /> | 
| 8 | <ServiceControl Name="SampleService" Start="install" Stop="uninstall" Remove="uninstall" Wait="yes" /> | ||
| 8 | </Component> | 9 | </Component> | 
| 9 | </ComponentGroup> | 10 | </ComponentGroup> | 
| 10 | </Fragment> | 11 | </Fragment> | 
