< prev index next >
test/langtools/jdk/javadoc/doclet/testIndentation/TestIndentation.java
Print this page
*** 46,60 ****
"-sourcepath", testSrc,
"p");
checkExit(Exit.OK);
checkOutput("p/Indent.html", true,
! "<pre class=\"methodSignature\">public <T> void m(T t1,",
! "\n"
! + " T t2)",
! "\n"
! + " throws java.lang.Exception");
// Test indentation of annotations and annotated method arguments
checkOutput("p/IndentAnnot.html", false,
" @Deprecated",
" int b)",
--- 46,61 ----
"-sourcepath", testSrc,
"p");
checkExit(Exit.OK);
checkOutput("p/Indent.html", true,
! "<div class=\"memberSignature\"><span class=\"modifiers\">public</span> "
! + "<span class=\"typeParameters\"><T></span> "
! + "<span class=\"returnType\">void</span> <span class=\"memberName\">m</span>"
! + "(<span class=\"arguments\">T t1,\n"
! + "T t2)</span>\n"
! + " throws <span class=\"exceptions\">java.lang.Exception</span></div>");
// Test indentation of annotations and annotated method arguments
checkOutput("p/IndentAnnot.html", false,
" @Deprecated",
" int b)",
< prev index next >