1
1
/*
2
- * Copyright (c) 2013, 2023 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2013, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
24
24
/*
25
25
* @test
26
26
* @bug 4749567 8071982 8175200 8186332 8185371 8182765 8217034 8261976 8261976
27
- * 8275786
27
+ * 8275786 8347058
28
28
* @summary Test the output for -header, -footer, -nooverview, -nodeprecatedlist,
29
29
* -nonavbar, -notree, -stylesheetfile, --main-stylesheet, --add-stylesheet,
30
30
* --add-script options.
@@ -118,7 +118,7 @@ public void testStylesheetFile() {
118
118
119
119
checkOutput ("resource-files/custom-stylesheet.css" , true , "Custom javadoc style sheet" );
120
120
checkOutput ("pkg/Foo.html" , true , """
121
- <link rel="stylesheet" type="text/css" href="../resource-files/custom-stylesheet.css" title="Style" >""" );
121
+ <link rel="stylesheet" type="text/css" href="../resource-files/custom-stylesheet.css">""" );
122
122
}
123
123
124
124
@ Test
@@ -131,7 +131,7 @@ public void testStylesheetFileAltOption() {
131
131
132
132
checkOutput ("resource-files/custom-stylesheet.css" , true , "Custom javadoc style sheet" );
133
133
checkOutput ("pkg/Foo.html" , true , """
134
- <link rel="stylesheet" type="text/css" href="../resource-files/custom-stylesheet.css" title="Style" >""" );
134
+ <link rel="stylesheet" type="text/css" href="../resource-files/custom-stylesheet.css">""" );
135
135
}
136
136
137
137
@ Test
@@ -149,9 +149,9 @@ public void testAdditionalStylesheetFile() {
149
149
checkOutput ("resource-files/additional-stylesheet-3.css" , true , "Additional javadoc style sheet 3" );
150
150
checkOutput ("pkg/Foo.html" , true ,
151
151
"""
152
- <link rel="stylesheet" type="text/css" href="../resource-files/additional-stylesheet-1.css" title="Style" >
153
- <link rel="stylesheet" type="text/css" href="../resource-files/additional-stylesheet-2.css" title="Style" >
154
- <link rel="stylesheet" type="text/css" href="../resource-files/additional-stylesheet-3.css" title="Style" >""" );
152
+ <link rel="stylesheet" type="text/css" href="../resource-files/additional-stylesheet-1.css">
153
+ <link rel="stylesheet" type="text/css" href="../resource-files/additional-stylesheet-2.css">
154
+ <link rel="stylesheet" type="text/css" href="../resource-files/additional-stylesheet-3.css">""" );
155
155
}
156
156
157
157
@ Test
0 commit comments