Summary

Class:WireMock.Settings.FluentMockServerSettings
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Settings\FluentMockServerSettings.cs
Covered lines:17
Uncovered lines:0
Coverable lines:17
Total lines:87
Line coverage:100%

File(s)

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Settings\FluentMockServerSettings.cs

#LineLine coverage
 1using System;
 2using JetBrains.Annotations;
 3using Newtonsoft.Json;
 4using WireMock.Handlers;
 5using WireMock.Logging;
 6
 7namespace WireMock.Settings
 8{
 9    /// <summary>
 10    /// FluentMockServerSettings
 11    /// </summary>
 12    public class FluentMockServerSettings : IFluentMockServerSettings
 13    {
 14        /// <inheritdoc cref="IFluentMockServerSettings.Port"/>
 15        [PublicAPI]
 13416        public int? Port { get; set; }
 17
 18        /// <inheritdoc cref="IFluentMockServerSettings.UseSSL"/>
 19        [PublicAPI]
 20        // ReSharper disable once InconsistentNaming
 13421        public bool? UseSSL { get; set; }
 22
 23        /// <inheritdoc cref="IFluentMockServerSettings.StartAdminInterface"/>
 24        [PublicAPI]
 10625        public bool? StartAdminInterface { get; set; }
 26
 27        /// <inheritdoc cref="IFluentMockServerSettings.ReadStaticMappings"/>
 28        [PublicAPI]
 9829        public bool? ReadStaticMappings { get; set; }
 30
 31        /// <inheritdoc cref="IFluentMockServerSettings.WatchStaticMappings"/>
 32        [PublicAPI]
 9833        public bool? WatchStaticMappings { get; set; }
 34
 35        /// <inheritdoc cref="IFluentMockServerSettings.ProxyAndRecordSettings"/>
 36        [PublicAPI]
 9837        public IProxyAndRecordSettings ProxyAndRecordSettings { get; set; }
 38
 39        /// <inheritdoc cref="IFluentMockServerSettings.Urls"/>
 40        [PublicAPI]
 10241        public string[] Urls { get; set; }
 42
 43        /// <inheritdoc cref="IFluentMockServerSettings.StartTimeout"/>
 44        [PublicAPI]
 14745        public int StartTimeout { get; set; } = 10000;
 46
 47        /// <inheritdoc cref="IFluentMockServerSettings.AllowPartialMapping"/>
 48        [PublicAPI]
 9849        public bool? AllowPartialMapping { get; set; }
 50
 51        /// <inheritdoc cref="IFluentMockServerSettings.AdminUsername"/>
 52        [PublicAPI]
 5753        public string AdminUsername { get; set; }
 54
 55        /// <inheritdoc cref="IFluentMockServerSettings.AdminPassword"/>
 56        [PublicAPI]
 4957        public string AdminPassword { get; set; }
 58
 59        /// <inheritdoc cref="IFluentMockServerSettings.RequestLogExpirationDuration"/>
 60        [PublicAPI]
 4961        public int? RequestLogExpirationDuration { get; set; }
 62
 63        /// <inheritdoc cref="IFluentMockServerSettings.MaxRequestLogCount"/>
 64        [PublicAPI]
 9865        public int? MaxRequestLogCount { get; set; }
 66
 67        /// <inheritdoc cref="IFluentMockServerSettings.PreWireMockMiddlewareInit"/>
 68        [PublicAPI]
 69        [JsonIgnore]
 4970        public Action<object> PreWireMockMiddlewareInit { get; set; }
 71
 72        /// <inheritdoc cref="IFluentMockServerSettings.PostWireMockMiddlewareInit"/>
 73        [PublicAPI]
 74        [JsonIgnore]
 4975        public Action<object> PostWireMockMiddlewareInit { get; set; }
 76
 77        /// <inheritdoc cref="IFluentMockServerSettings.Logger"/>
 78        [PublicAPI]
 79        [JsonIgnore]
 20180        public IWireMockLogger Logger { get; set; } = new WireMockNullLogger();
 81
 82        /// <inheritdoc cref="IFluentMockServerSettings.FileSystemHandler"/>
 83        [PublicAPI]
 84        [JsonIgnore]
 10285        public IFileSystemHandler FileSystemHandler { get; set; } = new LocalFileSystemHandler();
 86    }
 87}