1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

s/XMPPConnection/TCPConnection

This commit is contained in:
Florian Schmaus 2014-03-02 15:23:54 +01:00
parent 07649cc758
commit 84a3fd7bd9
25 changed files with 114 additions and 114 deletions

View file

@ -17,7 +17,7 @@
package org.jivesoftware.smackx;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smack.TCPConnection;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smack.test.SmackTestCase;
@ -30,8 +30,8 @@ public class LastActivityManagerTest extends SmackTestCase {
* answered and correct.
*/
public void testOnline() {
XMPPConnection conn0 = getConnection(0);
XMPPConnection conn1 = getConnection(1);
TCPConnection conn0 = getConnection(0);
TCPConnection conn1 = getConnection(1);
// Send a message as the last activity action from connection 1 to
// connection 0
@ -65,8 +65,8 @@ public class LastActivityManagerTest extends SmackTestCase {
* This is a test to check if a denied LastActivity response is handled correctly.
*/
public void testOnlinePermisionDenied() {
XMPPConnection conn0 = getConnection(0);
XMPPConnection conn2 = getConnection(2);
TCPConnection conn0 = getConnection(0);
TCPConnection conn2 = getConnection(2);
// Send a message as the last activity action from connection 2 to
// connection 0
@ -95,7 +95,7 @@ public class LastActivityManagerTest extends SmackTestCase {
* lapsed time is answered and correct
*/
public void testLastLoggedOut() {
XMPPConnection conn0 = getConnection(0);
TCPConnection conn0 = getConnection(0);
LastActivity lastActivity = null;
try {
@ -115,7 +115,7 @@ public class LastActivityManagerTest extends SmackTestCase {
* is answered and correct
*/
public void testServerUptime() {
XMPPConnection conn0 = getConnection(0);
TCPConnection conn0 = getConnection(0);
LastActivity lastActivity = null;
try {