]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/ManagedTest.java
upd: replace assure, assurance, assurer etc in output to user
[gigi.git] / tests / org / cacert / gigi / testUtils / ManagedTest.java
index 1ea49cf404672be28a59b0175a91f36cc1cafe85..036adc92003fd53745e7b865c7f5f72035c4d0db 100644 (file)
@@ -157,7 +157,7 @@ public class ManagedTest extends ConfiguredTest {
 
     }
 
-    protected void await(Job j) throws InterruptedException {
+    protected static void await(Job j) throws InterruptedException {
         SimpleSigner.ping();
         j.waitFor(5000);
     }
@@ -215,7 +215,7 @@ public class ManagedTest extends ConfiguredTest {
     }
 
     @Override
-    public MailReceiver getMailReciever() {
+    public MailReceiver getMailReceiver() {
         return ter;
     }
 
@@ -297,8 +297,8 @@ public class ManagedTest extends ConfiguredTest {
     }
 
     /**
-     * Creates a new user with 100 Assurance points given by an (invalid)
-     * assurance.
+     * Creates a new user with 100 Verification Points given by an (invalid)
+     * verification.
      * 
      * @param firstName
      *            the first name
@@ -469,11 +469,11 @@ public class ManagedTest extends ConfiguredTest {
 
     public EmailAddress createVerifiedEmail(User u) throws InterruptedException, GigiApiException {
         EmailAddress adrr = new EmailAddress(u, createUniqueName() + "test@test.tld", Locale.ENGLISH);
-        TestMail testMail = getMailReciever().receive();
+        TestMail testMail = getMailReceiver().receive();
         assertEquals(adrr.getAddress(), testMail.getTo());
         String hash = testMail.extractLink().substring(testMail.extractLink().lastIndexOf('=') + 1);
         adrr.verify(hash);
-        getMailReciever().clearMails();
+        getMailReceiver().clearMails();
         return adrr;
     }