Class OmemoMamDecryptionTest


  • public class OmemoMamDecryptionTest
    extends AbstractTwoUsersOmemoIntegrationTest
    This test sends a message from Alice to Bob, while Bob has automatic decryption disabled. Then Bob fetches his Mam archive and decrypts the result.
    • Constructor Detail

      • OmemoMamDecryptionTest

        public OmemoMamDecryptionTest​(SmackIntegrationTestEnvironment environment)
                               throws org.jivesoftware.smack.XMPPException.XMPPErrorException,
                                      org.jivesoftware.smack.SmackException.NotConnectedException,
                                      java.lang.InterruptedException,
                                      org.jivesoftware.smack.SmackException.NoResponseException,
                                      TestNotPossibleException
        Throws:
        org.jivesoftware.smack.XMPPException.XMPPErrorException
        org.jivesoftware.smack.SmackException.NotConnectedException
        java.lang.InterruptedException
        org.jivesoftware.smack.SmackException.NoResponseException
        TestNotPossibleException
    • Method Detail

      • mamDecryptionTest

        @SmackIntegrationTest
        public void mamDecryptionTest()
                               throws org.jivesoftware.smack.XMPPException.XMPPErrorException,
                                      org.jivesoftware.smack.SmackException.NotLoggedInException,
                                      org.jivesoftware.smack.SmackException.NotConnectedException,
                                      java.lang.InterruptedException,
                                      org.jivesoftware.smack.SmackException.NoResponseException,
                                      org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException,
                                      org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException,
                                      java.io.IOException
        Throws:
        org.jivesoftware.smack.XMPPException.XMPPErrorException
        org.jivesoftware.smack.SmackException.NotLoggedInException
        org.jivesoftware.smack.SmackException.NotConnectedException
        java.lang.InterruptedException
        org.jivesoftware.smack.SmackException.NoResponseException
        org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException
        org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
        java.io.IOException