|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmpp.packet.JIDCreationNodeTest
public class JIDCreationNodeTest
Tests compliance of JID with the restrictions defined in RFC-3920 for
the node identifier.
| Field Summary | |
|---|---|
static java.lang.String |
DOMAIN
A domain identifier that's RFC 3920 valid. |
static java.lang.String |
RESOURCE
A resource identifier that's RFC 3920 valid. |
| Constructor Summary | |
|---|---|
JIDCreationNodeTest()
|
|
| Method Summary | |
|---|---|
void |
testMaximumSize()
The maximum size of the node identifier is 1023 bytes (note: bytes, not characters!). |
void |
testOptionality()
Node identifiers are an optional part of a JID. |
void |
testOverMaximumSize()
The maximum size of the node identifier is 1023 bytes (note: bytes, not characters!). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DOMAIN
public static final java.lang.String RESOURCE
| Constructor Detail |
|---|
public JIDCreationNodeTest()
| Method Detail |
|---|
public void testOptionality()
throws java.lang.Exception
java.lang.Exception
public void testMaximumSize()
throws java.lang.Exception
java.lang.Exception
public void testOverMaximumSize()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||