| java.lang.Object com.sun.midp.i3test.TestCase javax.microedition.sip.TestPrack
clientMsg | String clientMsg(Code) | | SIP request message from client to server
|
done | boolean done(Code) | | Boolean flag to indicate that test was successful
|
serverMsg | String serverMsg(Code) | | SIP response message from server to client
|
cleanup | void cleanup()(Code) | | Close all connections.
|
notifyRequest | public void notifyRequest(SipConnectionNotifier scnLocal)(Code) | | Accept a new connection request and process the request from client.
Send "OK" to client
This method is declared in SipServerConnectionListener
Parameters: scnLocal - Local SIP connection notifier |
notifyResponse | public void notifyResponse(SipClientConnection sccLocal)(Code) | | Received the response from user agent server
This method is declared in SipClientConnectionListener
Parameters: sccLocal - Local SIP Client (UAC) |
runTests | public void runTests()(Code) | | Tests execute.
|
setup | void setup()(Code) | | Open the connection and start the thread to call the run
method. It waits until the InputStream is open before returning.
|
testPrack | public void testPrack()(Code) | | Send a SIP message from user agent client to user agent server
SipConnectionNotifier queues the incoming requests if the
instance of SipServerConnection is not available yet
|
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)
|
|
|