Skip to content

Commit

Permalink
chore(deps): update dependency nunit to v4.2.0 (#970)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 621f86b
  • Loading branch information
SeanKilleen committed Aug 22, 2024
1 parent 305a61b commit 8df30d5
Show file tree
Hide file tree
Showing 67 changed files with 8,540 additions and 879 deletions.
32 changes: 32 additions & 0 deletions api/NUnit.Framework.Assert.html
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,38 @@ <h5 class="parameters">Parameters</h5>
</tbody>
</table>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Assert.cs">View Source</a>
</span>
<a id="NUnit_Framework_Assert_EnterMultipleScope_" data-uid="NUnit.Framework.Assert.EnterMultipleScope*"></a>
<h4 id="NUnit_Framework_Assert_EnterMultipleScope" data-uid="NUnit.Framework.Assert.EnterMultipleScope">EnterMultipleScope()</h4>
<div class="markdown level1 summary"><p>Enters a multiple assert scope.
Wraps code containing a series of assertions, which should all
be executed, even if they fail. Failed results are saved and
reported when the returned IDisposable is disposed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IDisposable EnterMultipleScope()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></td>
<td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a> which when disposed leaves the multiple assertion scope.</p>
</td>
</tr>
</tbody>
</table>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Assert.cs">View Source</a>
</span>
Expand Down
28 changes: 28 additions & 0 deletions api/NUnit.Framework.Constraints.AnyOfConstraint.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,34 @@ <h5 class="propertyValue">Property Value</h5>
</tr>
</tbody>
</table>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/AnyOfConstraint.cs">View Source</a>
</span>
<a id="NUnit_Framework_Constraints_AnyOfConstraint_IgnoreWhiteSpace_" data-uid="NUnit.Framework.Constraints.AnyOfConstraint.IgnoreWhiteSpace*"></a>
<h4 id="NUnit_Framework_Constraints_AnyOfConstraint_IgnoreWhiteSpace" data-uid="NUnit.Framework.Constraints.AnyOfConstraint.IgnoreWhiteSpace">IgnoreWhiteSpace</h4>
<div class="markdown level1 summary"><p>Flag the constraint to ignore white space and return self.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public AnyOfConstraint IgnoreWhiteSpace { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="NUnit.Framework.Constraints.AnyOfConstraint.html">AnyOfConstraint</a></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>

Expand Down
1 change: 1 addition & 0 deletions api/NUnit.Framework.Constraints.BinaryOperator.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ <h5>Inheritance</h5>
<div class="level1"><a class="xref" href="NUnit.Framework.Constraints.ConstraintOperator.html">ConstraintOperator</a></div>
<div class="level2"><span class="xref">BinaryOperator</span></div>
<div class="level3"><a class="xref" href="NUnit.Framework.Constraints.AndOperator.html">AndOperator</a></div>
<div class="level3"><a class="xref" href="NUnit.Framework.Constraints.InsteadOperator.html">InsteadOperator</a></div>
<div class="level3"><a class="xref" href="NUnit.Framework.Constraints.OrOperator.html">OrOperator</a></div>
</div>
<div class="inheritedMembers">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,18 @@ <h5>Inherited Members</h5>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoringCase">CollectionItemsEqualConstraint.IgnoringCase</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoringWhiteSpace">CollectionItemsEqualConstraint.IgnoringWhiteSpace</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_UsingExternalComparer">CollectionItemsEqualConstraint.UsingExternalComparer</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoreCase">CollectionItemsEqualConstraint.IgnoreCase</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoreWhiteSpace">CollectionItemsEqualConstraint.IgnoreWhiteSpace</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionConstraint.html#NUnit_Framework_Constraints_CollectionConstraint_IsEmpty_System_Collections_IEnumerable_">CollectionConstraint.IsEmpty(IEnumerable)</a>
</div>
Expand Down Expand Up @@ -429,13 +435,13 @@ <h5 class="overrides">Overrides</h5>
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/CollectionEquivalentConstraint.cs">View Source</a>
</span>
<a id="NUnit_Framework_Constraints_CollectionEquivalentConstraint_Using_" data-uid="NUnit.Framework.Constraints.CollectionEquivalentConstraint.Using*"></a>
<h4 id="NUnit_Framework_Constraints_CollectionEquivalentConstraint_Using__2_System_Func___0___1_System_Boolean__" data-uid="NUnit.Framework.Constraints.CollectionEquivalentConstraint.Using``2(System.Func{``0,``1,System.Boolean})">Using&lt;TActual, TExpected&gt;(Func&lt;TActual, TExpected, bool&gt;)</h4>
<h4 id="NUnit_Framework_Constraints_CollectionEquivalentConstraint_Using__2_System_Func___0___1_System_Boolean__" data-uid="NUnit.Framework.Constraints.CollectionEquivalentConstraint.Using``2(System.Func{``0,``1,System.Boolean})">Using&lt;TActualElement, TExpectedElement&gt;(Func&lt;TActualElement, TExpectedElement, bool&gt;)</h4>
<div class="markdown level1 summary"><p>Flag the constraint to use the supplied predicate function</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public CollectionEquivalentConstraint Using&lt;TActual, TExpected&gt;(Func&lt;TActual, TExpected, bool&gt; comparison)</code></pre>
<pre><code class="lang-csharp hljs">public CollectionEquivalentConstraint Using&lt;TActualElement, TExpectedElement&gt;(Func&lt;TActualElement, TExpectedElement, bool&gt; comparison)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
Expand All @@ -448,7 +454,7 @@ <h5 class="parameters">Parameters</h5>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-3">Func</a>&lt;TActual, TExpected, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>&gt;</td>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-3">Func</a>&lt;TActualElement, TExpectedElement, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>&gt;</td>
<td><span class="parametername">comparison</span></td>
<td><p>The comparison function to use.</p>
</td>
Expand Down Expand Up @@ -481,12 +487,14 @@ <h5 class="typeParameters">Type Parameters</h5>
</thead>
<tbody>
<tr>
<td><span class="parametername">TActual</span></td>
<td></td>
<td><span class="parametername">TActualElement</span></td>
<td><p>The type of the elements in the actual value.</p>
</td>
</tr>
<tr>
<td><span class="parametername">TExpected</span></td>
<td></td>
<td><span class="parametername">TExpectedElement</span></td>
<td><p>The type of the elements in the expected value.</p>
</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,34 @@ <h5 class="propertyValue">Property Value</h5>
</tbody>
</table>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/CollectionItemsEqualConstraint.cs">View Source</a>
</span>
<a id="NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoreWhiteSpace_" data-uid="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.IgnoreWhiteSpace*"></a>
<h4 id="NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoreWhiteSpace" data-uid="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.IgnoreWhiteSpace">IgnoreWhiteSpace</h4>
<div class="markdown level1 summary"><p>Flag the constraint to ignore white space and return self.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public CollectionItemsEqualConstraint IgnoreWhiteSpace { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html">CollectionItemsEqualConstraint</a></td>
<td></td>
</tr>
</tbody>
</table>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/CollectionItemsEqualConstraint.cs">View Source</a>
</span>
Expand Down Expand Up @@ -297,6 +325,34 @@ <h5 class="propertyValue">Property Value</h5>
</tbody>
</table>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/CollectionItemsEqualConstraint.cs">View Source</a>
</span>
<a id="NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoringWhiteSpace_" data-uid="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.IgnoringWhiteSpace*"></a>
<h4 id="NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoringWhiteSpace" data-uid="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.IgnoringWhiteSpace">IgnoringWhiteSpace</h4>
<div class="markdown level1 summary"><p>Get a flag indicating whether the user requested us to ignore white space.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected bool IgnoringWhiteSpace { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
<td></td>
</tr>
</tbody>
</table>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/CollectionItemsEqualConstraint.cs">View Source</a>
</span>
Expand Down
22 changes: 15 additions & 7 deletions api/NUnit.Framework.Constraints.CollectionSubsetConstraint.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,18 @@ <h5>Inherited Members</h5>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoringCase">CollectionItemsEqualConstraint.IgnoringCase</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoringWhiteSpace">CollectionItemsEqualConstraint.IgnoringWhiteSpace</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_UsingExternalComparer">CollectionItemsEqualConstraint.UsingExternalComparer</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoreCase">CollectionItemsEqualConstraint.IgnoreCase</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionItemsEqualConstraint.html#NUnit_Framework_Constraints_CollectionItemsEqualConstraint_IgnoreWhiteSpace">CollectionItemsEqualConstraint.IgnoreWhiteSpace</a>
</div>
<div>
<a class="xref" href="NUnit.Framework.Constraints.CollectionConstraint.html#NUnit_Framework_Constraints_CollectionConstraint_IsEmpty_System_Collections_IEnumerable_">CollectionConstraint.IsEmpty(IEnumerable)</a>
</div>
Expand Down Expand Up @@ -426,13 +432,13 @@ <h5 class="overrides">Overrides</h5>
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/CollectionSubsetConstraint.cs">View Source</a>
</span>
<a id="NUnit_Framework_Constraints_CollectionSubsetConstraint_Using_" data-uid="NUnit.Framework.Constraints.CollectionSubsetConstraint.Using*"></a>
<h4 id="NUnit_Framework_Constraints_CollectionSubsetConstraint_Using__2_System_Func___0___1_System_Boolean__" data-uid="NUnit.Framework.Constraints.CollectionSubsetConstraint.Using``2(System.Func{``0,``1,System.Boolean})">Using&lt;TSubsetType, TSupersetType&gt;(Func&lt;TSubsetType, TSupersetType, bool&gt;)</h4>
<h4 id="NUnit_Framework_Constraints_CollectionSubsetConstraint_Using__2_System_Func___0___1_System_Boolean__" data-uid="NUnit.Framework.Constraints.CollectionSubsetConstraint.Using``2(System.Func{``0,``1,System.Boolean})">Using&lt;TSubsetElement, TSupersetElement&gt;(Func&lt;TSubsetElement, TSupersetElement, bool&gt;)</h4>
<div class="markdown level1 summary"><p>Flag the constraint to use the supplied predicate function</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public CollectionSubsetConstraint Using&lt;TSubsetType, TSupersetType&gt;(Func&lt;TSubsetType, TSupersetType, bool&gt; comparison)</code></pre>
<pre><code class="lang-csharp hljs">public CollectionSubsetConstraint Using&lt;TSubsetElement, TSupersetElement&gt;(Func&lt;TSubsetElement, TSupersetElement, bool&gt; comparison)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
Expand All @@ -445,7 +451,7 @@ <h5 class="parameters">Parameters</h5>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-3">Func</a>&lt;TSubsetType, TSupersetType, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>&gt;</td>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-3">Func</a>&lt;TSubsetElement, TSupersetElement, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>&gt;</td>
<td><span class="parametername">comparison</span></td>
<td><p>The comparison function to use.</p>
</td>
Expand Down Expand Up @@ -478,12 +484,14 @@ <h5 class="typeParameters">Type Parameters</h5>
</thead>
<tbody>
<tr>
<td><span class="parametername">TSubsetType</span></td>
<td></td>
<td><span class="parametername">TSubsetElement</span></td>
<td><p>The type of the elements in the actual subset.</p>
</td>
</tr>
<tr>
<td><span class="parametername">TSupersetType</span></td>
<td></td>
<td><span class="parametername">TSupersetElement</span></td>
<td><p>The type of the elements in the expected superset.</p>
</td>
</tr>
</tbody>
</table>
Expand Down
Loading

0 comments on commit 8df30d5

Please sign in to comment.