import javax.net.ssl.X509KeyManager;
import javax.net.ssl.X509TrustManager;
-import org.cacert.gigi.Certificate;
-import org.cacert.gigi.CertificateProfile;
-import org.cacert.gigi.Certificate.CSRType;
import org.cacert.gigi.GigiApiException;
-import org.cacert.gigi.pages.account.DomainOverview;
+import org.cacert.gigi.dbObjects.Certificate;
+import org.cacert.gigi.dbObjects.CertificateProfile;
+import org.cacert.gigi.dbObjects.Certificate.CSRType;
+import org.cacert.gigi.pages.account.domain.DomainOverview;
import org.cacert.gigi.testUtils.IOUtils;
import org.cacert.gigi.testUtils.PingTest;
import org.cacert.gigi.testUtils.TestEmailReciever.TestMail;
private Certificate c;
- @Test
+ @Test(timeout = 70000)
public void sslAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException {
testEmailAndSSL(0, 0, true);
}
- @Test
+ @Test(timeout = 70000)
public void sslWongTypeAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException {
testEmailAndSSL(1, 0, true);
}
- @Test
+ @Test(timeout = 70000)
public void sslOneMissingAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException {
testEmailAndSSL(2, 0, true);
}
- @Test
+ @Test(timeout = 70000)
public void sslBothMissingAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException {
testEmailAndSSL(3, 0, true);
}
- @Test
+ @Test(timeout = 70000)
public void sslWrongTypeAndMailFail() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException {
testEmailAndSSL(1, 1, false);
}