test.tck.msgflow
Class SipProviderTest

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

public class SipProviderTest
extends MessageFlowHarness

Title: TCK

Description: JAIN SIP 1.1 Technology Compatibility Kit

Copyright: Copyright (c) 2003

Company: NIST

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
SipProviderTest(String name)
           
 
Method Summary
static Test suite()
           
 void testGetNewClientTransaction()
          Test whether new ClientTransactions are properly created.
 void testGetNewServerTransaction()
          Sends a request from the RI and tests whether the tested implementation properly creates a ServerTransaction.
 void testReceiveACK()
          Sends a single ACK request from the RI, and tests if the TI passes it to the application ACKs MUST NOT be filtered for stateless proxy applications, they must forward them
 void testReceiveRequest()
          Send a simple invite request from the RI and check whether it is properly delivered by the TI SipProvider
 void testReceiveResponse()
          Sends a request from the TI, generates a response at the RI side, sends it back and checks whether it arrives at the TI.
 void testSendNullRequest()
          Sends a empty request and assures that the other side does not see the request.
 void testSendRequest()
          Sends a single invite request and checks whether it arrives normally at the other end.
 void testSendResponse()
          Sends a request from the RI, generates a response at the TI side, sends it back and checks whether it arrives at the RI.
 
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

SipProviderTest

public SipProviderTest(String name)
Method Detail

testSendRequest

public void testSendRequest()
Sends a single invite request and checks whether it arrives normally at the other end.


testSendNullRequest

public void testSendNullRequest()
Sends a empty request and assures that the other side does not see the request.


testReceiveRequest

public void testReceiveRequest()
Send a simple invite request from the RI and check whether it is properly delivered by the TI SipProvider


testReceiveACK

public void testReceiveACK()
Sends a single ACK request from the RI, and tests if the TI passes it to the application ACKs MUST NOT be filtered for stateless proxy applications, they must forward them


testSendResponse

public void testSendResponse()
Sends a request from the RI, generates a response at the TI side, sends it back and checks whether it arrives at the RI.


testReceiveResponse

public void testReceiveResponse()
Sends a request from the TI, generates a response at the RI side, sends it back and checks whether it arrives at the TI.


testGetNewClientTransaction

public void testGetNewClientTransaction()
Test whether new ClientTransactions are properly created.


testGetNewServerTransaction

public void testGetNewServerTransaction()
Sends a request from the RI and tests whether the tested implementation properly creates a ServerTransaction.


suite

public static Test suite()


Copyright © 2012. All Rights Reserved.