|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
test.tck.TestHarness
test.tck.msgflow.MessageFlowHarness
test.tck.msgflow.SipProviderTest
public class SipProviderTest
Title: TCK
Description: JAIN SIP 1.1 Technology Compatibility Kit
Copyright: Copyright (c) 2003
Company: NIST
Field Summary |
---|
Fields inherited from class test.tck.msgflow.MessageFlowHarness |
---|
counter, eventCollector, EXTENSION_HDR, MESSAGES_ARRIVE_FOR, RETRY_OBJECT_DELETES, RETRY_OBJECT_DELETES_AFTER, riListeningPoint, riSipProvider, riSipStack, STACKS_SHUT_DOWN_FOR, STACKS_START_FOR, tiListeningPoint, tiSipProvider, tiSipStack, TRANSACTION_TIMES_OUT_FOR |
Fields inherited from class test.tck.TestHarness |
---|
ABORT_ON_FAIL, abortOnFail, console, IMPLEMENTATION_PATH, LOCAL_ADDRESS, LOG_FILE_NAME, logFileName, path, printWriter, RI_PORT, riAddressFactory, riFactory, riHeaderFactory, riMessageFactory, testCounter, testResult, TI_PORT, tiAddressFactory, tiFactory, tiHeaderFactory, tiMessageFactory |
Constructor Summary | |
---|---|
SipProviderTest(String name)
|
Method Summary | |
---|---|
static Test |
suite()
|
void |
testGetNewClientTransaction()
Test whether new ClientTransactions are properly created. |
void |
testGetNewServerTransaction()
Sends a request from the RI and tests whether the tested implementation properly creates a ServerTransaction. |
void |
testReceiveACK()
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 |
void |
testReceiveRequest()
Send a simple invite request from the RI and check whether it is properly delivered by the TI SipProvider |
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. |
void |
testSendNullRequest()
Sends a empty request and assures that the other side does not see the request. |
void |
testSendRequest()
Sends a single invite request and checks whether it arrives normally at the other end. |
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. |
Methods inherited from class test.tck.msgflow.MessageFlowHarness |
---|
addStatus, addStatus, createRequest, createRiContact, createRiInviteRequest, createRiRegisterRequest, createTiContact, createTiInviteRequest, createTiRegisterRequest, setUp, sleep, tearDown, waitForMessage, waitForTimeout, waitLongForMessage, waitShortForMessage |
Methods inherited from class test.tck.TestHarness |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNull, assertSame, assertTrue, assertTrue, checkImplementsInterface, fail, fail, fail, getImplementationPath, getRiProperties, getTiProperties, implementsInterface, logTestCompleted, logTestCompleted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SipProviderTest(String name)
Method Detail |
---|
public void testSendRequest()
public void testSendNullRequest()
public void testReceiveRequest()
public void testReceiveACK()
public void testSendResponse()
public void testReceiveResponse()
public void testGetNewClientTransaction()
public void testGetNewServerTransaction()
public static Test suite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |