mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 02:39:42 +02:00
s/ a XMPP/ an XMPP/
This commit is contained in:
parent
a927d55bb1
commit
57c1b57b7c
32 changed files with 53 additions and 53 deletions
|
@ -37,7 +37,7 @@ public class MessageEventManagerTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* High level API test.
|
||||
* This is a simple test to use with a XMPP client and check if the client receives the
|
||||
* This is a simple test to use with an XMPP client and check if the client receives the
|
||||
* message
|
||||
* 1. User_1 will send a message to user_2 requesting to be notified when any of these events
|
||||
* occurs: offline, composing, displayed or delivered
|
||||
|
@ -64,11 +64,11 @@ public class MessageEventManagerTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* High level API test.
|
||||
* This is a simple test to use with a XMPP client, check if the client receives the
|
||||
* This is a simple test to use with an XMPP client, check if the client receives the
|
||||
* message and display in the console any notification
|
||||
* 1. User_1 will send a message to user_2 requesting to be notified when any of these events
|
||||
* occurs: offline, composing, displayed or delivered
|
||||
* 2. User_2 will use a XMPP client (like Exodus) to display the message and compose a reply
|
||||
* 2. User_2 will use an XMPP client (like Exodus) to display the message and compose a reply
|
||||
* 3. User_1 will display any notification that receives
|
||||
*/
|
||||
public void testSendMessageEventRequestAndDisplayNotifications() {
|
||||
|
|
|
@ -43,7 +43,7 @@ public class RosterExchangeManagerTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* High level API test.
|
||||
* This is a simple test to use with a XMPP client and check if the client receives user1's
|
||||
* This is a simple test to use with an XMPP client and check if the client receives user1's
|
||||
* roster
|
||||
* 1. User_1 will send his/her roster to user_2
|
||||
*/
|
||||
|
@ -62,7 +62,7 @@ public class RosterExchangeManagerTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* High level API test.
|
||||
* This is a simple test to use with a XMPP client and check if the client receives user1's
|
||||
* This is a simple test to use with an XMPP client and check if the client receives user1's
|
||||
* roster groups
|
||||
* 1. User_1 will send his/her RosterGroups to user_2
|
||||
*/
|
||||
|
|
|
@ -44,7 +44,7 @@ public class XHTMLManagerTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* High level API test.
|
||||
* This is a simple test to use with a XMPP client and check if the client receives the message
|
||||
* This is a simple test to use with an XMPP client and check if the client receives the message
|
||||
* 1. User_1 will send a message with formatted text (XHTML) to user_2
|
||||
*/
|
||||
public void testSendSimpleXHTMLMessage() {
|
||||
|
|
|
@ -36,7 +36,7 @@ public class MessageEventTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* Low level API test.
|
||||
* This is a simple test to use with a XMPP client and check if the client receives the
|
||||
* This is a simple test to use with an XMPP client and check if the client receives the
|
||||
* message
|
||||
* 1. User_1 will send a message to user_2 requesting to be notified when any of these events
|
||||
* occurs: offline, composing, displayed or delivered
|
||||
|
@ -70,11 +70,11 @@ public class MessageEventTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* Low level API test.
|
||||
* This is a simple test to use with a XMPP client, check if the client receives the
|
||||
* This is a simple test to use with an XMPP client, check if the client receives the
|
||||
* message and display in the console any notification
|
||||
* 1. User_1 will send a message to user_2 requesting to be notified when any of these events
|
||||
* occurs: offline, composing, displayed or delivered
|
||||
* 2. User_2 will use a XMPP client (like Exodus) to display the message and compose a reply
|
||||
* 2. User_2 will use an XMPP client (like Exodus) to display the message and compose a reply
|
||||
* 3. User_1 will display any notification that receives
|
||||
*/
|
||||
public void testSendMessageEventRequestAndDisplayNotifications() {
|
||||
|
|
|
@ -38,7 +38,7 @@ public class RosterExchangeTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* Low level API test.
|
||||
* This is a simple test to use with a XMPP client and check if the client receives the message
|
||||
* This is a simple test to use with an XMPP client and check if the client receives the message
|
||||
* 1. User_1 will send his/her roster entries to user_2
|
||||
*/
|
||||
public void testSendRosterEntries() {
|
||||
|
|
|
@ -45,7 +45,7 @@ public class XHTMLExtensionTest extends SmackTestCase {
|
|||
|
||||
/**
|
||||
* Low level API test.
|
||||
* This is a simple test to use with a XMPP client and check if the client receives the message
|
||||
* This is a simple test to use with an XMPP client and check if the client receives the message
|
||||
* 1. User_1 will send a message with formatted text (XHTML) to user_2
|
||||
*/
|
||||
public void testSendSimpleXHTMLMessage() {
|
||||
|
|
|
@ -692,7 +692,7 @@ public final class Socks5BytestreamManager implements BytestreamManager {
|
|||
}
|
||||
|
||||
/**
|
||||
* Responses to the given packet's sender with a XMPP error that a SOCKS5 Bytestream is not
|
||||
* Responses to the given packet's sender with an XMPP error that a SOCKS5 Bytestream is not
|
||||
* accepted.
|
||||
* <p>
|
||||
* Specified in XEP-65 5.3.1 (Example 13)
|
||||
|
|
|
@ -99,7 +99,7 @@ class Socks5ClientForInitiator extends Socks5Client {
|
|||
}
|
||||
|
||||
/**
|
||||
* Activates the SOCKS5 Bytestream by sending a XMPP SOCKS5 Bytestream activation packet to the
|
||||
* Activates the SOCKS5 Bytestream by sending an XMPP SOCKS5 Bytestream activation packet to the
|
||||
* SOCKS5 proxy.
|
||||
* @throws XMPPErrorException
|
||||
* @throws NoResponseException
|
||||
|
|
|
@ -53,7 +53,7 @@ import org.jivesoftware.smackx.xdata.Form;
|
|||
* An AdHocCommandManager is responsible for keeping the list of available
|
||||
* commands offered by a service and for processing commands requests.
|
||||
*
|
||||
* Pass in a XMPPConnection instance to
|
||||
* Pass in an XMPPConnection instance to
|
||||
* {@link #getAddHocCommandsManager(org.jivesoftware.smack.XMPPConnection)} in order to
|
||||
* get an instance of this class.
|
||||
*
|
||||
|
@ -70,7 +70,7 @@ public class AdHocCommandManager extends Manager {
|
|||
private static final int SESSION_TIMEOUT = 2 * 60;
|
||||
|
||||
/**
|
||||
* Map a XMPPConnection with it AdHocCommandManager. This map have a key-value
|
||||
* Map an XMPPConnection with it AdHocCommandManager. This map have a key-value
|
||||
* pair for every active connection.
|
||||
*/
|
||||
private static Map<XMPPConnection, AdHocCommandManager> instances = new WeakHashMap<>();
|
||||
|
|
|
@ -72,7 +72,7 @@ public class AccountManager extends Manager {
|
|||
/**
|
||||
* Creates a new AccountManager instance.
|
||||
*
|
||||
* @param connection a connection to a XMPP server.
|
||||
* @param connection a connection to an XMPP server.
|
||||
*/
|
||||
private AccountManager(XMPPConnection connection) {
|
||||
super(connection);
|
||||
|
|
|
@ -70,7 +70,7 @@ public class PEPManager {
|
|||
/**
|
||||
* Creates a new PEP exchange manager.
|
||||
*
|
||||
* @param connection a XMPPConnection which is used to send and receive messages.
|
||||
* @param connection an XMPPConnection which is used to send and receive messages.
|
||||
*/
|
||||
public PEPManager(XMPPConnection connection) {
|
||||
this.connection = connection;
|
||||
|
|
|
@ -35,7 +35,7 @@ public class Ping extends SimpleIQ {
|
|||
}
|
||||
|
||||
/**
|
||||
* Create a XMPP Pong for this Ping
|
||||
* Create an XMPP Pong for this Ping
|
||||
*
|
||||
* @return the Pong
|
||||
*/
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.jivesoftware.smack.packet.Stanza;
|
|||
/**
|
||||
* This class can be used in conjunction with a mocked XMPP connection (
|
||||
* {@link ConnectionUtils#createMockedConnection(Protocol, String, String)}) to
|
||||
* verify a XMPP protocol. This can be accomplished in the following was:
|
||||
* verify an XMPP protocol. This can be accomplished in the following was:
|
||||
* <ul>
|
||||
* <li>add responses to packets sent over the mocked XMPP connection by the
|
||||
* method to test in the order the tested method awaits them</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue