langtools/test/jdk/javadoc/doclet/testHtmlTag/TestHtmlTag.java
changeset 46081 7c6d73d10b6b
parent 41453 5429549751ad
equal deleted inserted replaced
46080:65ccd412049b 46081:7c6d73d10b6b
     1 /*
     1 /*
     2  * Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2009, 2017, 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.
     7  * published by the Free Software Foundation.
   104                 "-sourcepath", testSrc,
   104                 "-sourcepath", testSrc,
   105                 "pkg3");
   105                 "pkg3");
   106         checkExit(Exit.OK);
   106         checkExit(Exit.OK);
   107 
   107 
   108         checkOutput("pkg3/package-summary.html", true,
   108         checkOutput("pkg3/package-summary.html", true,
   109                 "<div class=\"contentContainer\">\n"
   109                 "<div class=\"contentContainer\"><a name=\"package.description\">\n"
       
   110                 + "<!--   -->\n"
       
   111                 + "</a>\n"
   110                 + "<div class=\"block\"><p>This is the first line."
   112                 + "<div class=\"block\"><p>This is the first line."
   111                 + " Note the newlines before the &lt;p&gt; is relevant.</div>");
   113                 + " Note the newlines before the &lt;p&gt; is relevant.</div>");
   112 
   114 
   113         checkOutput("pkg3/A.DatatypeFactory.html", true,
   115         checkOutput("pkg3/A.DatatypeFactory.html", true,
   114                 "<div class=\"block\"><p>\n"
   116                 "<div class=\"block\"><p>\n"