| test.tck.TestHarness test.tck.msgflow.MessageFlowHarness test.tck.msgflow.SipProviderTest
SipProviderTest | public class SipProviderTest extends MessageFlowHarness (Code) | | Title: TCK
Description: JAIN SIP 1.1 Technology Compatibility Kit
Copyright: Copyright (c) 2003
Company: NIST
author: Emil Ivov author: Network Research Team, Louis Pasteur University, Strasbourg, France. author: This code is in the public domain. version: 1.0 |
Method Summary | |
public static Test | suite() | public void | testGetNewClientTransaction() Test whether new ClientTransactions are properly created. | public void | testGetNewServerTransaction() Sends a request from the RI and tests whether the tested implementation
properly creates a ServerTransaction. | public void | testReceiveACK() | public void | testReceiveRequest() | public void | testReceiveResponse() Sends a request from the TI, generates a response at the RI side, sends
it back and checks whether it arrives at the TI. | public void | testSendNullRequest() Sends a empty request and assures that the other side does not see the request. | public void | testSendRequest() Sends a single invite request and checks whether it arrives normally
at the other end. | public void | testSendResponse() Sends a request from the RI, generates a response at the TI side, sends
it back and checks whether it arrives at the RI. |
suite | public static Test suite()(Code) | | |
testGetNewClientTransaction | public void testGetNewClientTransaction()(Code) | | Test whether new ClientTransactions are properly created.
|
testGetNewServerTransaction | public void testGetNewServerTransaction()(Code) | | Sends a request from the RI and tests whether the tested implementation
properly creates a ServerTransaction.
|
testReceiveACK | public void testReceiveACK()(Code) | | Sends a single ACK request from the RI, and tests if the TI passes it to the
application
ACKs MUST NOT be filtered for stateless proxy applications, they must forward them
|
testReceiveRequest | public void testReceiveRequest()(Code) | | Send a simple invite request from the RI and check whether it is properly
delivered by the TI SipProvider
|
testReceiveResponse | public void testReceiveResponse()(Code) | | Sends a request from the TI, generates a response at the RI side, sends
it back and checks whether it arrives at the TI.
|
testSendNullRequest | public void testSendNullRequest()(Code) | | Sends a empty request and assures that the other side does not see the request.
|
testSendRequest | public void testSendRequest()(Code) | | Sends a single invite request and checks whether it arrives normally
at the other end.
|
testSendResponse | public void testSendResponse()(Code) | | Sends a request from the RI, generates a response at the TI side, sends
it back and checks whether it arrives at the RI.
|
Methods inherited from test.tck.msgflow.MessageFlowHarness | protected void addStatus(HeaderFactory headerFactory, Request request)(Code)(Java Doc) protected void addStatus(Request request, Response response)(Code)(Java Doc) protected Request createRequest(String method, AddressFactory addressFactory, HeaderFactory headerFactory, MessageFactory messageFactory, SipProvider srcProvider, SipProvider dstProvider, String contentType, String contentSubType, Object content) throws Exception(Code)(Java Doc) public ContactHeader createRiContact() throws TckInternalError(Code)(Java Doc) protected Request createRiInviteRequest(String contentType, String contentSubType, Object content) throws TckInternalError(Code)(Java Doc) protected Request createRiRegisterRequest() throws TckInternalError(Code)(Java Doc) public ContactHeader createTiContact() throws Exception(Code)(Java Doc) protected Request createTiInviteRequest(String contentType, String contentSubType, Object content) throws TiUnexpectedError(Code)(Java Doc) protected Request createTiRegisterRequest() throws TiUnexpectedError(Code)(Java Doc) public void setUp() throws java.lang.Exception(Code)(Java Doc) protected static void sleep(long sleepFor)(Code)(Java Doc) public void tearDown() throws java.lang.Exception(Code)(Java Doc) public static void waitForMessage()(Code)(Java Doc) protected static void waitForTimeout()(Code)(Java Doc) protected static void waitShortForMessage()(Code)(Java Doc)
|
Methods inherited from test.tck.TestHarness | public static void assertEquals(Object me, Object him)(Code)(Java Doc) public static void assertEquals(String me, String him)(Code)(Java Doc) public static void assertEquals(String reason, Object me, Object him)(Code)(Java Doc) public static void assertEquals(String reason, String me, String him)(Code)(Java Doc) public static void assertNotNull(String reason, Object thing)(Code)(Java Doc) public static void assertNull(String reason, Object thing)(Code)(Java Doc) public static void assertSame(String diagnostic, Object thing, Object thingie)(Code)(Java Doc) public static void assertTrue(boolean cond)(Code)(Java Doc) public static void assertTrue(String diagnostic, boolean cond)(Code)(Java Doc) public static void checkImplementsInterface(Class implementationClass, Class jainInterface)(Code)(Java Doc) public static void fail(String message)(Code)(Java Doc) public static void fail(String message, Exception ex)(Code)(Java Doc) public static void fail()(Code)(Java Doc) protected String getImplementationPath()(Code)(Java Doc) public static Properties getRiProperties(boolean autoDialog)(Code)(Java Doc) public static Properties getTiProperties()(Code)(Java Doc) public static boolean implementsInterface(Class implementationClass, Class jainInterface)(Code)(Java Doc) public void logTestCompleted()(Code)(Java Doc) public void logTestCompleted(String info)(Code)(Java Doc) public void setUp() throws Exception(Code)(Java Doc) public void tearDown() throws Exception(Code)(Java Doc)
|
|
|