1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +01:00

Merge pull request #610 from guusdk/sint-abstract-muc-contract-change

[sint] Correct for recent API change
This commit is contained in:
Florian Schmaus 2024-07-16 06:29:03 +00:00 committed by GitHub
commit 854f847db3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -28,6 +28,7 @@ import org.jxmpp.jid.EntityBareJid;
import org.jxmpp.jid.EntityFullJid; import org.jxmpp.jid.EntityFullJid;
import org.jxmpp.jid.impl.JidCreate; import org.jxmpp.jid.impl.JidCreate;
import org.jxmpp.jid.parts.Resourcepart; import org.jxmpp.jid.parts.Resourcepart;
import org.jxmpp.stringprep.XmppStringprepException;
/** /**
* Tests that verify the correct functionality of Smack's {@link ParticipantStatusListener}. * Tests that verify the correct functionality of Smack's {@link ParticipantStatusListener}.
@ -35,7 +36,7 @@ import org.jxmpp.jid.parts.Resourcepart;
@SpecificationReference(document = "XEP-0045", version = "1.34.6") @SpecificationReference(document = "XEP-0045", version = "1.34.6")
public class ParticipantStatusIntegrationTest extends AbstractMultiUserChatIntegrationTest { public class ParticipantStatusIntegrationTest extends AbstractMultiUserChatIntegrationTest {
public ParticipantStatusIntegrationTest(SmackIntegrationTestEnvironment environment) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException, TestNotPossibleException { public ParticipantStatusIntegrationTest(SmackIntegrationTestEnvironment environment) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException, TestNotPossibleException, MultiUserChatException.MucAlreadyJoinedException, MultiUserChatException.MissingMucCreationAcknowledgeException, XmppStringprepException, MultiUserChatException.NotAMucServiceException {
super(environment); super(environment);
} }

View file

@ -30,6 +30,7 @@ import org.jxmpp.jid.EntityBareJid;
import org.jxmpp.jid.EntityFullJid; import org.jxmpp.jid.EntityFullJid;
import org.jxmpp.jid.impl.JidCreate; import org.jxmpp.jid.impl.JidCreate;
import org.jxmpp.jid.parts.Resourcepart; import org.jxmpp.jid.parts.Resourcepart;
import org.jxmpp.stringprep.XmppStringprepException;
/** /**
* Tests that verify the correct functionality of Smack's {@link UserStatusListener}. * Tests that verify the correct functionality of Smack's {@link UserStatusListener}.
@ -37,7 +38,7 @@ import org.jxmpp.jid.parts.Resourcepart;
@SpecificationReference(document = "XEP-0045", version = "1.34.6") @SpecificationReference(document = "XEP-0045", version = "1.34.6")
public class UserStatusIntegrationTest extends AbstractMultiUserChatIntegrationTest { public class UserStatusIntegrationTest extends AbstractMultiUserChatIntegrationTest {
public UserStatusIntegrationTest(SmackIntegrationTestEnvironment environment) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException, TestNotPossibleException { public UserStatusIntegrationTest(SmackIntegrationTestEnvironment environment) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException, TestNotPossibleException, MultiUserChatException.MucAlreadyJoinedException, MultiUserChatException.MissingMucCreationAcknowledgeException, XmppStringprepException, MultiUserChatException.NotAMucServiceException {
super(environment); super(environment);
} }