mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Rename PEP to Pep
This commit is contained in:
parent
4b3f757ed9
commit
4d4f92ba86
6 changed files with 44 additions and 44 deletions
|
@ -20,7 +20,7 @@ import org.jivesoftware.smack.SmackException;
|
|||
import org.jivesoftware.smack.XMPPConnection;
|
||||
import org.jivesoftware.smack.XMPPException;
|
||||
import org.jivesoftware.smackx.ox.util.OpenPgpPubSubUtil;
|
||||
import org.jivesoftware.smackx.pep.PEPManager;
|
||||
import org.jivesoftware.smackx.pep.PepManager;
|
||||
|
||||
import org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest;
|
||||
import org.igniterealtime.smack.inttest.SmackIntegrationTestEnvironment;
|
||||
|
@ -37,9 +37,9 @@ public abstract class AbstractOpenPgpIntegrationTest extends AbstractSmackIntegr
|
|||
protected final BareJid bob;
|
||||
protected final BareJid chloe;
|
||||
|
||||
protected final PEPManager alicePepManager;
|
||||
protected final PEPManager bobPepManager;
|
||||
protected final PEPManager chloePepManager;
|
||||
protected final PepManager alicePepManager;
|
||||
protected final PepManager bobPepManager;
|
||||
protected final PepManager chloePepManager;
|
||||
|
||||
protected AbstractOpenPgpIntegrationTest(SmackIntegrationTestEnvironment environment)
|
||||
throws XMPPException.XMPPErrorException, TestNotPossibleException, SmackException.NotConnectedException,
|
||||
|
@ -58,9 +58,9 @@ public abstract class AbstractOpenPgpIntegrationTest extends AbstractSmackIntegr
|
|||
this.bob = bobConnection.getUser().asBareJid();
|
||||
this.chloe = chloeConnection.getUser().asBareJid();
|
||||
|
||||
this.alicePepManager = PEPManager.getInstanceFor(aliceConnection);
|
||||
this.bobPepManager = PEPManager.getInstanceFor(bobConnection);
|
||||
this.chloePepManager = PEPManager.getInstanceFor(chloeConnection);
|
||||
this.alicePepManager = PepManager.getInstanceFor(aliceConnection);
|
||||
this.bobPepManager = PepManager.getInstanceFor(bobConnection);
|
||||
this.chloePepManager = PepManager.getInstanceFor(chloeConnection);
|
||||
|
||||
OpenPgpPubSubUtil.deletePubkeysListNode(alicePepManager);
|
||||
OpenPgpPubSubUtil.deletePubkeysListNode(bobPepManager);
|
||||
|
@ -70,7 +70,7 @@ public abstract class AbstractOpenPgpIntegrationTest extends AbstractSmackIntegr
|
|||
private static void throwIfPubSubNotSupported(XMPPConnection connection)
|
||||
throws XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException,
|
||||
SmackException.NoResponseException, TestNotPossibleException {
|
||||
if (!PEPManager.getInstanceFor(connection).isSupported()) {
|
||||
if (!PepManager.getInstanceFor(connection).isSupported()) {
|
||||
throw new TestNotPossibleException("Server " + connection.getXMPPServiceDomain().toString() +
|
||||
" does not support PEP.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue