Skip to content

Commit

Permalink
Polish PrivateKeyParserTests
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalbritter committed Sep 18, 2023
1 parent 1b09895 commit 9a1e146
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
import java.security.interfaces.ECPrivateKey;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.EnabledForJreRange;
import org.junit.jupiter.api.condition.JRE;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import org.junit.jupiter.params.provider.ValueSource;
Expand Down Expand Up @@ -126,7 +124,6 @@ void shouldNotParseUnsupportedEcPkcs8(String file) {
.hasMessageContaining("Unrecognized private key format");
}

@EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "EdDSA is only supported since Java 17")
@ParameterizedTest
// @formatter:off
@ValueSource(strings = {
Expand All @@ -141,7 +138,6 @@ void shouldParseEdDsaPkcs8(String file) {
assertThat(privateKey.getAlgorithm()).isEqualTo("EdDSA");
}

@EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "XDH is only supported since Java 17")
@ParameterizedTest
// @formatter:off
@ValueSource(strings = {
Expand Down

0 comments on commit 9a1e146

Please sign in to comment.