| test.tck.TestHarness test.tck.msgflow.MessageFlowHarness test.tck.msgflow.DialogStateMachineTest
DialogStateMachineTest | public class DialogStateMachineTest extends MessageFlowHarness (Code) | | 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
author: Emil Ivov author: Network Research Team, Louis Pasteur University, Strasbourg, France. author: This code is in the public domain. version: 1.0 |
DialogStateMachineTest | public DialogStateMachineTest(String name)(Code) | | |
suite | public static Test suite()(Code) | | |
testClientDialogStates | public void testClientDialogStates()(Code) | | Tests state transitions of a server side dialog
|
testServerDialogStates | public void testServerDialogStates()(Code) | | Tests state transitions of a client side dialog
|
Methods inherited from test.tck.msgflow.MessageFlowHarness | protected void addStatus(HeaderFactory headerFactory, Request request)(Code)(Java Doc) protected void addStatus(Request request, Response response)(Code)(Java Doc) protected Request createRequest(String method, AddressFactory addressFactory, HeaderFactory headerFactory, MessageFactory messageFactory, SipProvider srcProvider, SipProvider dstProvider, String contentType, String contentSubType, Object content) throws Exception(Code)(Java Doc) public ContactHeader createRiContact() throws TckInternalError(Code)(Java Doc) protected Request createRiInviteRequest(String contentType, String contentSubType, Object content) throws TckInternalError(Code)(Java Doc) protected Request createRiRegisterRequest() throws TckInternalError(Code)(Java Doc) public ContactHeader createTiContact() throws Exception(Code)(Java Doc) protected Request createTiInviteRequest(String contentType, String contentSubType, Object content) throws TiUnexpectedError(Code)(Java Doc) protected Request createTiRegisterRequest() throws TiUnexpectedError(Code)(Java Doc) public void setUp() throws java.lang.Exception(Code)(Java Doc) protected static void sleep(long sleepFor)(Code)(Java Doc) public void tearDown() throws java.lang.Exception(Code)(Java Doc) public static void waitForMessage()(Code)(Java Doc) protected static void waitForTimeout()(Code)(Java Doc) protected static void waitShortForMessage()(Code)(Java Doc)
|
Methods inherited from test.tck.TestHarness | public static void assertEquals(Object me, Object him)(Code)(Java Doc) public static void assertEquals(String me, String him)(Code)(Java Doc) public static void assertEquals(String reason, Object me, Object him)(Code)(Java Doc) public static void assertEquals(String reason, String me, String him)(Code)(Java Doc) public static void assertNotNull(String reason, Object thing)(Code)(Java Doc) public static void assertNull(String reason, Object thing)(Code)(Java Doc) public static void assertSame(String diagnostic, Object thing, Object thingie)(Code)(Java Doc) public static void assertTrue(boolean cond)(Code)(Java Doc) public static void assertTrue(String diagnostic, boolean cond)(Code)(Java Doc) public static void checkImplementsInterface(Class implementationClass, Class jainInterface)(Code)(Java Doc) public static void fail(String message)(Code)(Java Doc) public static void fail(String message, Exception ex)(Code)(Java Doc) public static void fail()(Code)(Java Doc) protected String getImplementationPath()(Code)(Java Doc) public static Properties getRiProperties(boolean autoDialog)(Code)(Java Doc) public static Properties getTiProperties()(Code)(Java Doc) public static boolean implementsInterface(Class implementationClass, Class jainInterface)(Code)(Java Doc) public void logTestCompleted()(Code)(Java Doc) public void logTestCompleted(String info)(Code)(Java Doc) public void setUp() throws Exception(Code)(Java Doc) public void tearDown() throws Exception(Code)(Java Doc)
|
|
|