Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
12200100.00%14.56

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
net.sf.asterisk.fastagi.command 900100.00%0.09
net.sf.asterisk.fastagi 300100.00%1.88
net.sf.asterisk.fastagi.impl 2800100.00%3.28
net.sf.asterisk.fastagi.reply.impl 800100.00%0.09
net.sf.asterisk.manager.impl 4700100.00%5.73
net.sf.asterisk.manager 2500100.00%2.33
net.sf.asterisk.util 200100.00%1.16

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

net.sf.asterisk.fastagi.command

ClassTestsErrorsFailuresSuccess RateTime
Success AGICommandTest 500100.00%0.052
Success GetDataCommandTest 400100.00%0.035

net.sf.asterisk.fastagi

ClassTestsErrorsFailuresSuccess RateTime
Success DefaultAGIServerTest 100100.00%0.869
Success ResourceBundleMappingStrategyTest 200100.00%1.012

net.sf.asterisk.fastagi.impl

ClassTestsErrorsFailuresSuccess RateTime
Success AGIChannelImplTest 300100.00%0.523
Success AGIReaderImplTest 500100.00%1.338
Success AGIRequestImplTest 1900100.00%0.966
Success AGIWriterImplTest 100100.00%0.456

net.sf.asterisk.fastagi.reply.impl

ClassTestsErrorsFailuresSuccess RateTime
Success AGIReplyImplTest 800100.00%0.091

net.sf.asterisk.manager.impl

ClassTestsErrorsFailuresSuccess RateTime
Success ActionBuilderImplTest 800100.00%0.952
Success EventBuilderImplTest 2200100.00%1.533
Success ManagerReaderImplTest 700100.00%1.848
Success ManagerWriterImplTest 200100.00%1.238
Success ResponseBuilderImplTest 800100.00%0.161

net.sf.asterisk.manager

ClassTestsErrorsFailuresSuccess RateTime
Success ChannelStateEnumTest 200100.00%0.023
Success DefaultManagerConnectionTest 2300100.00%2.308

net.sf.asterisk.util

ClassTestsErrorsFailuresSuccess RateTime
Success ThreadPoolTest 200100.00%1.155

Test Cases

[ summary] [ package list] [ test cases]

AGICommandTest

Success testEscapeAndQuoteWithStringContainingNewline0.03
Success testEscapeAndQuoteWithStringContainingQuotes0.00
Success testEscapeAndQuoteWithEmptyString0.00
Success testEscapeAndQuoteWithNullString0.00
Success testEscapeAndQuote0.00

GetDataCommandTest

Success testSetTimeoutAndMaxDigits0.02
Success testSetMaxDigits0.00
Success testSetTimeout0.00
Success testDefault0.00

DefaultAGIServerTest

Success testDummy0.86

ResourceBundleMappingStrategyTest

Success testDetermineScriptWithResourceBundleUnavailable0.93
Success testDetermineScript0.05

AGIChannelImplTest

Success testSendCommandWithInvalidCommandSyntaxResponse0.51
Success testSendCommandWithInvalidOrUnknownCommandResponse0.00
Success testSendCommand0.00

AGIReaderImplTest

Success testReadReplyWhenHungUp0.40
Success testReadReplyInvalidCommandSyntax0.05
Success testReadReplyInvalidOrUnknownCommand0.00
Success testReadReply0.02
Success testReadRequest0.85

AGIRequestImplTest

Success testBuildRequestWithUrlEncodedParameter0.83
Success testBuildRequestWithEmptyValueParameter0.01
Success testBuildRequestWithMultiValueParameter0.02
Success testBuildRequestWithSingleValueParameters0.00
Success testBuildRequestWithoutParameters0.00
Success testBuildRequestWithUnusualInput0.00
Success testBuildRequestWithNullEnvironment0.00
Success testBuildRequestCallerIdWithUnknownRdnis0.00
Success testBuildRequestCallerIdWithUnknownDnid0.00
Success testBuildRequestCallerIdAsterisk12WithUnknownCallerIdName0.02
Success testBuildRequestCallerIdAsterisk12WithUnknownCallerId0.00
Success testBuildRequestCallerIdAsterisk120.00
Success testBuildRequestWithoutCallerId0.02
Success testBuildRequestWithQuotedCallerIdNameAndSpace0.00
Success testBuildRequestWithQuotedCallerIdName0.00
Success testBuildRequestWithoutCallerIdNameButBracketAndQuotesAndSpace0.00
Success testBuildRequestWithoutCallerIdNameButBracket0.00
Success testBuildRequestWithoutCallerIdName0.00
Success testBuildRequest0.04

AGIWriterImplTest

Success testSendCommand0.44

AGIReplyImplTest

Success testBuildReplyWithLeadingSpace0.03
Success testBuildReplyInvalidCommandSyntax0.02
Success testBuildReplyInvalidOrUnknownCommand0.00
Success testBuildReplyWithAdditionalAttributeAndParenthesis0.02
Success testBuildReplyWithParenthesis0.00
Success testBuildReplyWithMultipleAdditionalAttribute0.00
Success testBuildReplyWithAdditionalAttribute0.00
Success testBuildReply0.00

ActionBuilderImplTest

Success testBuildActionWithVariableMapForAsterisk120.87
Success testBuildActionWithVariablesForAsterisk12WithNullValues0.02
Success testBuildActionWithVariablesForAsterisk120.00
Success testBuildActionWithVariablesForAsterisk10WithNullValues0.02
Success testBuildActionWithVariablesForAsterisk100.00
Success testBuildEventGeneratingAction0.01
Success testBuildActionWithNullValue0.02
Success testBuildAction0.02

EventBuilderImplTest

Success testBuildEventWithReason1.16
Success testBuildEventWithInvalidCidCallingPres0.03
Success testBuildEventWithCidCallingPresAndMissingTxt0.00
Success testBuildEventWithCidCallingPresAndEmptyTxt0.02
Success testBuildEventWithCidCallingPres0.00
Success testBuildEventWithSpecialCharacterProperty0.02
Success testBuildEventWithSourceProperty0.01
Success testBuildEventWithResponseEvent0.02
Success testBuildEventWithEmptyAttributes0.12
Success testBuildEventWithUnregisteredEvent0.02
Success testBuildEventWithBooleanPropertyOfValueNo0.02
Success testBuildEventWithBooleanPropertyOfValueYes0.01
Success testBuildEventWithBooleanProperty0.02
Success testBuildEventWithIntegerProperty0.02
Success testBuildEventWithMixedCaseSetter0.01
Success testRegisterEventWithWrongClass0.01
Success testRegisterEventWithAbstractEvent0.00
Success testRegisterUserEventWithUserEventDEvent0.02
Success testRegisterUserEventWithUserEventC0.01
Success testRegisterUserEventWithBEvent0.02
Success testRegisterUserEventWithA0.00
Success testRegisterEvent0.00

ManagerReaderImplTest

Success testRunCatchingIOException1.58
Success testRunReceivingCommandResponse0.06
Success testRunReceivingResponse0.08
Success testRunReceivingUserEvent0.07
Success testRunReceivingEvent0.03
Success testRunReceivingProtocolIdentifier0.02
Success testRunWithoutSocket0.00

ManagerWriterImplTest

Success testSendAction1.23
Success testSendActionWithoutSocket0.00

ResponseBuilderImplTest

Success testBuildExtensionStateResponse0.10
Success testBuildMailboxCountResponse0.01
Success testBuildMailboxStatusResponseWithNoWaiting0.02
Success testBuildMailboxStatusResponse0.00
Success testBuildChallengeResponse0.03
Success testBuildErrorWithActionId0.00
Success testBuildError0.00
Success testBuildResponse0.00

ChannelStateEnumTest

Success testToString0.02
Success testGetEnum0.00

DefaultManagerConnectionTest

Success testDispatchEventWithMultipleEventHandlers1.37
Success testReconnectWithKeepAliveAfterAuthenticationFailure0.48
Success testReconnectWithAuthenticationFailure0.02
Success testReconnectWithIOException0.06
Success testReconnect0.00
Success testDispatchResponseNullResponse0.00
Success testDispatchResponseNullActionId0.00
Success testDispatchResponseMissingInternalActionId0.00
Success testDispatchResponseUnexpectedResponse0.00
Success testSendActionTimeout0.04
Success testSendAction0.00
Success testSendActionWhenNotConnected0.00
Success testSendActionWithNullAction0.00
Success testLogoffWhenNotConnected0.00
Success testLogoffWhenConnected0.00
Success testLoginTimeoutOnChallengeAction0.05
Success testLoginTimeoutOnConnect0.08
Success testLoginIOExceptionOnConnect0.00
Success testLoginIncorrectKey0.13
Success testLogin0.03
Success testRegisterUserEventClass0.02
Success testFullConstructor0.01
Success testDefaultConstructor0.00

ThreadPoolTest

Success testUncaughtException0.91
Success testAddJob0.24