File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
test/jdk/java/awt/regtesthelpers Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 184184 *
185185 * <p id="jtregTagsForTest">
186186 * Add the following jtreg tags before the test class declaration
187- * {@snippet :
187+ * <pre><code>
188188 * /*
189- * * @ test
189+ * * @ test
190190 * * @summary Sample manual test
191191 * * @library /java/awt/regtesthelpers
192192 * * @build PassFailJFrame
193193 * * @run main/manual SampleManualTest
194- * }
195- * and the closing comment tag < code>*/</code>.
194+ * */
195+ * </ code></pre>
196196 * <p>
197197 * The {@code @library} tag points to the location of the
198198 * {@code PassFailJFrame} class in the source code;
199199 * the {@code @build} tag makes jtreg compile the {@code PassFailJFrame} class,
200200 * and finally the {@code @run} tag specifies it is a manual
201201 * test and the class to run.
202+ * <p>
203+ * Don't forget to update the name of the class to run in the {@code @run} tag.
202204 *
203205 * <h2 id="usingBuilder">Using {@code Builder}</h2>
204206 * Use methods of the {@link Builder Builder} class to set or change
You can’t perform that action at this time.
0 commit comments