Skip to content

Commit

Permalink
8343128: PassFailJFrame.java test result: Error. Bad action for scrip…
Browse files Browse the repository at this point in the history
…t: build}

Use HTML character entity in javadoc to prevent jtreg from recognising
PassFailJFrame.java as a test file.

Reviewed-by: azvegint, honkar
  • Loading branch information
aivanov-jdk committed Nov 4, 2024
1 parent f69b601 commit 7bca0af
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/jdk/java/awt/regtesthelpers/PassFailJFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,21 +184,23 @@
*
* <p id="jtregTagsForTest">
* Add the following jtreg tags before the test class declaration
* {@snippet :
* <pre><code>
* /*
* * @test
* * &#64;test
* * @summary Sample manual test
* * @library /java/awt/regtesthelpers
* * @build PassFailJFrame
* * @run main/manual SampleManualTest
* }
* and the closing comment tag <code>*&#47;</code>.
* *&#47;
* </code></pre>
* <p>
* The {@code @library} tag points to the location of the
* {@code PassFailJFrame} class in the source code;
* the {@code @build} tag makes jtreg compile the {@code PassFailJFrame} class,
* and finally the {@code @run} tag specifies it is a manual
* test and the class to run.
* <p>
* Don't forget to update the name of the class to run in the {@code @run} tag.
*
* <h2 id="usingBuilder">Using {@code Builder}</h2>
* Use methods of the {@link Builder Builder} class to set or change
Expand Down

0 comments on commit 7bca0af

Please sign in to comment.