test/tools/doclint/CustomTagTest.java

changeset 2169
667843bd2193
child 2204
a78f51d6bd5e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/doclint/CustomTagTest.java	Thu Oct 24 11:22:50 2013 -0700
     1.3 @@ -0,0 +1,19 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug 8006248
     1.7 + * @summary DocLint should report unknown tags
     1.8 + * @build DocLintTester
     1.9 + * @run main DocLintTester CustomTagTest.java
    1.10 + * @run main DocLintTester -XcustomTags: -ref CustomTagTest.out CustomTagTest.java
    1.11 + * @run main DocLintTester -XcustomTags:customTag -ref CustomTagTestWithOption.out CustomTagTest.java
    1.12 + * @run main DocLintTester -XcustomTags:customTag,anotherCustomTag -ref CustomTagTestWithOption.out CustomTagTest.java
    1.13 + * @author bpatel
    1.14 + */
    1.15 +
    1.16 +/**
    1.17 + * @customTag Text for a custom tag.
    1.18 + * @unknownTag Text for an unknown tag.
    1.19 + */
    1.20 +public class CustomTagTest {
    1.21 +}
    1.22 +

mercurial