mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 11:38:00 +01:00
Merge pull request #592 from guusdk/sint-versions-for-tests
[sinttest] Add versions for tests
This commit is contained in:
commit
a4eb5a7b01
27 changed files with 27 additions and 27 deletions
|
@ -54,7 +54,7 @@ import org.igniterealtime.smack.inttest.annotations.BeforeClass;
|
|||
import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
||||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
|
||||
@SpecificationReference(document = "XEP-0115")
|
||||
@SpecificationReference(document = "XEP-0115", version = "1.6.0")
|
||||
public class EntityCapsTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final EntityCapsManager ecmTwo;
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
|||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||
|
||||
@SpecificationReference(document = "XEP-0085")
|
||||
@SpecificationReference(document = "XEP-0085", version = "2.1")
|
||||
public class ChatStateIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
// Listener for composing chat state
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.igniterealtime.smack.inttest.SmackIntegrationTestEnvironment;
|
|||
import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
||||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
|
||||
@SpecificationReference(document = "XEP-0050")
|
||||
@SpecificationReference(document = "XEP-0050", version = "1.3.0")
|
||||
public class AdHocCommandIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
public AdHocCommandIntegrationTest(SmackIntegrationTestEnvironment environment) {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
|||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||
|
||||
@SpecificationReference(document = "XEP-0096")
|
||||
@SpecificationReference(document = "XEP-0096", version = "1.3.1")
|
||||
public class FileTransferIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private static final int MAX_FT_DURATION = 360;
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil;
|
|||
import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||
import org.jxmpp.util.XmppDateTime;
|
||||
|
||||
@SpecificationReference(document = "XEP-0080")
|
||||
@SpecificationReference(document = "XEP-0080", version = "1.9")
|
||||
public class GeolocationIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final GeoLocationManager glm1;
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.igniterealtime.smack.inttest.TestNotPossibleException;
|
|||
import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
||||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
|
||||
@SpecificationReference(document = "XEP-0363")
|
||||
@SpecificationReference(document = "XEP-0363", version = "0.4.0")
|
||||
public class HttpFileUploadIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private static final int FILE_SIZE = 1024 * 128;
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil;
|
|||
import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||
import org.jxmpp.jid.Jid;
|
||||
|
||||
@SpecificationReference(document = "XEP-0347")
|
||||
@SpecificationReference(document = "XEP-0347", version = "0.5.1")
|
||||
public class IoTControlIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final IoTControlManager IoTControlManagerOne;
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
|||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
import org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil;
|
||||
|
||||
@SpecificationReference(document = "XEP-0347")
|
||||
@SpecificationReference(document = "XEP-0347", version = "0.5.1")
|
||||
public class IoTDataIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final IoTDataManager iotDataManagerOne;
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
|||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
import org.jxmpp.jid.Jid;
|
||||
|
||||
@SpecificationReference(document = "XEP-0347")
|
||||
@SpecificationReference(document = "XEP-0347", version = "0.5.1")
|
||||
public class IoTDiscoveryIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final IoTDiscoveryManager discoveryManagerOne;
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.igniterealtime.smack.inttest.SmackIntegrationTestEnvironment;
|
|||
import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
||||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
|
||||
@SpecificationReference(document = "XEP-0092")
|
||||
@SpecificationReference(document = "XEP-0092", version = "1.1")
|
||||
public class VersionIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
public VersionIntegrationTest(SmackIntegrationTestEnvironment environment) {
|
||||
|
|
|
@ -46,7 +46,7 @@ import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
|||
import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||
import org.jxmpp.jid.EntityBareJid;
|
||||
|
||||
@SpecificationReference(document = "XEP-0313")
|
||||
@SpecificationReference(document = "XEP-0313", version = "0.6.3")
|
||||
public class MamIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final MamManager mamManagerConTwo;
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
|||
import org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil;
|
||||
import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||
|
||||
@SpecificationReference(document = "XEP-0107")
|
||||
@SpecificationReference(document = "XEP-0107", version = "1.2.1")
|
||||
public class MoodIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final MoodManager mm1;
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.jxmpp.jid.EntityBareJid;
|
|||
import org.jxmpp.jid.EntityFullJid;
|
||||
import org.jxmpp.jid.parts.Resourcepart;
|
||||
|
||||
@SpecificationReference(document = "XEP-0045")
|
||||
@SpecificationReference(document = "XEP-0045", version = "1.34.6")
|
||||
public class MultiUserChatEntityIntegrationTest extends AbstractMultiUserChatIntegrationTest {
|
||||
|
||||
public MultiUserChatEntityIntegrationTest(SmackIntegrationTestEnvironment environment)
|
||||
|
|
|
@ -45,7 +45,7 @@ import org.jxmpp.jid.EntityBareJid;
|
|||
import org.jxmpp.jid.parts.Resourcepart;
|
||||
import org.jxmpp.stringprep.XmppStringprepException;
|
||||
|
||||
@SpecificationReference(document = "XEP-0045")
|
||||
@SpecificationReference(document = "XEP-0045", version = "1.34.6")
|
||||
public class MultiUserChatIntegrationTest extends AbstractMultiUserChatIntegrationTest {
|
||||
|
||||
public MultiUserChatIntegrationTest(SmackIntegrationTestEnvironment environment)
|
||||
|
|
|
@ -39,7 +39,7 @@ import org.jxmpp.jid.impl.JidCreate;
|
|||
import org.jxmpp.jid.parts.Localpart;
|
||||
import org.jxmpp.jid.parts.Resourcepart;
|
||||
|
||||
@SpecificationReference(document = "XEP-0048")
|
||||
@SpecificationReference(document = "XEP-0048", version = "1.2")
|
||||
public class MultiUserChatLowLevelIntegrationTest extends AbstractSmackLowLevelIntegrationTest {
|
||||
|
||||
public MultiUserChatLowLevelIntegrationTest(SmackIntegrationTestEnvironment environment) throws Exception {
|
||||
|
|
|
@ -55,7 +55,7 @@ import org.jxmpp.jid.EntityFullJid;
|
|||
import org.jxmpp.jid.impl.JidCreate;
|
||||
import org.jxmpp.jid.parts.Resourcepart;
|
||||
|
||||
@SpecificationReference(document = "XEP-0045")
|
||||
@SpecificationReference(document = "XEP-0045", version = "1.34.6")
|
||||
public class MultiUserChatOccupantIntegrationTest extends AbstractMultiUserChatIntegrationTest {
|
||||
|
||||
public MultiUserChatOccupantIntegrationTest(SmackIntegrationTestEnvironment environment)
|
||||
|
|
|
@ -47,7 +47,7 @@ import org.jxmpp.jid.impl.JidCreate;
|
|||
import org.jxmpp.jid.parts.Resourcepart;
|
||||
|
||||
|
||||
@SpecificationReference(document = "XEP-0045")
|
||||
@SpecificationReference(document = "XEP-0045", version = "1.34.6")
|
||||
public class MultiUserChatRolesAffiliationsPrivilegesIntegrationTest extends AbstractMultiUserChatIntegrationTest{
|
||||
|
||||
public MultiUserChatRolesAffiliationsPrivilegesIntegrationTest(SmackIntegrationTestEnvironment environment)
|
||||
|
|
|
@ -36,7 +36,7 @@ import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
|||
* During this test Alice sends an encrypted message to Bob. Bob decrypts it and sends a response to Alice.
|
||||
* It is checked whether the messages can be decrypted, and if used up pre-keys result in renewed bundles.
|
||||
*/
|
||||
@SpecificationReference(document = "XEP-0384")
|
||||
@SpecificationReference(document = "XEP-0384", version = "0.3.0")
|
||||
public class MessageEncryptionIntegrationTest extends AbstractTwoUsersOmemoIntegrationTest {
|
||||
|
||||
public MessageEncryptionIntegrationTest(SmackIntegrationTestEnvironment environment)
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
|||
* 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.
|
||||
*/
|
||||
@SpecificationReference(document = "XEP-0384")
|
||||
@SpecificationReference(document = "XEP-0384", version = "0.3.0")
|
||||
public class OmemoMamDecryptionTest extends AbstractTwoUsersOmemoIntegrationTest {
|
||||
public OmemoMamDecryptionTest(SmackIntegrationTestEnvironment environment)
|
||||
throws XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException,
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.igniterealtime.smack.inttest.TestNotPossibleException;
|
|||
import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
||||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
|
||||
@SpecificationReference(document = "XEP-0384")
|
||||
@SpecificationReference(document = "XEP-0384", version = "0.3.0")
|
||||
public class ReadOnlyDeviceIntegrationTest extends AbstractTwoUsersOmemoIntegrationTest {
|
||||
|
||||
public ReadOnlyDeviceIntegrationTest(SmackIntegrationTestEnvironment environment) throws XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException, SmackException.NoResponseException, TestNotPossibleException {
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.igniterealtime.smack.inttest.TestNotPossibleException;
|
|||
import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
||||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
|
||||
@SpecificationReference(document = "XEP-0384")
|
||||
@SpecificationReference(document = "XEP-0384", version = "0.3.0")
|
||||
public class SessionRenegotiationIntegrationTest extends AbstractTwoUsersOmemoIntegrationTest {
|
||||
|
||||
public SessionRenegotiationIntegrationTest(SmackIntegrationTestEnvironment environment)
|
||||
|
|
|
@ -52,7 +52,7 @@ import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
|||
import org.pgpainless.key.OpenPgpV4Fingerprint;
|
||||
import org.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||
|
||||
@SpecificationReference(document = "XEP-0374")
|
||||
@SpecificationReference(document = "XEP-0374", version = "0.2.0")
|
||||
public class OXSecretKeyBackupIntegrationTest extends AbstractOpenPgpIntegrationTest {
|
||||
|
||||
private static final String sessionId = StringUtils.randomString(10);
|
||||
|
|
|
@ -45,7 +45,7 @@ import org.pgpainless.decryption_verification.OpenPgpMetadata;
|
|||
import org.pgpainless.key.OpenPgpV4Fingerprint;
|
||||
import org.pgpainless.key.protection.UnprotectedKeysProtector;
|
||||
|
||||
@SpecificationReference(document = "XEP-0374")
|
||||
@SpecificationReference(document = "XEP-0374", version = "0.2.0")
|
||||
public class OXInstantMessagingIntegrationTest extends AbstractOpenPgpIntegrationTest {
|
||||
|
||||
private static final String sessionId = StringUtils.randomString(10);
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
|||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
import org.jxmpp.jid.Jid;
|
||||
|
||||
@SpecificationReference(document = "XEP-0199")
|
||||
@SpecificationReference(document = "XEP-0199", version = "2.0.1")
|
||||
public class PingIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
public PingIntegrationTest(SmackIntegrationTestEnvironment environment) {
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
|||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
import org.jxmpp.jid.DomainBareJid;
|
||||
|
||||
@SpecificationReference(document = "XEP-0060")
|
||||
@SpecificationReference(document = "XEP-0060", version = "1.26.0")
|
||||
public class PubSubIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final PubSubManager pubSubManagerOne;
|
||||
|
|
|
@ -36,7 +36,7 @@ import org.igniterealtime.smack.inttest.annotations.SmackIntegrationTest;
|
|||
import org.igniterealtime.smack.inttest.annotations.SpecificationReference;
|
||||
import org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil;
|
||||
|
||||
@SpecificationReference(document = "XEP-0232")
|
||||
@SpecificationReference(document = "XEP-0232", version = "0.3")
|
||||
public class SoftwareInfoIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
public final SoftwareInfoManager sim1;
|
||||
|
|
|
@ -36,7 +36,7 @@ import org.igniterealtime.smack.inttest.util.IntegrationTestRosterUtil;
|
|||
import org.igniterealtime.smack.inttest.util.SimpleResultSyncPoint;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
|
||||
@SpecificationReference(document = "XEP-0118")
|
||||
@SpecificationReference(document = "XEP-0118", version = "1.3.0")
|
||||
public class UserTuneIntegrationTest extends AbstractSmackIntegrationTest {
|
||||
|
||||
private final UserTuneManager utm1;
|
||||
|
|
Loading…
Reference in a new issue