Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mobicents.slee.test.env.enventry.sbb
Class EnvEntryTest  view EnvEntryTest download EnvEntryTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.mobicents.slee.test.env.enventry.sbb.EnvEntryTest
All Implemented Interfaces:
junit.framework.Test

public class EnvEntryTest
extends junit.framework.TestCase


Nested Class Summary
 class EnvEntryTest.MyTimerTask
           
 
Field Summary
private  AddressFactory addressFactory
           
private  ClientTransaction clientTransaction
           
private  ContactHeader contactHeader
           
private  HeaderFactory headerFactory
           
private  MessageFactory messageFactory
           
private  Request request
           
private  Response response
           
private  int responseCode
           
private static boolean setupFlag
           
private  SipFactory sipFactory
           
private  SipStack sipStack
           
private  boolean timedOut
           
private  java.util.Timer timer
           
private  ListeningPoint udpListeningPoint
           
private  SipProvider udpProvider
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
EnvEntryTest()
           
 
Method Summary
 void processRequest(RequestEvent requestEvent)
           
 void processResponse(ResponseEvent responseEvent)
           
 void processTimeout(TimeoutEvent arg0)
           
 void sendMessage()
          Send the register which will initiate the unit test.
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testWaitForResponse()
          Wait till a response has been delivered.
private  void waitForNotify()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sipStack

private SipStack sipStack

sipFactory

private SipFactory sipFactory

headerFactory

private HeaderFactory headerFactory

addressFactory

private AddressFactory addressFactory

messageFactory

private MessageFactory messageFactory

udpProvider

private SipProvider udpProvider

udpListeningPoint

private ListeningPoint udpListeningPoint

contactHeader

private ContactHeader contactHeader

responseCode

private int responseCode

timedOut

private boolean timedOut

clientTransaction

private ClientTransaction clientTransaction

response

private Response response

request

private Request request

setupFlag

private static boolean setupFlag

timer

private java.util.Timer timer
Constructor Detail

EnvEntryTest

public EnvEntryTest()
Method Detail

testWaitForResponse

public void testWaitForResponse()
Wait till a response has been delivered.


waitForNotify

private void waitForNotify()

sendMessage

public void sendMessage()
Send the register which will initiate the unit test.


setUp

public void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


processRequest

public void processRequest(RequestEvent requestEvent)

processResponse

public void processResponse(ResponseEvent responseEvent)

processTimeout

public void processTimeout(TimeoutEvent arg0)

tearDown

public void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.