|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jivesoftware.smack.test.SmackTestCase
org.jivesoftware.smack.PresenceTest
public class PresenceTest
Ensure that the server is delivering messages to the correct client based on the client's presence priority.
| Constructor Summary | |
|---|---|
PresenceTest(java.lang.String arg0)
|
|
| Method Summary | |
|---|---|
void |
testMessageToHighestPriority()
Connection(0) will send messages to the bareJID of Connection(1) where the user of Connection(1) has logged from two different places with different presence priorities. |
void |
testMultipleResources()
User1 is connected from 2 resources. |
void |
testNotAvailablePresence()
User1 logs from 2 resources but only one is available. |
void |
testOfflineStatusPresence()
User1 logs in, then sets offline presence information (presence with status text). |
| Methods inherited from class org.jivesoftware.smack.test.SmackTestCase |
|---|
assertEquals |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, getName, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PresenceTest(java.lang.String arg0)
| Method Detail |
|---|
public void testMessageToHighestPriority()
public void testNotAvailablePresence()
throws XMPPException
XMPPException
public void testMultipleResources()
throws java.lang.Exception
java.lang.Exception
public void testOfflineStatusPresence()
throws java.lang.Exception
java.lang.Exception - if an exception occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||