Skip to content

Commit

Permalink
Merge pull request #993 from nunit/renovate/nunit-4.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency nunit to 4.3.0 ed6f28a
  • Loading branch information
mikkelbu committed Dec 15, 2024
1 parent 6c010bf commit 3ae86c1
Show file tree
Hide file tree
Showing 126 changed files with 10,411 additions and 1,055 deletions.
17 changes: 11 additions & 6 deletions api/NUnit.Common.ColorConsole.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ColorConsole | NUnit Docs ">


<meta name="description" content="Sets the console color in the constructor and resets it in the dispose">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.min.css">
<link rel="stylesheet" href="../styles/docfx.css">
Expand Down Expand Up @@ -88,7 +88,8 @@


<h1 id="NUnit_Common_ColorConsole" data-uid="NUnit.Common.ColorConsole" class="text-break">Class ColorConsole</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 summary"><p>Sets the console color in the constructor and resets it in the dispose</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
Expand Down Expand Up @@ -137,7 +138,8 @@ <h3 id="constructors">Constructors
</span>
<a id="NUnit_Common_ColorConsole__ctor_" data-uid="NUnit.Common.ColorConsole.#ctor*"></a>
<h4 id="NUnit_Common_ColorConsole__ctor_NUnit_Common_ColorStyle_" data-uid="NUnit.Common.ColorConsole.#ctor(NUnit.Common.ColorStyle)">ColorConsole(ColorStyle)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="NUnit.Common.ColorConsole.html">ColorConsole</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -156,7 +158,8 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="NUnit.Common.ColorStyle.html">ColorStyle</a></td>
<td><span class="parametername">style</span></td>
<td></td>
<td><p>The color style to use.</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -168,7 +171,8 @@ <h3 id="methods">Methods
</span>
<a id="NUnit_Common_ColorConsole_Dispose_" data-uid="NUnit.Common.ColorConsole.Dispose*"></a>
<h4 id="NUnit_Common_ColorConsole_Dispose" data-uid="NUnit.Common.ColorConsole.Dispose">Dispose()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>If color is enabled, restores the console colors to their defaults</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -180,7 +184,8 @@ <h5 class="declaration">Declaration</h5>
</span>
<a id="NUnit_Common_ColorConsole_GetColor_" data-uid="NUnit.Common.ColorConsole.GetColor*"></a>
<h4 id="NUnit_Common_ColorConsole_GetColor_NUnit_Common_ColorStyle_" data-uid="NUnit.Common.ColorConsole.GetColor(NUnit.Common.ColorStyle)">GetColor(ColorStyle)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>By using styles, we can keep everything consistent</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand Down
69 changes: 46 additions & 23 deletions api/NUnit.Common.ColorConsoleWriter.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ <h3 id="constructors">Constructors
</span>
<a id="NUnit_Common_ColorConsoleWriter__ctor_" data-uid="NUnit.Common.ColorConsoleWriter.#ctor*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter__ctor" data-uid="NUnit.Common.ColorConsoleWriter.#ctor">ColorConsoleWriter()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Construct a ColorConsoleWriter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -358,7 +359,8 @@ <h5 class="declaration">Declaration</h5>
</span>
<a id="NUnit_Common_ColorConsoleWriter__ctor_" data-uid="NUnit.Common.ColorConsoleWriter.#ctor*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter__ctor_System_Boolean_" data-uid="NUnit.Common.ColorConsoleWriter.#ctor(System.Boolean)">ColorConsoleWriter(bool)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Construct a ColorConsoleWriter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -377,7 +379,8 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
<td><span class="parametername">colorEnabled</span></td>
<td></td>
<td><p>Flag indicating whether color should be enabled</p>
</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -417,7 +420,8 @@ <h3 id="methods">Methods
</span>
<a id="NUnit_Common_ColorConsoleWriter_Write_" data-uid="NUnit.Common.ColorConsoleWriter.Write*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter_Write_NUnit_Common_ColorStyle_System_String_" data-uid="NUnit.Common.ColorConsoleWriter.Write(NUnit.Common.ColorStyle,System.String)">Write(ColorStyle, string)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Writes the value with the specified style.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -436,12 +440,14 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="NUnit.Common.ColorStyle.html">ColorStyle</a></td>
<td><span class="parametername">style</span></td>
<td></td>
<td><p>The style.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">value</span></td>
<td></td>
<td><p>The value.</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -453,7 +459,8 @@ <h5 class="overrides">Overrides</h5>
</span>
<a id="NUnit_Common_ColorConsoleWriter_WriteLabel_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabel*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter_WriteLabel_System_String_System_Object_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabel(System.String,System.Object)">WriteLabel(string, object)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Writes the label and the option that goes with it.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -472,12 +479,14 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">label</span></td>
<td></td>
<td><p>The label.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
<td><span class="parametername">option</span></td>
<td></td>
<td><p>The option.</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -489,7 +498,8 @@ <h5 class="overrides">Overrides</h5>
</span>
<a id="NUnit_Common_ColorConsoleWriter_WriteLabel_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabel*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter_WriteLabel_System_String_System_Object_NUnit_Common_ColorStyle_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabel(System.String,System.Object,NUnit.Common.ColorStyle)">WriteLabel(string, object, ColorStyle)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Writes the label and the option that goes with it and optionally writes a new line.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -508,17 +518,20 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">label</span></td>
<td></td>
<td><p>The label.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
<td><span class="parametername">option</span></td>
<td></td>
<td><p>The option.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="NUnit.Common.ColorStyle.html">ColorStyle</a></td>
<td><span class="parametername">valueStyle</span></td>
<td></td>
<td><p>The color to display the value with</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -530,7 +543,8 @@ <h5 class="overrides">Overrides</h5>
</span>
<a id="NUnit_Common_ColorConsoleWriter_WriteLabelLine_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabelLine*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter_WriteLabelLine_System_String_System_Object_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabelLine(System.String,System.Object)">WriteLabelLine(string, object)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Writes the label and the option that goes with it followed by a new line.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -549,12 +563,14 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">label</span></td>
<td></td>
<td><p>The label.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
<td><span class="parametername">option</span></td>
<td></td>
<td><p>The option.</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -566,7 +582,8 @@ <h5 class="overrides">Overrides</h5>
</span>
<a id="NUnit_Common_ColorConsoleWriter_WriteLabelLine_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabelLine*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter_WriteLabelLine_System_String_System_Object_NUnit_Common_ColorStyle_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLabelLine(System.String,System.Object,NUnit.Common.ColorStyle)">WriteLabelLine(string, object, ColorStyle)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Writes the label and the option that goes with it followed by a new line.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -585,17 +602,20 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">label</span></td>
<td></td>
<td><p>The label.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
<td><span class="parametername">option</span></td>
<td></td>
<td><p>The option.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="NUnit.Common.ColorStyle.html">ColorStyle</a></td>
<td><span class="parametername">valueStyle</span></td>
<td></td>
<td><p>The color to display the value with</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -607,7 +627,8 @@ <h5 class="overrides">Overrides</h5>
</span>
<a id="NUnit_Common_ColorConsoleWriter_WriteLine_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLine*"></a>
<h4 id="NUnit_Common_ColorConsoleWriter_WriteLine_NUnit_Common_ColorStyle_System_String_" data-uid="NUnit.Common.ColorConsoleWriter.WriteLine(NUnit.Common.ColorStyle,System.String)">WriteLine(ColorStyle, string)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Writes the value with the specified style.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -626,12 +647,14 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><a class="xref" href="NUnit.Common.ColorStyle.html">ColorStyle</a></td>
<td><span class="parametername">style</span></td>
<td></td>
<td><p>The style.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
<td><span class="parametername">value</span></td>
<td></td>
<td><p>The value.</p>
</td>
</tr>
</tbody>
</table>
Expand Down
41 changes: 27 additions & 14 deletions api/NUnit.Common.ColorStyle.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<meta name="viewport" content="width=device-width">
<meta name="title" content="Enum ColorStyle | NUnit Docs ">


<meta name="description" content="ColorStyle enumerates the various styles used in the console display">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.min.css">
<link rel="stylesheet" href="../styles/docfx.css">
Expand Down Expand Up @@ -89,7 +89,8 @@


<h1 id="NUnit_Common_ColorStyle" data-uid="NUnit.Common.ColorStyle" class="text-break">Enum ColorStyle</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 summary"><p>ColorStyle enumerates the various styles used in the console display</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="NUnit.html">NUnit</a>.<a class="xref" href="NUnit.Common.html">Common</a></h6>
<h6><strong>Assembly</strong>: nunitlite.dll</h6>
Expand All @@ -109,51 +110,63 @@ <h3 id="fields">Fields
</thead></thead><tbody>
<tr>
<td id="NUnit_Common_ColorStyle_Default">Default</td>
<td></td>
<td><p>The default color for items that don't fit into the other categories</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Error">Error</td>
<td></td>
<td><p>Color for errors and exceptions</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Failure">Failure</td>
<td></td>
<td><p>Color for failed tests</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Header">Header</td>
<td></td>
<td><p>Color for headers</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Help">Help</td>
<td></td>
<td><p>Color for help text</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Label">Label</td>
<td></td>
<td><p>Color for labels</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Output">Output</td>
<td></td>
<td><p>Test output</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Pass">Pass</td>
<td></td>
<td><p>Color for passed tests</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_SectionHeader">SectionHeader</td>
<td></td>
<td><p>Color for each of the section headers</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_SubHeader">SubHeader</td>
<td></td>
<td><p>Color for sub-headers</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Value">Value</td>
<td></td>
<td><p>Color for values, usually go beside labels</p>
</td>
</tr>
<tr>
<td id="NUnit_Common_ColorStyle_Warning">Warning</td>
<td></td>
<td><p>Color for warnings, ignored or skipped tests</p>
</td>
</tr>
</tbody>
</table>
Expand Down
Loading

0 comments on commit 3ae86c1

Please sign in to comment.