Skip to content

Commit

Permalink
Assume so test is reported is as skipped rather than passed
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Dec 4, 2024
1 parent 31b9fa0 commit f018b0e
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assume.assumeThat;
import static org.junit.Assume.assumeTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.when;
Expand Down Expand Up @@ -470,15 +471,13 @@ public void testCustomConfiguration() throws Exception {
}

/**
* Method to test the doclet artifact configuration
* Method to test the doclet artifact configuration.
*
* @throws Exception if any
*/
public void testDoclets() throws Exception {
if (JavaVersion.JAVA_SPECIFICATION_VERSION.isAtLeast("13")) {
// As of JDK 13, the com.sun.javadoc API is no longer supported.
return;
}

assumeTrue(JavaVersion.JAVA_SPECIFICATION_VERSION.isBefore("13"));

// ----------------------------------------------------------------------
// doclet-test: check if the file generated by UmlGraph exists and if
Expand Down

0 comments on commit f018b0e

Please sign in to comment.