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