test/tools/doclint/html/ListTagsTest.java

Mon, 21 Jan 2013 10:07:37 -0800

author
jjg
date
Mon, 21 Jan 2013 10:07:37 -0800
changeset 1507
967052c425a1
child 1793
391f97e270c2
permissions
-rw-r--r--

8006251: doclint: incorrect position for diagnostic for illegal text in tags
Reviewed-by: mcimadamore

jjg@1507 1 /*
jjg@1507 2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
jjg@1507 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jjg@1507 4 *
jjg@1507 5 * This code is free software; you can redistribute it and/or modify it
jjg@1507 6 * under the terms of the GNU General Public License version 2 only, as
jjg@1507 7 * published by the Free Software Foundation.
jjg@1507 8 *
jjg@1507 9 * This code is distributed in the hope that it will be useful, but WITHOUT
jjg@1507 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jjg@1507 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jjg@1507 12 * version 2 for more details (a copy is included in the LICENSE file that
jjg@1507 13 * accompanied this code).
jjg@1507 14 *
jjg@1507 15 * You should have received a copy of the GNU General Public License version
jjg@1507 16 * 2 along with this work; if not, write to the Free Software Foundation,
jjg@1507 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jjg@1507 18 *
jjg@1507 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jjg@1507 20 * or visit www.oracle.com if you need additional information or have any
jjg@1507 21 * questions.
jjg@1507 22 */
jjg@1507 23
jjg@1507 24 /*
jjg@1507 25 * @test
jjg@1507 26 * @bug 8006251
jjg@1507 27 * @summary test list tags
jjg@1507 28 * @library ..
jjg@1507 29 * @build DocLintTester
jjg@1507 30 * @run main DocLintTester -Xmsgs ListTagsTest.java
jjg@1507 31 */
jjg@1507 32
jjg@1507 33 /** */
jjg@1507 34 public class ListTagsTest {
jjg@1507 35 /**
jjg@1507 36 * <dl> <dt> abc <dd> def </dl>
jjg@1507 37 * <ol> <li> abc </ol>
jjg@1507 38 * <ul> <li> abc </ul>
jjg@1507 39 */
jjg@1507 40 public void supportedTags() { }
jjg@1507 41 }

mercurial