"); doc.close(); win.focus(); }

Unit Test Results

Designed for use with JUnit and Ant.

Class com.bea.sipservlet.tck.agents.api.javax_servlet_sip.SipSessionTest

NameTestsErrorsFailuresTime(s)
SipSessionTest3800120.033

Tests

NameAssertionsStatusTypeTime(s)
testCreateRequest001[SipServlet:JAVADOC:SipSession1] - User agents can create a request.Success3.984
testCreateRequest101[SipServlet:JAVADOC:SipSession1] - Throw IllegalArgumentException if method is ACK.Success3.250
testCreateRequest102[SipServlet:JAVADOC:SipSession1] - Throw IllegalStateException if this SipSession has been invalidated.Success3.055
testGetApplicationSession001[SipServlet:JAVADOC:SipSession2] - User agents can get the application session with which this SipSession is associated.Success3.060
testGetSetRemoveAttribute001[SipServlet:JAVADOC:SipSession3][SipServlet:JAVADOC:SipSession18][SipServlet:JAVADOC:SipSession19] - User agents can get/set/remove the object bound with the specified name in this session, or null if no object is bound under the name.Success3.038
testGetAttribute101[SipServlet:JAVADOC:SipSession3] - Throw IllegalStateException if this method is called on an invalidated session .Success3.046
testGetAttribute102[SipServlet:JAVADOC:SipSession3] - Throw NullPointerException if the name is null.Success3.044
testSetAttribute101[SipServlet:JAVADOC:SipSession18] - Throw IllegalStateException if this method is called on an invalidated session .Success3.048
testSetAttribute102[SipServlet:JAVADOC:SipSession18] - Throw NullPointerException if the name is null.Success3.047
testRemoveAttribute101[SipServlet:JAVADOC:SipSession19] - Throw IllegalStateException if this method is called on an invalidated session .Success3.043
testGetAttributeNames001[SipServlet:JAVADOC:SipSession4] - User agents can get an Enumeration over the String objects containing the names of all the objects bound to this session.Success3.087
testGetAttributeNames101[SipServlet:JAVADOC:SipSession4] - Throw IllegalStateException if this method is called on an invalidated session.Success3.038
testGetCallId001[SipServlet:JAVADOC:SipSession5] - User agents can get the Call-ID for this SipSession.Success3.038
testGetCreationTime001[SipServlet:JAVADOC:SipSession6] - User agents can get the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.Success3.049
testGetId001[SipServlet:JAVADOC:SipSession7] - User agents can get a string containing the unique identifier assigned to this session.Success3.050
testGetSetInvalidateWhenReady001[SipServlet:JAVADOC:SipSession8][SipServlet:JAVADOC:SipSession21] - Returns true if the container will notify the application when this SipSession is in the ready-to-invalidate state.Success3.712
testGetInvalidateWhenReady101[SipServlet:JAVADOC:SipSession8] - Throw IllegalStateException if this method is called on an invalidated session.Success3.048
testSetInvalidateWhenReady101[SipServlet:JAVADOC:SipSession21] - Throw IllegalStateException if this method is called on an invalidated session.Success3.048
testGetLastAccessedTime001[SipServlet:JAVADOC:SipSession9] - User agents can get the last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT.Success3.042
testGetLocalParty001[SipServlet:JAVADOC:SipSession10] - User agents can get the Address identifying the local party.Success3.073
testGetRemoteParty001[SipServlet:JAVADOC:SipSession12] - User agents can get the Address identifying the remote party.Success3.038
testGetState001[SipServlet:JAVADOC:SipSession13] - User agents can get the current SIP dialog state, which is one of INITIAL, EARLY, CONFIRMED, or TERMINATED.Success3.711
testGetState101[SipServlet:JAVADOC:SipSession13] - Throw IllegalStateException if this method is called on an invalidated session.Success3.043
testInvalidate001[SipServlet:JAVADOC:SipSession15] - User agents can invalidate this session and unbinds any objects bound to it.Success3.051
testInvalidate101[SipServlet:JAVADOC:SipSession15] - Throw IllegalStateException if this method is called on an invalidated session.Success3.045
testIsReadyToInvalidate001[SipServlet:JAVADOC:SipSession16] - User agents can determine if this session is in a ready-to-invalidate state.Success3.715
testIsReadyToInvalidate101[SipServlet:JAVADOC:SipSession16] - Throw IllegalStateException if this method is called on an invalidated session.Success3.048
testIsValid001[SipServlet:JAVADOC:SipSession17] - User agents can determine if this SipSession if valid.Success3.712
testSetHandler001[SipServlet:JAVADOC:SipSession20] - User agents can set the handler for this SipSession.Success3.041
testSetHandler101[SipServlet:JAVADOC:SipSession20] - Throw ServletException if no servlet with the specified name exists in this application .Success3.048
testSetHandler102[SipServlet:JAVADOC:SipSession20] - Throw IllegalStateException if this method is called on an invalidated session.Success3.060
testSetOutboundInterface001[SipServlet:JAVADOC:SipSession22] - If multihoming is supported, user agents can select the outbound interface to use when sending requests for this SipSession.Success3.046
testSetOutboundInterface101[SipServlet:JAVADOC:SipSession22] - Throw IllegalStateException if this method is called on an invalidated session .Success3.084
testSetOutboundInterface102[SipServlet:JAVADOC:SipSession22] - Throw NullPointerException if the address is null.Success3.035
testSetOutboundInterface002[SipServlet:JAVADOC:SipSession23] - If multihoming is supported, user agents can select the outbound interface and source port number to use when sending requests for this SipSession.Success3.042
testSetOutboundInterface103[SipServlet:JAVADOC:SipSession23] - Throw IllegalStateException if this method is called on an invalidated session .Success3.045
testSetOutboundInterface104[SipServlet:JAVADOC:SipSession23] - Throw NullPointerException if the address is null.Success3.052
testGetServletContext001[SipServlet:JAVADOC:SipSession24] - Returns the ServletContext to which this session belongsSuccess3.194
Properties »
System.out »