|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmpp.packet.JIDCreationResourceTest
public class JIDCreationResourceTest
Tests compliance of JID with the restrictions defined in RFC-3920 for
the resource identifier.
| Field Summary | |
|---|---|
static java.lang.String |
DOMAIN
A domain identifier that's RFC 3920 valid. |
static java.lang.String |
NODE
A node identifier that's RFC 3920 valid. |
| Constructor Summary | |
|---|---|
JIDCreationResourceTest()
|
|
| Method Summary | |
|---|---|
void |
testMaximumSize()
The maximum size of the resource identifier is 1023 bytes (note: bytes, not characters!). |
void |
testOptionality()
Resource identifiers are an optional part of a JID. |
void |
testOverMaximumSize()
The maximum size of the resource 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 NODE
public static final java.lang.String DOMAIN
| Constructor Detail |
|---|
public JIDCreationResourceTest()
| 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 | |||||||||