public class NonInviteClientTransactionsStateMachineTest extends MessageFlowHarness
| Request from TU | send request Timer E V send request +-----------+ +---------| |-------------------+ | | Trying | Timer F | +-------->| | or Transport Err.| +-----------+ inform TU | 200-699 | | | resp. to TU | |1xx | +---------------+ |resp. to TU | | | | | Timer E V Timer F | | send req +-----------+ or Transport Err. | | +---------| | inform TU | | | |Proceeding |------------------>| | +-------->| |-----+ | | +-----------+ |1xx | | | ^ |resp to TU | | 200-699 | +--------+ | | resp. to TU | | | | | | V | | +-----------+ | | | | | | | Completed | | | | | | | +-----------+ | | ^ | | | | | Timer K | +--------------+ | - | | | V | NOTE: +-----------+ | | | | transitions | Terminated|<------------------+ labeled with | | the event +-----------+ over the action to take Figure 6: non-INVITE client transaction TODO test timeout events
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
ABORT_ON_FAIL, abortOnFail, console, IMPLEMENTATION_PATH, LOCAL_ADDRESS, LOG_FILE_NAME, logFileName, path, printWriter, riAddressFactory, riFactory, riHeaderFactory, riMessageFactory, testCounter, testResult, tiAddressFactory, tiFactory, tiHeaderFactory, tiMessageFactory
Constructor and Description |
---|
NonInviteClientTransactionsStateMachineTest(String name) |
Modifier and Type | Method and Description |
---|---|
static Test |
suite() |
void |
testTryingCompletedTerminatedScenario()
Tries to walk a TI client transaction through the following scenario
Trying-->Completed-->Terminated.
|
void |
testTryingProceedingCompletedTerminatedScenario()
Tries to walk a TI client transaction through the following scenario
Trying-->Proceeding-->Completed-->Terminated.
|
addStatus, addStatus, createRequest, createRiContact, createRiInviteRequest, createRiRegisterRequest, createTiContact, createTiInviteRequest, createTiRegisterRequest, setUp, sleep, tearDown, waitForMessage, waitForTimeout, waitLongForMessage, waitShortForMessage
assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNull, assertSame, assertTrue, assertTrue, checkImplementsInterface, fail, fail, fail, getImplementationPath, getRiProperties, getTiProperties, implementsInterface, logTestCompleted, logTestCompleted
public NonInviteClientTransactionsStateMachineTest(String name)
public void testTryingProceedingCompletedTerminatedScenario()
public void testTryingCompletedTerminatedScenario()
public static Test suite()
Copyright © 2018. All Rights Reserved.