org.jivesoftware.smack.packet
Class PrivacyTest

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

public class PrivacyTest
extends SmackTestCase


Nested Class Summary
 class PrivacyTest.PrivacyClient
          This class supports automated tests about privacy communication from the server to the client.
 
Constructor Summary
PrivacyTest(java.lang.String arg0)
           
 
Method Summary
 void testCreateActiveList()
          Check when a client set a new active list.
 void testCreateAndUpdateList()
          Check when a client set a new list and then update its content.
 void testCreateDefaultList()
          Check when a client set a new default list.
 void testCreateTwoLists()
          Check when a client set more than one list.
 void testDenyActiveList()
          Check when a client denies the use of the active list.
 void testDenyDefaultList()
          Check when a client denies the use of a default list.
 void testPrivacyItems()
          Check different types of privacy items.
 void testRemoveList()
          Check when a client add a new list and then remove it.
 
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

PrivacyTest

public PrivacyTest(java.lang.String arg0)
Method Detail

testCreateActiveList

public void testCreateActiveList()
Check when a client set a new active list.


testCreateTwoLists

public void testCreateTwoLists()
Check when a client set more than one list.


testCreateAndUpdateList

public void testCreateAndUpdateList()
Check when a client set a new list and then update its content.


testDenyDefaultList

public void testDenyDefaultList()
Check when a client denies the use of a default list.


testDenyActiveList

public void testDenyActiveList()
Check when a client denies the use of the active list.


testCreateDefaultList

public void testCreateDefaultList()
Check when a client set a new default list.


testRemoveList

public void testRemoveList()
Check when a client add a new list and then remove it.


testPrivacyItems

public void testPrivacyItems()
Check different types of privacy items.