langtools/test/com/sun/javadoc/testTagOutput/TestTagOutput.java
changeset 23971 f5ff1f5a8dee
parent 21478 fa4c7cda1b41
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    35 
    35 
    36 public class TestTagOutput extends JavadocTester {
    36 public class TestTagOutput extends JavadocTester {
    37 
    37 
    38     private static final String BUG_ID = "8026370";
    38     private static final String BUG_ID = "8026370";
    39     private static final String[][] TEST = {
    39     private static final String[][] TEST = {
    40         {BUG_ID + FS + "pkg1" + FS + "DeprecatedTag.html",
    40         {BUG_ID + "/pkg1/DeprecatedTag.html",
    41             "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span>&nbsp;</div>"},
    41             "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span>&nbsp;</div>"},
    42         {BUG_ID + FS + "pkg1" + FS + "DeprecatedTag.html",
    42         {BUG_ID + "/pkg1/DeprecatedTag.html",
    43             "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span>&nbsp;" +
    43             "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span>&nbsp;" +
    44             "<span class=\"deprecationComment\">Do not use this.</span></div>"}};
    44             "<span class=\"deprecationComment\">Do not use this.</span></div>"}};
    45 
    45 
    46     private static final String[][] NEGATED_TEST = {
    46     private static final String[][] NEGATED_TEST = {
    47         {BUG_ID + FS + "pkg1" + FS + "DeprecatedTag.html",
    47         {BUG_ID + "/pkg1/DeprecatedTag.html",
    48             "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated." +
    48             "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated." +
    49             "</span>&nbsp;<span class=\"deprecationComment\"></span></div>"}};
    49             "</span>&nbsp;<span class=\"deprecationComment\"></span></div>"}};
    50 
    50 
    51     private static final String[] ARGS =
    51     private static final String[] ARGS =
    52         new String[] {
    52         new String[] {