File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/test/java/org/apache/maven/plugins/javadoc Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 6565import static org .hamcrest .CoreMatchers .containsString ;
6666import static org .hamcrest .CoreMatchers .is ;
6767import static org .junit .Assume .assumeThat ;
68+ import static org .junit .Assume .assumeTrue ;
6869import static org .mockito .Mockito .mock ;
6970import static org .mockito .Mockito .spy ;
7071import static org .mockito .Mockito .when ;
@@ -470,15 +471,13 @@ public void testCustomConfiguration() throws Exception {
470471 }
471472
472473 /**
473- * Method to test the doclet artifact configuration
474+ * Method to test the doclet artifact configuration.
474475 *
475476 * @throws Exception if any
476477 */
477478 public void testDoclets () throws Exception {
478- if (JavaVersion .JAVA_SPECIFICATION_VERSION .isAtLeast ("13" )) {
479- // As of JDK 13, the com.sun.javadoc API is no longer supported.
480- return ;
481- }
479+
480+ assumeTrue (JavaVersion .JAVA_SPECIFICATION_VERSION .isBefore ("13" ));
482481
483482 // ----------------------------------------------------------------------
484483 // doclet-test: check if the file generated by UmlGraph exists and if
You can’t perform that action at this time.
0 commit comments