langtools/test/com/sun/javadoc/testIndentation/TestIndentation.java
changeset 31943 72b69ab429c9
parent 30730 d3ce7619db2c
equal deleted inserted replaced
31942:8ab03f64ccac 31943:72b69ab429c9
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      8011288
    26  * @bug      8011288 8062647
    27  * @summary  Erratic/inconsistent indentation of signatures
    27  * @summary  Erratic/inconsistent indentation of signatures
    28  * @library  ../lib
    28  * @library  ../lib
    29  * @modules jdk.javadoc
    29  * @modules jdk.javadoc
    30  * @build    JavadocTester
    30  * @build    JavadocTester
    31  * @run main TestIndentation
    31  * @run main TestIndentation
    49                 "<pre>public&nbsp;&lt;T&gt;&nbsp;void&nbsp;m(T&nbsp;t1,",
    49                 "<pre>public&nbsp;&lt;T&gt;&nbsp;void&nbsp;m(T&nbsp;t1,",
    50                 "\n"
    50                 "\n"
    51                 + "                  T&nbsp;t2)",
    51                 + "                  T&nbsp;t2)",
    52                 "\n"
    52                 "\n"
    53                 + "           throws java.lang.Exception");
    53                 + "           throws java.lang.Exception");
       
    54 
       
    55         // Test indentation of annotations and annotated method arguments
       
    56         checkOutput("p/IndentAnnot.html", false,
       
    57                 " @Deprecated",
       
    58                 "                int&nbsp;b)",
       
    59                 "                java.lang.Object...&nbsp;b)");
       
    60 
    54     }
    61     }
    55 }
    62 }