test/langtools/jdk/javadoc/doclet/testAnnotationTypes/TestAnnotationTypes.java
changeset 53562 0d9dee001667
parent 53097 2e82ca64b25d
child 53879 e7cb0348fa1c
equal deleted inserted replaced
53561:3f4b89a17892 53562:0d9dee001667
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2019, 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.
   115 
   115 
   116         checkOutput("pkg/AnnotationTypeField.html", true,
   116         checkOutput("pkg/AnnotationTypeField.html", true,
   117                 "public @interface <a href=\"../src-html/pkg/AnnotationTypeField.html#line.31"
   117                 "public @interface <a href=\"../src-html/pkg/AnnotationTypeField.html#line.31"
   118                 + "\">AnnotationTypeField</a></pre>");
   118                 + "\">AnnotationTypeField</a></pre>");
   119     }
   119     }
   120 
       
   121     @Test
       
   122     public void test_html4() {
       
   123         javadoc("-d", "out-html4",
       
   124                 "-html4",
       
   125                 "-sourcepath", testSrc,
       
   126                 "pkg");
       
   127         checkExit(Exit.OK);
       
   128         checkOutput("pkg/AnnotationType.html", true,
       
   129                 "<li class=\"blockList\"><a name=\"annotation.type.element.detail\">",
       
   130                 "<a name=\"value--\">");
       
   131 }
   120 }
   132 }