view test/tools/doclint/CustomTagTest.java @ 2203:a78f51d6bd5e

8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules Reviewed-by: darcy
author jjg
date Mon, 25 Nov 2013 17:42:28 -0800
parents 667843bd2193
children
line wrap: on
line source

/*
 * @test /nodynamiccopyright/
 * @bug 8006248 8028318
 * @summary DocLint should report unknown tags
 * @build DocLintTester
 * @run main DocLintTester CustomTagTest.java
 * @run main DocLintTester -XcustomTags: -ref CustomTagTest.out CustomTagTest.java
 * @run main DocLintTester -XcustomTags:customTag,custom.tag -ref CustomTagTestWithOption.out CustomTagTest.java
 * @run main DocLintTester -XcustomTags:customTag,custom.tag,anotherCustomTag -ref CustomTagTestWithOption.out CustomTagTest.java
 * @author bpatel
 */

/**
 * @customTag Text for a custom tag.
 * @custom.tag Text for another custom tag.
 * @unknownTag Text for an unknown tag.
 */
public class CustomTagTest {
}