git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1444204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-02-08 19:44:27 +00:00
parent d9db37ee95
commit 877f83bc44
1 changed files with 7 additions and 2 deletions

View File

@ -18,15 +18,21 @@ package org.apache.activemq.transport.https;
import junit.framework.Test;
import junit.textui.TestRunner;
import org.apache.activemq.transport.http.HttpTransportBrokerTest;
public class HttpsTransportBrokerTest extends HttpTransportBrokerTest {
@Override
protected String getBindLocation() {
return "https://localhost:8161";
}
@Override
protected void setUp() throws Exception {
setAutoFail(true);
setMaxTestTime(300000);
System.setProperty("javax.net.ssl.trustStore", "src/test/resources/client.keystore");
System.setProperty("javax.net.ssl.trustStorePassword", "password");
System.setProperty("javax.net.ssl.trustStoreType", "jks");
@ -44,5 +50,4 @@ public class HttpsTransportBrokerTest extends HttpTransportBrokerTest {
public static void main(String[] args) {
TestRunner.run(suite());
}
}