Only run OpenSslEngineTests if OpenSsl is installed. Related to [#3732]
This commit is contained in:
parent
9dc236054e
commit
0027d830d4
@ -15,7 +15,33 @@
|
|||||||
*/
|
*/
|
||||||
package io.netty.handler.ssl;
|
package io.netty.handler.ssl;
|
||||||
|
|
||||||
|
import static org.junit.Assume.assumeTrue;
|
||||||
|
|
||||||
public class OpenSslEngineTest extends SSLEngineTest {
|
public class OpenSslEngineTest extends SSLEngineTest {
|
||||||
|
@Override
|
||||||
|
public void testMutualAuthSameCerts() throws Exception {
|
||||||
|
assumeTrue(OpenSsl.isAvailable());
|
||||||
|
super.testMutualAuthSameCerts();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void testMutualAuthDiffCerts() throws Exception {
|
||||||
|
assumeTrue(OpenSsl.isAvailable());
|
||||||
|
super.testMutualAuthDiffCerts();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void testMutualAuthDiffCertsServerFailure() throws Exception {
|
||||||
|
assumeTrue(OpenSsl.isAvailable());
|
||||||
|
super.testMutualAuthDiffCertsServerFailure();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void testMutualAuthDiffCertsClientFailure() throws Exception {
|
||||||
|
assumeTrue(OpenSsl.isAvailable());
|
||||||
|
super.testMutualAuthDiffCertsClientFailure();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected SslProvider sslProvider() {
|
protected SslProvider sslProvider() {
|
||||||
return SslProvider.OPENSSL;
|
return SslProvider.OPENSSL;
|
||||||
|
Loading…
Reference in New Issue
Block a user