|
||||||||||
| 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.MessageTest
public class MessageTest
Tests sending messages to other clients.
| Constructor Summary | |
|---|---|
MessageTest(java.lang.String arg0)
|
|
| Method Summary | |
|---|---|
void |
testDirectPresence()
Will a user recieve a message from another after only sending the user a directed presence, or will Wildfire intercept for offline storage? User1 becomes lines. |
void |
testHighestPriority()
User0 is connected from 2 resources. |
void |
testHighestShow()
User0 is connected from 2 resources. |
void |
testHugeMessage()
Check that two clients are able to send messages with a body of 4K characters and their connections are not being closed. |
void |
testMostRecentActive()
User0 is connected from 2 resources. |
void |
testOfflineMessage()
Check that when a client becomes unavailable all messages sent to the client are stored offline. |
void |
testOfflineStorageWithNegativePriority()
User0 is connected from 1 resource with a negative priority presence. |
| 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 MessageTest(java.lang.String arg0)
| Method Detail |
|---|
public void testDirectPresence()
public void testOfflineMessage()
public void testHugeMessage()
public void testHighestPriority()
throws java.lang.Exception
java.lang.Exception - if an error occurs.
public void testHighestShow()
throws java.lang.Exception
java.lang.Exception - if an error occurs.
public void testMostRecentActive()
throws java.lang.Exception
java.lang.Exception - if an error occurs.
public void testOfflineStorageWithNegativePriority()
throws java.lang.Exception
java.lang.Exception - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||