org.jivesoftware.smackx
Class LastActivityManagerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jivesoftware.smack.test.SmackTestCase
              extended by org.jivesoftware.smackx.LastActivityManagerTest
All Implemented Interfaces:
junit.framework.Test

public class LastActivityManagerTest
extends SmackTestCase


Constructor Summary
LastActivityManagerTest(java.lang.String name)
           
 
Method Summary
 void testLastLoggedOut()
          This is a test to check if a LastActivity request for last logged out lapsed time is answered and correct
 void testOnline()
          This is a test to check if a LastActivity request for idle time is answered and correct.
 void testOnlinePermisionDenied()
          This is a test to check if a denied LastActivity response is handled correctly.
 void testServerUptime()
          This is a test to check if a LastActivity request for server uptime is answered and correct
 
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

LastActivityManagerTest

public LastActivityManagerTest(java.lang.String name)
Method Detail

testOnline

public void testOnline()
This is a test to check if a LastActivity request for idle time is answered and correct.


testOnlinePermisionDenied

public void testOnlinePermisionDenied()
This is a test to check if a denied LastActivity response is handled correctly.


testLastLoggedOut

public void testLastLoggedOut()
This is a test to check if a LastActivity request for last logged out lapsed time is answered and correct


testServerUptime

public void testServerUptime()
This is a test to check if a LastActivity request for server uptime is answered and correct