File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
src/test/java/org/cyclonedx/util Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 119119 <dependency >
120120 <groupId >org.junit</groupId >
121121 <artifactId >junit-bom</artifactId >
122- <version >5.13.4 </version >
122+ <version >6.0.2 </version >
123123 <scope >import</scope >
124124 <type >pom</type >
125125 </dependency >
Original file line number Diff line number Diff line change 2222import org .cyclonedx .Version ;
2323import org .cyclonedx .model .Hash ;
2424import org .junit .jupiter .api .Test ;
25- import org .junit .jupiter .api .condition .EnabledForJreRange ;
26- import org .junit .jupiter .api .condition .JRE ;
2725
2826import java .io .File ;
2927import java .io .IOException ;
@@ -58,8 +56,7 @@ public void calculateHashes() throws Exception {
5856 }
5957
6058 @ Test
61- @ EnabledForJreRange (min = JRE .JAVA_17 )
62- public void calculateSha3HashesOnJava17AndHigher () throws Exception {
59+ public void calculateSha3Hashes () throws Exception {
6360 final File file = new File (Objects .requireNonNull (this .getClass ().getResource ("/hashtest.txt" )).toURI ());
6461
6562 final List <Hash > hashes = BomUtils .calculateHashes (file , Version .VERSION_12 );
@@ -84,8 +81,7 @@ public void calculateHashesForBigFile() throws Exception {
8481 }
8582
8683 @ Test
87- @ EnabledForJreRange (min = JRE .JAVA_17 )
88- public void calculateSha3HashesForBigFileOnJava17AndHigher () throws Exception {
84+ public void calculateSha3HashesForBigFile () throws Exception {
8985 final File file = generateBigFileWithReproductiveContent ();
9086
9187 final List <Hash > hashes = BomUtils .calculateHashes (file , Version .VERSION_12 );
You can’t perform that action at this time.
0 commit comments