| java.lang.Object com.sun.midp.i3test.TestCase javax.microedition.sip.SipHeaderBaseTest javax.microedition.sip.TestToHeader
TestToHeader | public class TestToHeader extends SipHeaderBaseTest (Code) | | RFC3261, p. 178
The To header field specifies the logical recipient of the request.
The optional "display-name" is meant to be rendered by a human-user
interface. The "tag" parameter serves as a general mechanism for
dialog identification.
See Section 19.3 for details of the "tag" parameter.
Comparison of To header fields for equality is identical to
comparison of From header fields. See Section 20.10 for the rules
for parsing a display name, URI and URI parameters, and header field
parameters.
The compact form of the To header field is t.
The following are examples of valid To header fields:
To: The Operator ;tag=287447
t: sip:+12125551212@server.phone2net.com
|
Method Summary | |
void | Test1() Body of the test 1. | void | Test2() Body of the test 2. | void | Test4() Body of the test 4. | void | Test5() Body of the test 5. | public void | runTests() |
Test1 | void Test1()(Code) | | Body of the test 1.
Test for To header field: setName()/getName().
|
Test2 | void Test2()(Code) | | Body of the test 2.
Test for To header field: getValue()/getHeaderValue().
|
Test4 | void Test4()(Code) | | Body of the test 4.
Test for To header field: getParameterNames()/getParameter().
|
Test5 | void Test5()(Code) | | Body of the test 5.
Test for To header field: setParameter()/removeParameter().
|
runTests | public void runTests()(Code) | | Run the tests
|
Methods inherited from com.sun.midp.i3test.TestCase | public void assertEquals(Object expected, Object actual)(Code)(Java Doc) public void assertEquals(String message, Object expected, Object actual)(Code)(Java Doc) public void assertEquals(int expected, int actual)(Code)(Java Doc) public void assertEquals(String message, int expected, int actual)(Code)(Java Doc) public void assertFalse(boolean condition)(Code)(Java Doc) public void assertFalse(String message, boolean condition)(Code)(Java Doc) public void assertNotNull(Object object)(Code)(Java Doc) public void assertNotNull(String message, Object object)(Code)(Java Doc) public void assertNotSame(Object expected, Object actual)(Code)(Java Doc) public void assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertNull(Object object)(Code)(Java Doc) public void assertNull(String message, Object object)(Code)(Java Doc) public void assertSame(Object expected, Object actual)(Code)(Java Doc) public void assertSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertTrue(String message, boolean condition)(Code)(Java Doc) public void assertTrue(boolean condition)(Code)(Java Doc) public void declare(String testName)(Code)(Java Doc) public void fail()(Code)(Java Doc) public void fail(String message)(Code)(Java Doc) protected SecurityToken getSecurityToken()(Code)(Java Doc) protected boolean getVerbose()(Code)(Java Doc) public void info(String s)(Code)(Java Doc) abstract public void runTests() throws Throwable(Code)(Java Doc)
|
|
|