org.jivesoftware.smack.util
Class XMPPErrorTest

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

public class XMPPErrorTest
extends SmackTestCase


Constructor Summary
XMPPErrorTest(java.lang.String arg0)
           
 
Method Summary
 void test404()
          Check the parser with an xml with the 404 error.
 void testCancel()
          Check the parser with an xml with the 404 error.
 void testCancelWithMessage()
          Check the parser with an xml with the 404 error.
 void testCancelWithMessageAndApplicationError()
          Check the parser with an xml with the 404 error.
 void testLocalErrorCreation()
          Check the creation of a new xmppError locally.
 void testLocalErrorWithCommentCreation()
          Check the creation of a new xmppError locally.
 void testMessageAndApplicationDefinedError()
           
 void testUserDefinedErrorWithCommentCreation()
          Check the creation of a new xmppError locally where there is not a default defined.
 
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

XMPPErrorTest

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

testLocalErrorCreation

public void testLocalErrorCreation()
Check the creation of a new xmppError locally.


testLocalErrorWithCommentCreation

public void testLocalErrorWithCommentCreation()
Check the creation of a new xmppError locally.


testUserDefinedErrorWithCommentCreation

public void testUserDefinedErrorWithCommentCreation()
Check the creation of a new xmppError locally where there is not a default defined.


test404

public void test404()
Check the parser with an xml with the 404 error.


testCancel

public void testCancel()
Check the parser with an xml with the 404 error.


testMessageAndApplicationDefinedError

public void testMessageAndApplicationDefinedError()

testCancelWithMessage

public void testCancelWithMessage()
Check the parser with an xml with the 404 error.


testCancelWithMessageAndApplicationError

public void testCancelWithMessageAndApplicationError()
Check the parser with an xml with the 404 error.