mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 02:38:54 +02:00
NET Core 2.1 + support for Service Fabric commandline parameters (#209)
* netcore 2.1 * SimpleCommandLineParserTests * tests * SimpleCommandLineParserTests * test report * AspNetCoreSelfHost * Fixed Resharper warnings * tests * . * ResponseWithProxyTests ResponseWithProxyTests * postmanecho
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<tbody>
|
||||
<tr><th>Class:</th><td>WireMock.Owin.Mappers.OwinResponseMapper</td></tr>
|
||||
<tr><th>Assembly:</th><td>WireMock.Net</td></tr>
|
||||
<tr><th>File(s):</th><td><a href="#CUsersazureuserDocumentsGithubWireMockNetsrcWireMockNetOwinMappersOwinResponseMappercs" data-ng-click="navigateToHash('#CUsersazureuserDocumentsGithubWireMockNetsrcWireMockNetOwinMappersOwinResponseMappercs')">C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\Mappers\OwinResponseMapper.cs</a></td></tr>
|
||||
<tr><th>File(s):</th><td><a href="#CUsersStefHeyenrathDocumentsGitHubWireMockNetsrcWireMockNetOwinMappersOwinResponseMappercs" data-ng-click="navigateToHash('#CUsersStefHeyenrathDocumentsGitHubWireMockNetsrcWireMockNetOwinMappersOwinResponseMappercs')">C:\Users\StefHeyenrath\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\Mappers\OwinResponseMapper.cs</a></td></tr>
|
||||
<tr><th>Covered lines:</th><td>44</td></tr>
|
||||
<tr><th>Uncovered lines:</th><td>3</td></tr>
|
||||
<tr><th>Coverable lines:</th><td>47</td></tr>
|
||||
@@ -36,7 +36,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<h1>File(s)</h1>
|
||||
<h2 id="CUsersazureuserDocumentsGithubWireMockNetsrcWireMockNetOwinMappersOwinResponseMappercs">C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Owin\Mappers\OwinResponseMapper.cs</h2>
|
||||
<h2 id="CUsersStefHeyenrathDocumentsGitHubWireMockNetsrcWireMockNetOwinMappersOwinResponseMappercs">C:\Users\StefHeyenrath\Documents\GitHub\WireMock.Net\src\WireMock.Net\Owin\Mappers\OwinResponseMapper.cs</h2>
|
||||
<table class="lineAnalysis">
|
||||
<thead><tr><th></th><th>#</th><th>Line</th><th></th><th>Line coverage</th></tr></thead>
|
||||
<tbody>
|
||||
@@ -95,15 +95,15 @@
|
||||
<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_line53"></a><code>53</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_line54"></a><code>54</code></td><td></td><td class="lightred"><code> bytes = File.ReadAllBytes(responseMessage.BodyAsFile);</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_line55"></a><code>55</code></td><td></td><td class="lightred"><code> }</code></td></tr>
|
||||
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '51', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">51</td><td class="rightmargin right"><a id="file0_line56"></a><code>56</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> else if (responseMessage.BodyAsJson != null)</code></td></tr>
|
||||
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '50', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">50</td><td class="rightmargin right"><a id="file0_line56"></a><code>56</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> else if (responseMessage.BodyAsJson != null)</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '15', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">15</td><td class="rightmargin right"><a id="file0_line57"></a><code>57</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
|
||||
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '15', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">15</td><td class="rightmargin right"><a id="file0_line58"></a><code>58</code></td><td class="percentagebar50"><i class="icon-fork"></i></td><td class="lightorange"><code> Formatting formatting = responseMessage.BodyAsJsonIndented == true ? Formatting.Indented : Formatting.No</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '15', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">15</td><td class="rightmargin right"><a id="file0_line59"></a><code>59</code></td><td></td><td class="lightgreen"><code> string jsonBody = JsonConvert.SerializeObject(responseMessage.BodyAsJson, new JsonSerializerSettings { F</code></td></tr>
|
||||
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '15', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">15</td><td class="rightmargin right"><a id="file0_line60"></a><code>60</code></td><td class="percentagebar50"><i class="icon-fork"></i></td><td class="lightorange"><code> bytes = (responseMessage.BodyEncoding ?? _utf8NoBom).GetBytes(jsonBody);</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '15', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">15</td><td class="rightmargin right"><a id="file0_line61"></a><code>61</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
|
||||
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '36', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">36</td><td class="rightmargin right"><a id="file0_line62"></a><code>62</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> else if (responseMessage.Body != null)</code></td></tr>
|
||||
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '35', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">35</td><td class="rightmargin right"><a id="file0_line62"></a><code>62</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> else if (responseMessage.Body != null)</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '19', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">19</td><td class="rightmargin right"><a id="file0_line63"></a><code>63</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
|
||||
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '19', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">19</td><td class="rightmargin right"><a id="file0_line64"></a><code>64</code></td><td class="percentagebar50"><i class="icon-fork"></i></td><td class="lightorange"><code> bytes = (responseMessage.BodyEncoding ?? _utf8NoBom).GetBytes(responseMessage.Body);</code></td></tr>
|
||||
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '18', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">18</td><td class="rightmargin right"><a id="file0_line64"></a><code>64</code></td><td class="percentagebar50"><i class="icon-fork"></i></td><td class="lightorange"><code> bytes = (responseMessage.BodyEncoding ?? _utf8NoBom).GetBytes(responseMessage.Body);</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '19', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">19</td><td class="rightmargin right"><a id="file0_line65"></a><code>65</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_line66"></a><code>66</code></td><td></td><td class="lightgray"><code></code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '52', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">52</td><td class="rightmargin right"><a id="file0_line67"></a><code>67</code></td><td></td><td class="lightgreen"><code> SetResponseHeaders(responseMessage, response);</code></td></tr>
|
||||
@@ -115,9 +115,9 @@
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '53', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">53</td><td class="rightmargin right"><a id="file0_line73"></a><code>73</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_line74"></a><code>74</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_line75"></a><code>75</code></td><td></td><td class="lightgray"><code> private void SetResponseHeaders(ResponseMessage responseMessage, IResponse response)</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '52', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">52</td><td class="rightmargin right"><a id="file0_line76"></a><code>76</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '51', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">51</td><td class="rightmargin right"><a id="file0_line76"></a><code>76</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_line77"></a><code>77</code></td><td></td><td class="lightgray"><code> // Set headers</code></td></tr>
|
||||
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '202', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">202</td><td class="rightmargin right"><a id="file0_line78"></a><code>78</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> foreach (var pair in responseMessage.Headers)</code></td></tr>
|
||||
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '201', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">201</td><td class="rightmargin right"><a id="file0_line78"></a><code>78</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> foreach (var pair in responseMessage.Headers)</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '23', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">23</td><td class="rightmargin right"><a id="file0_line79"></a><code>79</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
|
||||
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '23', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">23</td><td class="rightmargin right"><a id="file0_line80"></a><code>80</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> if (ResponseHeadersToFix.ContainsKey(pair.Key))</code></td></tr>
|
||||
<tr data-coverage="{'AllTestMethods': {'VC': '19', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">19</td><td class="rightmargin right"><a id="file0_line81"></a><code>81</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
|
||||
@@ -142,7 +142,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_line100"></a><code>100</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-26 - 11:51:45<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-10-09 - 12:23:36<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