public class DialogTest extends MessageFlowHarness
Title: TCK
Description: JAIN SIP 1.2 Technology Compatibility Kit
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, RI_PORT, riAddressFactory, riFactory, riHeaderFactory, riMessageFactory, testCounter, testResult, TI_PORT, tiAddressFactory, tiFactory, tiHeaderFactory, tiMessageFactory
Constructor and Description |
---|
DialogTest(String name) |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Calls MessageFlowHarness.setUp() and creates a dialog afterwards.
|
static Test |
suite() |
void |
testCreateRequest()
Create a BYE request and check whether major fields are properly set
|
void |
testDialogProperties()
Test whether dialog fields are properly set
|
void |
testSendAck()
Steer the dialog to a CONFIRMED state and try sending an ack
An invite has been sent by the TI in the setUp method so we take it from
that point on.
|
void |
testSendRequest() |
addStatus, addStatus, createRequest, createRiContact, createRiInviteRequest, createRiRegisterRequest, createTiContact, createTiInviteRequest, createTiRegisterRequest, 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 DialogTest(String name)
public void setUp() throws Exception
setUp
in class MessageFlowHarness
Exception
- if anything goes wrongpublic void testDialogProperties()
public void testCreateRequest()
public void testSendAck()
public void testSendRequest()
public static Test suite()
Copyright © 2015. All Rights Reserved.