From c0d2d0b6e3c849339563faf0d93a1ad8d32e900d Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Fri, 23 Dec 2016 22:30:15 +0100 Subject: [PATCH] Tests: Add ExamplesTests and fix the issues in the code --- examples/allOptions.xml | 20 +++++----- .../Configuration/DefaultSettings.cs | 2 +- .../Configuration/IWinSWConfiguration.cs | 2 +- .../winswTests/Configuration/ExamplesTest.cs | 39 +++++++++++++++++++ src/Test/winswTests/winswTests.csproj | 1 + 5 files changed, 53 insertions(+), 11 deletions(-) create mode 100644 src/Test/winswTests/Configuration/ExamplesTest.cs diff --git a/examples/allOptions.xml b/examples/allOptions.xml index b4814b5..7af0503 100644 --- a/examples/allOptions.xml +++ b/examples/allOptions.xml @@ -18,12 +18,12 @@ -->  + This is a sample configuration of the Windows Service Wrapper. + This configuration file should be placed near the WinSW executable, the name should be the same. + E.g. for myapp.exe the configuration file name should be myapp.xml + + You can find more information about the parameters here: https://github.com/kohsuke/winsw/blob/master/doc/xmlConfigFile.md +--> - - + --> @@ -205,7 +205,9 @@ SECTION:Logging Sets a custom logging directory for all logs being produced by the service wrapper Default value: Directory, which contains the executor --> - +