Skip to content

Commit

Permalink
Generated by gradle-git-publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
junit-builds committed Apr 19, 2024
1 parent b61bb62 commit 11c0587
Showing 1 changed file with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6080,7 +6080,11 @@ <h3>assertThrowsExactly</h3>
<p>If you do not want to perform additional checks on the exception instance,
ignore the return value.

<p>Fails with the supplied failure <code>message</code>.</div>
<p>Fails with the supplied failure <code>message</code>. Note that the supplied
<code>message</code> is <strong>not</strong> the expected message of the thrown
exception. To assert the expected message of the thrown exception, you must
use a separate, subsequent assertion against the exception returned from
this method.</div>
<dl class="notes">
<dt>Since:</dt>
<dd>5.8</dd>
Expand All @@ -6102,7 +6106,11 @@ <h3>assertThrowsExactly</h3>
thrown, this method will fail.

<p>If necessary, the failure message will be retrieved lazily from the
supplied <code>messageSupplier</code>.
supplied <code>messageSupplier</code>. Note that the failure message is
<strong>not</strong> the expected message of the thrown exception. To
assert the expected message of the thrown exception, you must use a
separate, subsequent assertion against the exception returned from this
method.

<p>If you do not want to perform additional checks on the exception instance,
ignore the return value.</div>
Expand Down Expand Up @@ -6142,7 +6150,11 @@ <h3>assertThrows</h3>
<p>If you do not want to perform additional checks on the exception instance,
ignore the return value.

<p>Fails with the supplied failure <code>message</code>.</div>
<p>Fails with the supplied failure <code>message</code>. Note that the supplied
<code>message</code> is <strong>not</strong> the expected message of the thrown
exception. To assert the expected message of the thrown exception, you must
use a separate, subsequent assertion against the exception returned from
this method.</div>
</section>
</li>
<li>
Expand All @@ -6158,7 +6170,11 @@ <h3>assertThrows</h3>
thrown, this method will fail.

<p>If necessary, the failure message will be retrieved lazily from the
supplied <code>messageSupplier</code>.
supplied <code>messageSupplier</code>. Note that the failure message is
<strong>not</strong> the expected message of the thrown exception. To
assert the expected message of the thrown exception, you must use a
separate, subsequent assertion against the exception returned from this
method.

<p>If you do not want to perform additional checks on the exception instance,
ignore the return value.</div>
Expand Down

0 comments on commit 11c0587

Please sign in to comment.