mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 09:18:55 +02:00
* Lower priority from Proxy mappings * Fix codefactor * extra tests * #205 * Fix test for linux * `c:\temp\x.json` fix * Extra tests * more tests * more tests * codefactor * #200 * refactor * refactor * tests
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
<tr><th>Class:</th><td>WireMock.ResponseProviders.ProxyAsyncResponseProvider</td></tr>
|
||||
<tr><th>Assembly:</th><td>WireMock.Net</td></tr>
|
||||
<tr><th>File(s):</th><td><a href="#CUsersazureuserDocumentsGithubWireMockNetsrcWireMockNetResponseProvidersProxyAsyncResponseProvidercs" data-ng-click="navigateToHash('#CUsersazureuserDocumentsGithubWireMockNetsrcWireMockNetResponseProvidersProxyAsyncResponseProvidercs')">C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\ResponseProviders\ProxyAsyncResponseProvider.cs</a></td></tr>
|
||||
<tr><th>Covered lines:</th><td>0</td></tr>
|
||||
<tr><th>Uncovered lines:</th><td>10</td></tr>
|
||||
<tr><th>Covered lines:</th><td>7</td></tr>
|
||||
<tr><th>Uncovered lines:</th><td>3</td></tr>
|
||||
<tr><th>Coverable lines:</th><td>10</td></tr>
|
||||
<tr><th>Total lines:</th><td>28</td></tr>
|
||||
<tr><th>Line coverage:</th><td>0%</td></tr>
|
||||
<tr><th>Line coverage:</th><td>70%</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h1>Metrics</h1>
|
||||
@@ -29,7 +29,7 @@
|
||||
<thead><tr><th>Method</th><th>Cyclomatic complexity <a href="https://en.wikipedia.org/wiki/Cyclomatic_complexity"><i class="icon-info-circled"></i></a></th><th>NPath complexity <a href="https://modess.io/npath-complexity-cyclomatic-complexity-explained"><i class="icon-info-circled"></i></a></th><th>Sequence coverage <a href="https://en.wikipedia.org/wiki/Code_coverage"><i class="icon-info-circled"></i></a></th><th>Branch coverage <a href="https://en.wikipedia.org/wiki/Code_coverage"><i class="icon-info-circled"></i></a></th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td title="System.Threading.Tasks.Task`1<WireMock.ResponseMessage> WireMock.ResponseProviders.ProxyAsyncResponseProvider::ProvideResponseAsync(WireMock.RequestMessage)">ProvideResponseAsync(...)</td><td>0</td><td>0</td><td>0</td><td>0</td></tr>
|
||||
<tr><td title="System.Void WireMock.ResponseProviders.ProxyAsyncResponseProvider::.ctor(System.Func`3<WireMock.RequestMessage,WireMock.Settings.IProxyAndRecordSettings,System.Threading.Tasks.Task`1<WireMock.ResponseMessage>>,WireMock.Settings.IProxyAndRecordSettings)">.ctor(...)</td><td>0</td><td>0</td><td>0</td><td>0</td></tr>
|
||||
<tr><td title="System.Void WireMock.ResponseProviders.ProxyAsyncResponseProvider::.ctor(System.Func`3<WireMock.RequestMessage,WireMock.Settings.IProxyAndRecordSettings,System.Threading.Tasks.Task`1<WireMock.ResponseMessage>>,WireMock.Settings.IProxyAndRecordSettings)">.ctor(...)</td><td>0</td><td>0</td><td>1</td><td>0</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h1>File(s)</h1>
|
||||
@@ -50,14 +50,14 @@
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line11"></a><code>11</code></td><td></td><td class="lightgray"><code> private readonly Func<RequestMessage, IProxyAndRecordSettings, Task<ResponseMessage>> _responseMessageFunc;</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line12"></a><code>12</code></td><td></td><td class="lightgray"><code> private readonly IProxyAndRecordSettings _settings;</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line13"></a><code>13</code></td><td></td><td class="lightgray"><code></code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line14"></a><code>14</code></td><td></td><td class="lightred"><code> public ProxyAsyncResponseProvider([NotNull] Func<RequestMessage, IProxyAndRecordSettings, Task<ResponseMessage>></code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line15"></a><code>15</code></td><td></td><td class="lightred"><code> {</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line16"></a><code>16</code></td><td></td><td class="lightred"><code> Check.NotNull(responseMessageFunc, nameof(responseMessageFunc));</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line17"></a><code>17</code></td><td></td><td class="lightred"><code> Check.NotNull(settings, nameof(settings));</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line14"></a><code>14</code></td><td></td><td class="lightgreen"><code> public ProxyAsyncResponseProvider([NotNull] Func<RequestMessage, IProxyAndRecordSettings, Task<ResponseMessage>></code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line15"></a><code>15</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line16"></a><code>16</code></td><td></td><td class="lightgreen"><code> Check.NotNull(responseMessageFunc, nameof(responseMessageFunc));</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line17"></a><code>17</code></td><td></td><td class="lightgreen"><code> Check.NotNull(settings, nameof(settings));</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line18"></a><code>18</code></td><td></td><td class="lightgray"><code></code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line19"></a><code>19</code></td><td></td><td class="lightred"><code> _responseMessageFunc = responseMessageFunc;</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line20"></a><code>20</code></td><td></td><td class="lightred"><code> _settings = settings;</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line21"></a><code>21</code></td><td></td><td class="lightred"><code> }</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line19"></a><code>19</code></td><td></td><td class="lightgreen"><code> _responseMessageFunc = responseMessageFunc;</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line20"></a><code>20</code></td><td></td><td class="lightgreen"><code> _settings = settings;</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line21"></a><code>21</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line22"></a><code>22</code></td><td></td><td class="lightgray"><code></code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line23"></a><code>23</code></td><td></td><td class="lightgray"><code> public Task<ResponseMessage> ProvideResponseAsync(RequestMessage requestMessage)</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line24"></a><code>24</code></td><td></td><td class="lightred"><code> {</code></td></tr>
|
||||
@@ -67,7 +67,7 @@
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line28"></a><code>28</code></td><td></td><td class="lightgray"><code>}</code></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="footer">Generated by: ReportGenerator 3.1.2.0<br />2018-09-13 - 10:10:02<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div>
|
||||
<div class="footer">Generated by: ReportGenerator 3.1.2.0<br />2018-09-21 - 14:00:17<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div>
|
||||
<div class="containerright">
|
||||
<div class="containerrightfixed">
|
||||
<h1>Methods/Properties</h1>
|
||||
|
||||
Reference in New Issue
Block a user