org.jivesoftware.smackx
Class ServiceDiscoveryManagerTest

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.ServiceDiscoveryManagerTest
All Implemented Interfaces:
junit.framework.Test

public class ServiceDiscoveryManagerTest
extends SmackTestCase

Tests the service discovery functionality.

Author:
Gaston Dombiak

Constructor Summary
ServiceDiscoveryManagerTest(java.lang.String arg0)
           
 
Method Summary
 void testDiscoverPublishItemsSupport()
          Tests support for publishing items to another entity.
 void testInfoWithNode()
          Tests that ensures that Smack answers a 404 error when the disco#info includes a node.
 void testSmackInfo()
          Tests info discovery of a Smack client.
 void testXHTMLFeature()
          Tests service discovery of XHTML support.
 
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

ServiceDiscoveryManagerTest

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

testSmackInfo

public void testSmackInfo()
Tests info discovery of a Smack client.


testInfoWithNode

public void testInfoWithNode()
Tests that ensures that Smack answers a 404 error when the disco#info includes a node.


testXHTMLFeature

public void testXHTMLFeature()
Tests service discovery of XHTML support.


testDiscoverPublishItemsSupport

public void testDiscoverPublishItemsSupport()
Tests support for publishing items to another entity.