langtools/test/tools/doclint/HtmlAttrsTest.java
author katleman
Tue, 21 Jan 2014 18:17:23 -0800
changeset 22365 895bfde469d4
parent 21017 f61558e07e14
child 30730 d3ce7619db2c
permissions -rw-r--r--
Added tag jdk9-b01 for changeset ae2d94255f32
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     1
/*
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
14962
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     3
 * @bug 8004832
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     4
 * @summary Add new doclint package
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     5
 * @build DocLintTester
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     6
 * @run main DocLintTester -Xmsgs:-html HtmlAttrsTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     7
 * @run main DocLintTester -ref HtmlAttrsTest.out HtmlAttrsTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     8
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     9
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    10
/** */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    11
public class HtmlAttrsTest {
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    12
    /**
21017
f61558e07e14 8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents: 14962
diff changeset
    13
     * <p xyz> text </p>
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    14
     */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    15
    public void unknown() { }
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    16
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    17
    /**
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    18
     * <img name="x" alt="alt">
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    19
     */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    20
    public void obsolete() { }
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    21
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    22
    /**
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    23
     * <font size="3"> text </font>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    24
     */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    25
    public void obsolete_use_css() { }
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    26
}
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    27