Skip to content

Commit

Permalink
chore(deps): update dependency nunit to 4.3.2 (#1003)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 2e86ab5
  • Loading branch information
SeanKilleen committed Dec 28, 2024
1 parent e6fc594 commit 40dedc0
Show file tree
Hide file tree
Showing 4 changed files with 787 additions and 711 deletions.
67 changes: 64 additions & 3 deletions api/NUnit.Framework.Constraints.ThrowsExceptionConstraint.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ <h5>Inherited Members</h5>
<div>
<a class="xref" href="NUnit.Framework.Constraints.Constraint.html#NUnit_Framework_Constraints_Constraint_ApplyTo__1___0__">Constraint.ApplyTo&lt;TActual&gt;(ref TActual)</a>
</div>
<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>
<div>
<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>
</div>
Expand Down Expand Up @@ -222,6 +219,70 @@ <h5 class="overrides">Overrides</h5>
<h3 id="methods">Methods
</h3>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/ThrowsExceptionConstraint.cs">View Source</a>
</span>
<a id="NUnit_Framework_Constraints_ThrowsExceptionConstraint_ApplyToAsync_" data-uid="NUnit.Framework.Constraints.ThrowsExceptionConstraint.ApplyToAsync*"></a>
<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>
<div class="markdown level1 summary"><p>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.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<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>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<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>
<td><span class="parametername">actual</span></td>
<td></td>
</tr>
</tbody>
</table>
<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.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="NUnit.Framework.Constraints.ConstraintResult.html">ConstraintResult</a>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">TActual</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<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>

<span class="small pull-right mobile-hide">
<a href="https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/ThrowsExceptionConstraint.cs">View Source</a>
</span>
Expand Down
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@
"api/NUnit.Framework.Constraints.ThrowsExceptionConstraint.html": {
"href": "api/NUnit.Framework.Constraints.ThrowsExceptionConstraint.html",
"title": "Class ThrowsExceptionConstraint | NUnit Docs",
"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"
"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"
},
"api/NUnit.Framework.Constraints.ThrowsNothingConstraint.html": {
"href": "api/NUnit.Framework.Constraints.ThrowsNothingConstraint.html",
Expand Down
Loading

0 comments on commit 40dedc0

Please sign in to comment.