Package org.jivesoftware.smackx.omemo
Class AbstractTwoUsersOmemoIntegrationTest
java.lang.Object
org.igniterealtime.smack.inttest.AbstractSmackIntTest
org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
org.jivesoftware.smackx.omemo.AbstractOmemoIntegrationTest
org.jivesoftware.smackx.omemo.AbstractTwoUsersOmemoIntegrationTest
- Direct Known Subclasses:
MessageEncryptionIntegrationTest
,OmemoMamDecryptionTest
,ReadOnlyDeviceIntegrationTest
,SessionRenegotiationIntegrationTest
Abstract OMEMO integration test framing, which creates and initializes two OmemoManagers (for conOne and conTwo).
Both users subscribe to one another and trust their identities.
After the test traces in PubSub and in the users Rosters are removed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
AbstractSmackIntTest.Condition
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.jivesoftware.smackx.omemo.OmemoManager
protected org.jivesoftware.smackx.omemo.OmemoManager
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
connection, connections, conOne, conThree, conTwo
Fields inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
INSECURE_RANDOM, LOGGER, sinttestConfiguration, testRunId, timeout
-
Constructor Summary
ConstructorDescription -
Method Summary
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntegrationTest
performActionAndWaitForPresence
Methods inherited from class org.igniterealtime.smack.inttest.AbstractSmackIntTest
assertResult, assertResult, assertResult, assertResult, createNewTempFile, getHttpUrlConnectionFor, performActionAndWaitUntilStanzaReceived, waitUntilTrue
-
Field Details
-
alice
protected org.jivesoftware.smackx.omemo.OmemoManager alice -
bob
protected org.jivesoftware.smackx.omemo.OmemoManager bob
-
-
Constructor Details
-
AbstractTwoUsersOmemoIntegrationTest
public AbstractTwoUsersOmemoIntegrationTest(SmackIntegrationTestEnvironment environment) throws org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, TestNotPossibleException - Throws:
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NotConnectedException
InterruptedException
org.jivesoftware.smack.SmackException.NoResponseException
TestNotPossibleException
-
-
Method Details
-
setup
- Throws:
Exception
-
cleanUp
@AfterClass public void cleanUp() throws IOException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException- Throws:
IOException
org.jivesoftware.smack.SmackException.NotConnectedException
InterruptedException
-