test.tck.msgflow
Class DialogStateMachineTest

java.lang.Object
  extended by TestCase
      extended by test.tck.TestHarness
          extended by test.tck.msgflow.MessageFlowHarness
              extended by test.tck.msgflow.DialogStateMachineTest

public class DialogStateMachineTest
extends MessageFlowHarness

Tests whether the dialog state machine is properly implemented. Dialog state machines are far less complex than transaction FSMs. All they do is passively change states without producing any automatic responses or retransmissions. Therefore we're only testing one scenario per Dialog (one for Server generated and one for Client generated dialogs. Distinction is made server and client generated scenarios are likely to be navigated by server and client transactions respectively and not by a single entity)

Title: TCK

Description: JAIN SIP 1.1 Technology Compatibility Kit

Version:
1.0
Author:
Emil Ivov Network Research Team, Louis Pasteur University, Strasbourg, France. This code is in the public domain.

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
DialogStateMachineTest(String name)
           
 
Method Summary
static Test suite()
           
 void testClientDialogStates()
          Tests state transitions of a server side dialog
 void testServerDialogStates()
          Tests state transitions of a client side dialog
 
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

DialogStateMachineTest

public DialogStateMachineTest(String name)
Method Detail

testClientDialogStates

public void testClientDialogStates()
Tests state transitions of a server side dialog


testServerDialogStates

public void testServerDialogStates()
Tests state transitions of a client side dialog


suite

public static Test suite()


Copyright © 2012. All Rights Reserved.