mirror of https://github.com/winsw/winsw
commit
79671f49d9
|
@ -36,7 +36,7 @@ All options in other sections are optional
|
|||
<!-- Display name of the service -->
|
||||
<name>MyApp Service (powered by WinSW)</name>
|
||||
<!-- Service description -->
|
||||
<description>This service is a service cratead from a sample configuration</description>
|
||||
<description>This service is a service created from a sample configuration</description>
|
||||
|
||||
<!-- Path to the executable, which should be started -->
|
||||
<executable>%BASE%\myExecutable.exe</executable>
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
<!-- Display name of the service -->
|
||||
<name>MyApp Service (powered by WinSW)</name>
|
||||
<!-- Service description -->
|
||||
<description>This service is a service cratead from a minimal configuration</description>
|
||||
<description>This service is a service created from a minimal configuration</description>
|
||||
|
||||
<!-- Path to the executable, which should be started -->
|
||||
<executable>%BASE%\myExecutable.exe</executable>
|
||||
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace winswTests.Configuration
|
|||
|
||||
Assert.AreEqual("myapp", d.Id);
|
||||
Assert.AreEqual("MyApp Service (powered by WinSW)", d.Caption);
|
||||
Assert.AreEqual("This service is a service cratead from a sample configuration", d.Description);
|
||||
Assert.AreEqual("This service is a service created from a sample configuration", d.Description);
|
||||
Assert.AreEqual("%BASE%\\myExecutable.exe", d.Executable);
|
||||
|
||||
ServiceDescriptorAssert.AssertAllOptionalPropertiesAreDefault(d);
|
||||
|
@ -37,7 +37,7 @@ namespace winswTests.Configuration
|
|||
|
||||
Assert.AreEqual("myapp", d.Id);
|
||||
Assert.AreEqual("MyApp Service (powered by WinSW)", d.Caption);
|
||||
Assert.AreEqual("This service is a service cratead from a minimal configuration", d.Description);
|
||||
Assert.AreEqual("This service is a service created from a minimal configuration", d.Description);
|
||||
Assert.AreEqual("%BASE%\\myExecutable.exe", d.Executable);
|
||||
|
||||
ServiceDescriptorAssert.AssertAllOptionalPropertiesAreDefault(d);
|
||||
|
|
Loading…
Reference in New Issue