Polish PrivateKeyParserTests

pull/37462/head
Moritz Halbritter 1 year ago
parent 1b098951aa
commit 9a1e146c86

@ -20,8 +20,6 @@ import java.security.PrivateKey;
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;
@ -126,7 +124,6 @@ class PrivateKeyParserTests {
.hasMessageContaining("Unrecognized private key format");
}
@EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "EdDSA is only supported since Java 17")
@ParameterizedTest
// @formatter:off
@ValueSource(strings = {
@ -141,7 +138,6 @@ class PrivateKeyParserTests {
assertThat(privateKey.getAlgorithm()).isEqualTo("EdDSA");
}
@EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "XDH is only supported since Java 17")
@ParameterizedTest
// @formatter:off
@ValueSource(strings = {

Loading…
Cancel
Save