test.tck.msgflow
Class DialogTest
java.lang.Object
TestCase
test.tck.TestHarness
test.tck.msgflow.MessageFlowHarness
test.tck.msgflow.DialogTest
public class DialogTest
- extends MessageFlowHarness
Title: TCK
Description: JAIN SIP 1.2 Technology Compatibility Kit
- Version:
- 1.0
- Author:
- Emil Ivov
Network Research Team, Louis Pasteur University, Strasbourg, France.
This code is in the public domain.
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 |
Method Summary |
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()
|
Methods inherited from class test.tck.msgflow.MessageFlowHarness |
addStatus, addStatus, createRequest, createRiContact, createRiInviteRequest, createRiRegisterRequest, createTiContact, createTiInviteRequest, createTiRegisterRequest, 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 |
DialogTest
public DialogTest(String name)
setUp
public void setUp()
throws Exception
- Calls MessageFlowHarness.setUp() and creates a dialog afterwards.
- Overrides:
setUp
in class MessageFlowHarness
- Throws:
Exception
- if anything goes wrong
testDialogProperties
public void testDialogProperties()
- Test whether dialog fields are properly set
testCreateRequest
public void testCreateRequest()
- Create a BYE request and check whether major fields are properly set
testSendAck
public 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.
testSendRequest
public void testSendRequest()
suite
public static Test suite()
Copyright © 2012. All Rights Reserved.