Skip to content

Commit

Permalink
Update to source b2f5e11, xp eb19908
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Nov 16, 2023
1 parent bfbda62 commit 0b28ff1
Show file tree
Hide file tree
Showing 27 changed files with 186 additions and 75 deletions.
2 changes: 1 addition & 1 deletion docs/byte-array-converter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/cartesian-product-v1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/cartesian-product/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/default-locale-timezone/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/disable-if-display-name/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
6 changes: 3 additions & 3 deletions docs/disable-if-test-fails/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down Expand Up @@ -339,7 +339,7 @@ <h2 id="not-disabling-on-failed-assertions">Not disabling on failed assertions</
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #a6e22e">@DisableIfTestFails</span><span style="color: #f8f8f2">(onAssertion</span> <span style="color: #f92672">=</span> <span style="color: #66d9ef">false</span><span style="color: #f8f8f2">)</span>
<span style="color: #a6e22e">@TestMethodOrder</span><span style="color: #f8f8f2">(MethodOrderer.</span><span style="color: #a6e22e">OrderAnnotation</span><span style="color: #f8f8f2">.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">)</span>
<span style="color: #66d9ef">static</span> <span style="color: #66d9ef">class</span> <span style="color: #a6e22e">ThreeTestsWithSecondFailingWithUnconfiguredAssertionTestCase</span> <span style="color: #f8f8f2">{</span>
<span style="color: #66d9ef">class</span> <span style="color: #a6e22e">ThreeTestsWithSecondFailingWithUnconfiguredAssertionTestCase</span> <span style="color: #f8f8f2">{</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #a6e22e">@Order</span><span style="color: #f8f8f2">(</span><span style="color: #ae81ff">1</span><span style="color: #f8f8f2">)</span>
Expand Down Expand Up @@ -377,7 +377,7 @@ <h2 id="disabling-on-specific-exceptions">Disabling on specific exceptions</h2>
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #a6e22e">@DisableIfTestFails</span><span style="color: #f8f8f2">(with</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">IOException.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">)</span>
<span style="color: #a6e22e">@TestMethodOrder</span><span style="color: #f8f8f2">(MethodOrderer.</span><span style="color: #a6e22e">OrderAnnotation</span><span style="color: #f8f8f2">.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">)</span>
<span style="color: #66d9ef">static</span> <span style="color: #66d9ef">class</span> <span style="color: #a6e22e">ThreeTestsWithSecondThrowingConfiguredExceptionTestCase</span> <span style="color: #f8f8f2">{</span>
<span style="color: #66d9ef">class</span> <span style="color: #a6e22e">ThreeTestsWithSecondThrowingConfiguredExceptionTestCase</span> <span style="color: #f8f8f2">{</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #a6e22e">@Order</span><span style="color: #f8f8f2">(</span><span style="color: #ae81ff">1</span><span style="color: #f8f8f2">)</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/disable-parameterized-tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/disabled-until/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/environment-variables/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/expected-to-fail-tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/issue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/json-argument-source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/range-sources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/report-entries/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
22 changes: 16 additions & 6 deletions docs/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down Expand Up @@ -340,11 +340,13 @@ <h3 id="creating-a-new-resource">Creating a New Resource</h3>
</div>
<div class="listingblock">
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #66d9ef">void</span> <span style="color: #a6e22e">test1</span><span style="color: #f8f8f2">(</span><span style="color: #a6e22e">@New</span><span style="color: #f8f8f2">(TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">)</span> <span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">tempDir)</span> <span style="color: #f8f8f2">{</span>
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">test1</span><span style="color: #f8f8f2">(</span><span style="color: #a6e22e">@New</span><span style="color: #f8f8f2">(TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">)</span> <span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">tempDir)</span> <span style="color: #f8f8f2">{</span>
<span style="color: #75715e">// Test code goes here, e.g.,</span>
<span style="color: #f8f8f2">assertTrue(Files.</span><span style="color: #a6e22e">exists</span><span style="color: #f8f8f2">(tempDir));</span>
<span style="color: #f8f8f2">}</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">test2</span><span style="color: #f8f8f2">(</span><span style="color: #a6e22e">@New</span><span style="color: #f8f8f2">(TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">)</span> <span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">tempDir)</span> <span style="color: #f8f8f2">{</span>
<span style="color: #75715e">// This temporary directory is different to the first one.</span>
<span style="color: #f8f8f2">}</span></code></pre>
Expand Down Expand Up @@ -372,12 +374,13 @@ <h3 id="creating-a-new-resource-with-arguments">Creating a New Resource with Arg
</div>
<div class="listingblock">
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #66d9ef">void</span> <span style="color: #a6e22e">testWithArg</span><span style="color: #f8f8f2">(</span>
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">testWithArg</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@New</span><span style="color: #f8f8f2">(value</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">arguments</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;customPrefix&quot;</span><span style="color: #f8f8f2">)</span>
<span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">tempDir)</span> <span style="color: #f8f8f2">{</span>
<span style="color: #75715e">// Test code goes here, e.g.,</span>
<span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">rootTempDir</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">Paths.</span><span style="color: #a6e22e">get</span><span style="color: #f8f8f2">(System.</span><span style="color: #a6e22e">getProperty</span><span style="color: #f8f8f2">(</span><span style="color: #e6db74">&quot;java.io.tmpdir&quot;</span><span style="color: #f8f8f2">));</span>
<span style="color: #f8f8f2">assertTrue(rootTempDir.</span><span style="color: #a6e22e">relativize</span><span style="color: #f8f8f2">(tempDir).</span><span style="color: #a6e22e">startsWith</span><span style="color: #f8f8f2">(</span><span style="color: #e6db74">&quot;customPrefix&quot;</span><span style="color: #f8f8f2">));</span>
<span style="color: #f8f8f2">assertTrue(rootTempDir.</span><span style="color: #a6e22e">relativize</span><span style="color: #f8f8f2">(tempDir).</span><span style="color: #a6e22e">toString</span><span style="color: #f8f8f2">().</span><span style="color: #a6e22e">startsWith</span><span style="color: #f8f8f2">(</span><span style="color: #e6db74">&quot;customPrefix&quot;</span><span style="color: #f8f8f2">));</span>
<span style="color: #f8f8f2">}</span></code></pre>
</div>
</div>
Expand All @@ -389,13 +392,15 @@ <h3 id="sharing_a_resource">Sharing a Resource</h3>
</div>
<div class="listingblock">
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #66d9ef">void</span> <span style="color: #a6e22e">sharedResourceTest1</span><span style="color: #f8f8f2">(</span>
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">sharedResourceTest1</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@Shared</span><span style="color: #f8f8f2">(factory</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">name</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;sharedTempDir&quot;</span><span style="color: #f8f8f2">)</span>
<span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">sharedTempDir)</span> <span style="color: #f8f8f2">{</span>
<span style="color: #75715e">// Test code goes here, e.g.,</span>
<span style="color: #f8f8f2">assertTrue(Files.</span><span style="color: #a6e22e">exists</span><span style="color: #f8f8f2">(sharedTempDir));</span>
<span style="color: #f8f8f2">}</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">sharedResourceTest2</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@Shared</span><span style="color: #f8f8f2">(factory</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">name</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;sharedTempDir&quot;</span><span style="color: #f8f8f2">)</span>
<span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">sharedTempDir)</span> <span style="color: #f8f8f2">{</span>
Expand Down Expand Up @@ -442,18 +447,21 @@ <h3 id="sharing-multiple-resources">Sharing Multiple Resources</h3>
</div>
<div class="listingblock">
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #66d9ef">void</span> <span style="color: #a6e22e">firstSharedResource1</span><span style="color: #f8f8f2">(</span>
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">firstSharedResource1</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@Shared</span><span style="color: #f8f8f2">(factory</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">name</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;first&quot;</span><span style="color: #f8f8f2">)</span>
<span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">first)</span> <span style="color: #f8f8f2">{</span>
<span style="color: #75715e">// Test code working with first shared resource...</span>
<span style="color: #f8f8f2">}</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">firstSharedResource2</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@Shared</span><span style="color: #f8f8f2">(factory</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">name</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;first&quot;</span><span style="color: #f8f8f2">)</span>
<span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">first)</span> <span style="color: #f8f8f2">{</span>
<span style="color: #75715e">// Test code working with first shared resource...</span>
<span style="color: #f8f8f2">}</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">secondSharedResource</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@Shared</span><span style="color: #f8f8f2">(factory</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">name</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;second&quot;</span><span style="color: #f8f8f2">)</span>
<span style="color: #f8f8f2">Path</span> <span style="color: #f8f8f2">second)</span> <span style="color: #f8f8f2">{</span>
Expand All @@ -475,6 +483,7 @@ <h3 id="scope_of_a_shared_resource">Scope of a Shared Resource</h3>
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #66d9ef">class</span> <span style="color: #a6e22e">FirstTest</span> <span style="color: #f8f8f2">{</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">test</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@Shared</span><span style="color: #f8f8f2">(</span>
<span style="color: #f8f8f2">factory</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span>
Expand All @@ -491,6 +500,7 @@ <h3 id="scope_of_a_shared_resource">Scope of a Shared Resource</h3>
<div class="content">
<pre class="pygments highlight" style="background: #272822; color: #f8f8f2"><code data-lang="java"><span></span><span style="color: #66d9ef">class</span> <span style="color: #a6e22e">SecondTest</span> <span style="color: #f8f8f2">{</span>

<span style="color: #a6e22e">@Test</span>
<span style="color: #66d9ef">void</span> <span style="color: #a6e22e">test</span><span style="color: #f8f8f2">(</span>
<span style="color: #a6e22e">@Shared</span><span style="color: #f8f8f2">(</span>
<span style="color: #f8f8f2">factory</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">TemporaryDirectory.</span><span style="color: #a6e22e">class</span><span style="color: #f8f8f2">,</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/retrying-test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
2 changes: 1 addition & 1 deletion docs/simple-arguments-aggregator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@



<meta property="article:published_time" content="2023-10-07T17:37:10+00:00">
<meta property="article:published_time" content="2023-11-16T20:16:19+00:00">



Expand Down
Loading

0 comments on commit 0b28ff1

Please sign in to comment.