langtools/test/tools/doclint/HtmlTagsTest.java
author jjg
Mon, 17 Dec 2012 07:47:05 -0800
changeset 14952 d0022ae20516
child 14962 19ffdfafbcd2
permissions -rw-r--r--
8004832: Add new doclint package Reviewed-by: mcimadamore

/*
 * @test /nodynamiccopyright/
 * @build DocLintTester
 * @run main DocLintTester -Xmsgs:-html HtmlTagsTest.java
 * @run main DocLintTester -ref HtmlTagsTest.out HtmlTagsTest.java
 */

/** */
public class HtmlTagsTest {
    /**
     * <xyz> ... </xyz>
     */
    public void unknownTag1() { }

    /**
     * <div> <xyz> </div>
     */
    public void unknownTag2() { }

    /**
     * <br/>
     */
    public void selfClosingTag() { }

    /**
     * <html>
     */
    public void not_allowed() { }

    /**
     * <span> <p> </span>
     */
    public void not_allowed_inline() { }

    /**
     * {@link java.lang.String <p> }
     * {@link java.lang.String <p> }
     */
    public void not_allowed_inline_2() { }

    /**
     * <img src="any.jpg" alt="alt"> </img>
     */
    public void end_not_allowed() { }

    /**
     * <i> <b> </i>
     */
    public void start_not_matched() { }

    /**
     * <i> </b> </i>
     */
    public void end_unexpected() { }
}