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;
+import org.cacert.gigi.testUtils.TestEmailReceiver.TestMail;
import org.cacert.gigi.util.DNSUtil;
import org.cacert.gigi.util.RandomToken;
import org.junit.Test;
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;
+import org.cacert.gigi.testUtils.TestEmailReceiver.TestMail;
import org.cacert.gigi.util.RandomToken;
import org.junit.Test;
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;
+import org.cacert.gigi.testUtils.TestEmailReceiver.TestMail;
import org.junit.Test;
public class TestSSL extends PingTest {
import org.cacert.gigi.pages.Manager;
import org.cacert.gigi.pages.account.MyDetails;
import org.cacert.gigi.pages.main.RegisterPage;
-import org.cacert.gigi.testUtils.TestEmailReciever.TestMail;
+import org.cacert.gigi.testUtils.TestEmailReceiver.TestMail;
import org.cacert.gigi.util.DatabaseManager;
import org.cacert.gigi.util.ServerConstants;
import org.cacert.gigi.util.SimpleSigner;
*/
protected static final String TEST_PASSWORD = "xvXV12°§";
- private static TestEmailReciever ter;
+ private static TestEmailReceiver ter;
private static Process gigi;
if (type.equals("local")) {
url = testProps.getProperty("name.www") + ":" + testProps.getProperty("serverPort.https");
String[] parts = testProps.getProperty("mail").split(":", 2);
- ter = new TestEmailReciever(new InetSocketAddress(parts[0], Integer.parseInt(parts[1])));
+ ter = new TestEmailReceiver(new InetSocketAddress(parts[0], Integer.parseInt(parts[1])));
ter.start();
return;
}
if (line == null) {
throw new Error("Server startup failed");
}
- ter = new TestEmailReciever(new InetSocketAddress("localhost", 8473));
+ ter = new TestEmailReceiver(new InetSocketAddress("localhost", 8473));
ter.start();
SimpleSigner.runSigner();
} catch (IOException e) {
ManagedTest.setAcceptLanguage(null);
}
- public static TestEmailReciever getMailReciever() {
+ public static TestEmailReceiver getMailReciever() {
return ter;
}
import org.cacert.gigi.email.EmailProvider;
-public final class TestEmailReciever extends EmailProvider implements Runnable {
+public final class TestEmailReceiver extends EmailProvider implements Runnable {
public class TestMail {
private DataOutputStream dos;
- public TestEmailReciever(SocketAddress target) throws IOException {
+ public TestEmailReceiver(SocketAddress target) throws IOException {
s = new Socket();
s.connect(target);
s.setKeepAlive(true);
new Thread(this, "Mail reciever").start();
}
- LinkedBlockingQueue<TestMail> mails = new LinkedBlockingQueue<TestEmailReciever.TestMail>();
+ LinkedBlockingQueue<TestMail> mails = new LinkedBlockingQueue<TestEmailReceiver.TestMail>();
/**
* Retrieves an outgoing mail from the system. The method will return a