Skip to content

Commit 40dedc0

Browse files
committed
chore(deps): update dependency nunit to 4.3.2 (#1003)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 2e86ab5
1 parent e6fc594 commit 40dedc0

File tree

4 files changed

+787
-711
lines changed

4 files changed

+787
-711
lines changed

api/NUnit.Framework.Constraints.ThrowsExceptionConstraint.html

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ <h5>Inherited Members</h5>
108108
<div>
109109
<a class="xref" href="NUnit.Framework.Constraints.Constraint.html#NUnit_Framework_Constraints_Constraint_ApplyTo__1___0__">Constraint.ApplyTo&lt;TActual&gt;(ref TActual)</a>
110110
</div>
111-
<div>
112-
<a class="xref" href="NUnit.Framework.Constraints.Constraint.html#NUnit_Framework_Constraints_Constraint_ApplyToAsync__1_System_Func_System_Threading_Tasks_Task___0___">Constraint.ApplyToAsync&lt;TActual&gt;(Func&lt;Task&lt;TActual&gt;&gt;)</a>
113-
</div>
114111
<div>
115112
<a class="xref" href="NUnit.Framework.Constraints.Constraint.html#NUnit_Framework_Constraints_Constraint_GetTestObject__1_NUnit_Framework_Constraints_ActualValueDelegate___0__">Constraint.GetTestObject&lt;TActual&gt;(ActualValueDelegate&lt;TActual&gt;)</a>
116113
</div>
@@ -222,6 +219,70 @@ <h5 class="overrides">Overrides</h5>
222219
<h3 id="methods">Methods
223220
</h3>
224221

222+
<span class="small pull-right mobile-hide">
223+
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/ThrowsExceptionConstraint.cs">View Source</a>
224+
</span>
225+
<a id="NUnit_Framework_Constraints_ThrowsExceptionConstraint_ApplyToAsync_" data-uid="NUnit.Framework.Constraints.ThrowsExceptionConstraint.ApplyToAsync*"></a>
226+
<h4 id="NUnit_Framework_Constraints_ThrowsExceptionConstraint_ApplyToAsync__1_System_Func_System_Threading_Tasks_Task___0___" data-uid="NUnit.Framework.Constraints.ThrowsExceptionConstraint.ApplyToAsync``1(System.Func{System.Threading.Tasks.Task{``0}})">ApplyToAsync&lt;TActual&gt;(Func&lt;Task&lt;TActual&gt;&gt;)</h4>
227+
<div class="markdown level1 summary"><p>Applies the constraint to a delegate that returns the task.
228+
The default implementation simply evaluates the delegate and awaits the task
229+
but derived classes may override it to provide for delayed processing.</p>
230+
</div>
231+
<div class="markdown level1 conceptual"></div>
232+
<h5 class="declaration">Declaration</h5>
233+
<div class="codewrapper">
234+
<pre><code class="lang-csharp hljs">public override Task&lt;ConstraintResult&gt; ApplyToAsync&lt;TActual&gt;(Func&lt;Task&lt;TActual&gt;&gt; actual)</code></pre>
235+
</div>
236+
<h5 class="parameters">Parameters</h5>
237+
<table class="table table-bordered table-condensed">
238+
<thead>
239+
<tr>
240+
<th>Type</th>
241+
<th>Name</th>
242+
<th>Description</th>
243+
</tr>
244+
</thead>
245+
<tbody>
246+
<tr>
247+
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;TActual&gt;&gt;</td>
248+
<td><span class="parametername">actual</span></td>
249+
<td></td>
250+
</tr>
251+
</tbody>
252+
</table>
253+
<h5 class="returns">Returns</h5>
254+
<table class="table table-bordered table-condensed">
255+
<thead>
256+
<tr>
257+
<th>Type</th>
258+
<th>Description</th>
259+
</tr>
260+
</thead>
261+
<tbody>
262+
<tr>
263+
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="NUnit.Framework.Constraints.ConstraintResult.html">ConstraintResult</a>&gt;</td>
264+
<td></td>
265+
</tr>
266+
</tbody>
267+
</table>
268+
<h5 class="typeParameters">Type Parameters</h5>
269+
<table class="table table-bordered table-condensed">
270+
<thead>
271+
<tr>
272+
<th>Name</th>
273+
<th>Description</th>
274+
</tr>
275+
</thead>
276+
<tbody>
277+
<tr>
278+
<td><span class="parametername">TActual</span></td>
279+
<td></td>
280+
</tr>
281+
</tbody>
282+
</table>
283+
<h5 class="overrides">Overrides</h5>
284+
<div><a class="xref" href="NUnit.Framework.Constraints.Constraint.html#NUnit_Framework_Constraints_Constraint_ApplyToAsync__1_System_Func_System_Threading_Tasks_Task___0___">Constraint.ApplyToAsync&lt;TActual&gt;(Func&lt;Task&lt;TActual&gt;&gt;)</a></div>
285+
225286
<span class="small pull-right mobile-hide">
226287
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/ThrowsExceptionConstraint.cs">View Source</a>
227288
</span>

index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@
787787
"api/NUnit.Framework.Constraints.ThrowsExceptionConstraint.html": {
788788
"href": "api/NUnit.Framework.Constraints.ThrowsExceptionConstraint.html",
789789
"title": "Class ThrowsExceptionConstraint | NUnit Docs",
790-
"keywords": "Class ThrowsExceptionConstraint ThrowsExceptionConstraint tests that an exception has been thrown, without any further tests. Inheritance object Constraint ThrowsExceptionConstraint Implements IConstraint IResolveConstraint Inherited Members Constraint.ApplyTo<TActual>(ref TActual) Constraint.ApplyToAsync<TActual>(Func<Task<TActual>>) Constraint.GetTestObject<TActual>(ActualValueDelegate<TActual>) Constraint.ToString() Constraint.GetStringRepresentation(IEnumerable) Constraint.GetStringRepresentation() Constraint.After(int) Constraint.After(int, int) Constraint.DisplayName Constraint.Arguments Constraint.Builder Constraint.And Constraint.With Constraint.Or object.GetType() object.MemberwiseClone() object.Equals(object) object.Equals(object, object) object.ReferenceEquals(object, object) object.GetHashCode() Namespace: NUnit.Framework.Constraints Assembly: nunit.framework.dll Syntax public class ThrowsExceptionConstraint : Constraint, IConstraint, IResolveConstraint Constructors View Source ThrowsExceptionConstraint() Declaration public ThrowsExceptionConstraint() Properties View Source Description The Description of what this constraint tests, for use in messages and in the ConstraintResult. Declaration public override string Description { get; } Property Value Type Description string Overrides Constraint.Description Methods View Source ApplyTo<TActual>(ActualValueDelegate<TActual>) Applies the constraint to an ActualValueDelegate that returns the value to be tested. The default implementation simply evaluates the delegate but derived classes may override it to provide for delayed processing. Declaration public override ConstraintResult ApplyTo<TActual>(ActualValueDelegate<TActual> del) Parameters Type Name Description ActualValueDelegate<TActual> del Returns Type Description ConstraintResult Type Parameters Name Description TActual Overrides Constraint.ApplyTo<TActual>(ActualValueDelegate<TActual>) View Source ApplyTo<TActual>(TActual) Executes the code and returns success if an exception is thrown. Declaration public override ConstraintResult ApplyTo<TActual>(TActual actual) Parameters Type Name Description TActual actual A delegate representing the code to be tested Returns Type Description ConstraintResult True if an exception is thrown, otherwise false Type Parameters Name Description TActual Overrides Constraint.ApplyTo<TActual>(TActual) Implements IConstraint IResolveConstraint"
790+
"keywords": "Class ThrowsExceptionConstraint ThrowsExceptionConstraint tests that an exception has been thrown, without any further tests. Inheritance object Constraint ThrowsExceptionConstraint Implements IConstraint IResolveConstraint Inherited Members Constraint.ApplyTo<TActual>(ref TActual) Constraint.GetTestObject<TActual>(ActualValueDelegate<TActual>) Constraint.ToString() Constraint.GetStringRepresentation(IEnumerable) Constraint.GetStringRepresentation() Constraint.After(int) Constraint.After(int, int) Constraint.DisplayName Constraint.Arguments Constraint.Builder Constraint.And Constraint.With Constraint.Or object.GetType() object.MemberwiseClone() object.Equals(object) object.Equals(object, object) object.ReferenceEquals(object, object) object.GetHashCode() Namespace: NUnit.Framework.Constraints Assembly: nunit.framework.dll Syntax public class ThrowsExceptionConstraint : Constraint, IConstraint, IResolveConstraint Constructors View Source ThrowsExceptionConstraint() Declaration public ThrowsExceptionConstraint() Properties View Source Description The Description of what this constraint tests, for use in messages and in the ConstraintResult. Declaration public override string Description { get; } Property Value Type Description string Overrides Constraint.Description Methods View Source ApplyToAsync<TActual>(Func<Task<TActual>>) Applies the constraint to a delegate that returns the task. The default implementation simply evaluates the delegate and awaits the task but derived classes may override it to provide for delayed processing. Declaration public override Task<ConstraintResult> ApplyToAsync<TActual>(Func<Task<TActual>> actual) Parameters Type Name Description Func<Task<TActual>> actual Returns Type Description Task<ConstraintResult> Type Parameters Name Description TActual Overrides Constraint.ApplyToAsync<TActual>(Func<Task<TActual>>) View Source ApplyTo<TActual>(ActualValueDelegate<TActual>) Applies the constraint to an ActualValueDelegate that returns the value to be tested. The default implementation simply evaluates the delegate but derived classes may override it to provide for delayed processing. Declaration public override ConstraintResult ApplyTo<TActual>(ActualValueDelegate<TActual> del) Parameters Type Name Description ActualValueDelegate<TActual> del Returns Type Description ConstraintResult Type Parameters Name Description TActual Overrides Constraint.ApplyTo<TActual>(ActualValueDelegate<TActual>) View Source ApplyTo<TActual>(TActual) Executes the code and returns success if an exception is thrown. Declaration public override ConstraintResult ApplyTo<TActual>(TActual actual) Parameters Type Name Description TActual actual A delegate representing the code to be tested Returns Type Description ConstraintResult True if an exception is thrown, otherwise false Type Parameters Name Description TActual Overrides Constraint.ApplyTo<TActual>(TActual) Implements IConstraint IResolveConstraint"
791791
},
792792
"api/NUnit.Framework.Constraints.ThrowsNothingConstraint.html": {
793793
"href": "api/NUnit.Framework.Constraints.ThrowsNothingConstraint.html",

0 commit comments

Comments
 (0)