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

Unit Test Results

Designed for use with JUnit and Ant.

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

NameTestsErrorsFailuresTime(s)
SipApplicationSessionTest4700144.555

Tests

NameAssertionsStatusTypeTime(s)
testEncodeURI001[SipServlet:JAVADOC:SipApplicationSession1] - Encodes the ID of this SipApplicationSession into the specified URI,Deprecated since V1.1.Success3.384
testEncodeURL001[SipServlet:JAVADOC:SipApplicationSession2] - Encode specified URL to include the application session ID in a way such that the parameter used to encode the application session ID should be unique across implementations.Success3.157
testEncodeURL101[SipServlet:JAVADOC:SipApplicationSession2] - Throw IllegalStateException if this application session is not valid.Success3.082
testGetApplicationName001[SipServlet:JAVADOC:SipApplicationSession3] - Return the application name.Success3.055
testGetAttribute001[SipServlet:JAVADOC:SipApplicationSession4][SipServlet:JAVADOC:SipApplicationSession18] - Return the object bound with the specified name in this session.Success3.050
testGetAttribute002[SipServlet:JAVADOC:SipApplicationSession4][SipServlet:JAVADOC:SipApplicationSession18] - Return null if no object is bound under the name.Success3.044
testGetAttribute101[SipServlet:JAVADOC:SipApplicationSession4][SipServlet:JAVADOC:SipApplicationSession18] - Throw IllegalStateException,if the appSession is not valid.Success3.046
testGetAttributeNames001[SipServlet:JAVADOC:SipApplicationSession5] - Return an Iterator over the String objects containing the names of all the objects bound to this session.Success3.043
testGetAttributeNames101[SipServlet:JAVADOC:SipApplicationSession5] - Throw IllegalStateException, if the appSession is not valid.Success3.045
testGetCreationTime001[SipServlet:JAVADOC:SipApplicationSession6] - Return the creation time of appSession.Success3.767
testGetCreationTime101[SipServlet:JAVADOC:SipApplicationSession6] - Throw IllegalStateException,if the appSession is not valid.Success3.051
testGetExpirationTime001[SipServlet:JAVADOC:SipApplicationSession7] - Returns the expiration time of appSession.Success3.045
testGetExpirationTime101[SipServlet:JAVADOC:SipApplicationSession7] - Throw IllegalStateException if the appSession is not valid.Success3.042
testGetId001[SipServlet:JAVADOC:SipApplicationSession8] - Return the appSession Id.Success3.083
testGetLastAccessedTime001[SipServlet:JAVADOC:SipApplicationSession9] - Return last accessed time.Success3.049
testGetSessions001[SipServlet:JAVADOC:SipApplicationSession10] - Return an Iterator over all valid "protocol" sessions associated with this application session.Success3.054
testGetSessions101[SipServlet:JAVADOC:SipApplicationSession10] - Throw IllegalStateException if the appSession is not valid.Success3.040
testGetSessions002[SipServlet:JAVADOC:SipApplicationSession11] - Return an Iterator over all valid "protocol" session objects associated with the specified protocol associated with this application session. If the specified protocol is not supported, an empty Iterator is returned.Success3.038
testGetSessions102[SipServlet:JAVADOC:SipApplicationSession11] - Throw IllegalStateException if the appSession is not valid.Success3.046
testGetSessions103[SipServlet:JAVADOC:SipApplicationSession11] - Throw IllegalArgumentException if the protocol is not understood by container.Success3.044
testGetSipSession001[SipServlet:JAVADOC:SipApplicationSession12] - Return null if not found.Success3.043
testGetSipSession002[SipServlet:JAVADOC:SipApplicationSession12] - Return the SipSession with the specified id belonging to this application session.Success3.039
testGetSipSession101[SipServlet:JAVADOC:SipApplicationSession12] - Throw IllegalStateException if the appSession is not valid.Success3.035
testGetTimer001[SipServlet:JAVADOC:SipApplicationSession13] - Return the active timer identified by a specific id that is associated with this application session.Success3.039
testGetTimer101[SipServlet:JAVADOC:SipApplicationSession13] - Throw IllegalStateException if the appSession is not valid.Success3.031
testGetTimers001[SipServlet:JAVADOC:SipApplicationSession14] - Return all active timers associated with the appSession.Success3.071
testGetTimers101[SipServlet:JAVADOC:SipApplicationSession14] - Throw IllegalStateException if the appSession is not valid.Success3.037
testInvalidate001[SipServlet:JAVADOC:SipApplicationSession15] - Invalidates this application session.Success3.045
testInvalidate002[SipServlet:JAVADOC:SipApplicationSession15] - Invalidates this application session which will unbinds any objects bound to it.Success3.037
testInvalidate101[SipServlet:JAVADOC:SipApplicationSession15] - Throw IllegalStateException if the appSession is not valid.Success3.040
testIsValid001[SipServlet:JAVADOC:SipApplicationSession16] - Return true, since the appSession is valid.Success3.039
testRemoveAttribute001[SipServlet:JAVADOC:SipApplicationSession17] - Remove the object bound with the specified name from this session.Success3.043
testRemoveAttribute101[SipServlet:JAVADOC:SipApplicationSession17] - Throw IllegalStateException if the appSession is not valid.Success3.038
testSetAttribute001[SipServlet:JAVADOC:SipApplicationSession18] - Bind an object to this session, using the name specified.Success3.049
testSetAttribute101[SipServlet:JAVADOC:SipApplicationSession18] - Throw IllegalStateException if the appSession is not valid.Success3.033
testSetAttribute102[SipServlet:JAVADOC:SipApplicationSession18] - Throw NullPointerException if the name is null.Success3.038
testSetAttribute103[SipServlet:JAVADOC:SipApplicationSession18] - Throw java.lang.NullPointerException if the attribute is null.Success3.040
testSetExpires001[SipServlet:JAVADOC:SipApplicationSession19] - Return deltaMinutes, if deltaMinutes is not 0 or less.Success3.045
testSetExpires101[SipServlet:JAVADOC:SipApplicationSession19] - Throw IllegalStateException if the appSession is not valid.Success3.045
testGetSession001[SipServlet:JAVADOC:SipApplicationSession20] - Return null if not found.Success3.034
testGetSession002[SipServlet:JAVADOC:SipApplicationSession20] - Return the session object with the specified id associated with the specified protocol belonging to this application session.Success3.050
testGetSession101[SipServlet:JAVADOC:SipApplicationSession20] - Throw IllegalStateException if the appSession is not valid.Success3.043
testIsReadyToInvalidate001[SipServlet:JAVADOC:SipApplicationSession21] - Return true if this application session is in a ready-to-invalidate state meet the following conditions.(1)All the contained SipSessions within the SipApplicationSession are in the ready-to-invalidate state. (2)None of the ServletTimers associated with the SipApplicationSession are active.Success3.078
testIsReadyToInvalidate101[SipServlet:JAVADOC:SipApplicationSession21] - Throw IllegalStateException if the appSession is not valid.Success3.042
testSetGetInvalidateWhenReady001[SipServlet:JAVADOC:SipApplicationSession22][SipServlet:JAVADOC:SipApplicationSession23] - Specify whether the container should notify the application when the SipApplicationSession is in the ready-to-invalidate state.The container notifies the application using the SipApplicationSessionListener.sessionReadyToInvalidate callback.Success3.044
testSetInvalidateWhenReady101[SipServlet:JAVADOC:SipApplicationSession22] - Throw IllegalStateException if the appSession is not valid.Success3.029
testGetInvalidateWhenReady101[SipServlet:JAVADOC:SipApplicationSession23] - Throw IllegalStateException if the appSession is not valid.Success3.038
Properties »
System.out »