Summary

Tests Errors Failures Skipped Success Rate Time
206 0 0 0 100% 7.579

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
com.atlassian.theplugin.commons.cfg 33 0 0 0 100% 0.146
com.atlassian.theplugin.commons.util 9 0 0 0 100% 0.215
com.atlassian.theplugin.crucible.api.rest 39 0 0 0 100% 1.6
com.atlassian.theplugin.commons.bamboo 90 0 0 0 100% 4.226
com.atlassian.theplugin.crucible 21 0 0 0 100% 0.64
com.atlassian.theplugin.commons.cfg.xstream 14 0 0 0 100% 0.752

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

com.atlassian.theplugin.commons.cfg

Class Tests Errors Failures Skipped Success Rate Time
PrivateProjectConfigurationTest 1 0 0 0 100% 0.001
BambooServerCfgTest 2 0 0 0 100% 0.005
GlobalConfigurationFactoryImplTest 3 0 0 0 100% 0.074
ProjectIdTest 1 0 0 0 100% 0.005
ProjectConfigurationTest 3 0 0 0 100% 0.003
ServerIdTest 1 0 0 0 100% 0.001
CfgManagerImplTest 22 0 0 0 100% 0.057

com.atlassian.theplugin.commons.util

Class Tests Errors Failures Skipped Success Rate Time
MiscUtilTest 2 0 0 0 100% 0.002
DateUtilTest 2 0 0 0 100% 0.173
StringUtilTest 5 0 0 0 100% 0.04

com.atlassian.theplugin.crucible.api.rest

Class Tests Errors Failures Skipped Success Rate Time
CrucibleSessionTest 39 0 0 0 100% 1.6

com.atlassian.theplugin.commons.bamboo

Class Tests Errors Failures Skipped Success Rate Time
BambooStatusListenerTest 9 0 0 0 100% 0.082
HtmlBambooStatusListenerTest 11 0 0 0 100% 0.772
BambooServerFacadeTest 19 0 0 0 100% 0.785
FakeBambooRefreshTest 1 0 0 0 100% 0.001
AutoRenewBambooSessionTest 12 0 0 0 100% 0.104
BambooSessionSslTest 1 0 0 0 100% 0.715
BambooSessionTest 34 0 0 0 100% 1.719
BambooStatusCheckerTest 3 0 0 0 100% 0.048

com.atlassian.theplugin.crucible

Class Tests Errors Failures Skipped Success Rate Time
ReviewDataInfoImplTest 4 0 0 0 100% 0.004
CrucibleServerFacadeConnectionTest 6 0 0 0 100% 0.037
CrucibleServerFacadeTest 11 0 0 0 100% 0.599

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomXStreamUtilTest 1 0 0 0 100% 0.399
JDomProjectConfigurationFactoryTest 13 0 0 0 100% 0.353

Test Cases

MiscUtilTest

testIsModified 0
testBuildArrayList 0.001

PrivateProjectConfigurationTest

testGetPrivateServerCfgInfo 0

ReviewDataInfoImplTest

testSetGetReviewData 0
testSetGetReviewers 0
testGetServer 0
testNotEquals 0.001

BambooStatusListenerTest

testSingleBuildFailed 0.007
testSingleBuildSucceed 0
testSingleBuildUnknown 0.001
testSingleBuildOK2Failed 0.002
testSingleBuildFailed2OK 0.002
testSingleBuildSequence 0.002
testMultipleOK2Failed 0.002
testMultipleFailed2OK 0
testMultiple 0.003

HtmlBambooStatusListenerTest

testSingleSuccessResultForDisabledBuild 0.685
testUpdateDisplay 0.001
testUpdateDisplayUnknownSuccessful 0
testUpdateDisplaySuccessful 0
testUpdateDisplayUnknown 0.001
testNullStatusCollection 0.013
testEmptyStatusCollection 0.011
testSingleSuccessResult 0.011
testSingleFailedResult 0.006
testSingleFailedResultForDisabledBuild 0.017
testSingleErrorResult 0.008

BambooServerFacadeTest

testProjectList 0.025
testPlanList 0.028
testAddEmptyLabel 0.029
testAddLabelToNonExistingBuild 0.019
testAddComment 0.017
testAddEmptyComment 0.209
testAddCommentToNonExistingBuild 0.125
testExecuteBuild 0.12
testSubscribedBuildStatus 0.039
testFailedLoginSubscribedBuildStatus 0.012
testUninitializedPassword 0.012
testFailedProjectList 0.006
testFailedPlanList 0.008
testConnectionTest 0.022
testBambooConnectionWithEmptyPlan 0.022
testAddLabel 0.02
testFailedExecuteBuild 0.014
testGetBuildDetails 0.028
testGetBuildDetailsNonExistingBuild 0.017

FakeBambooRefreshTest

testRefreshButton 0

AutoRenewBambooSessionTest

testExecuteBuild 0.075
testLogin 0.001
testLogout 0.001
testListProjectNames 0.002
testListPlanNames 0.004
testGetLatestBuildForPlan 0.003
testGetFavouriteUserPlans 0
testGetBuildResultDetails 0.001
testAddLabelToBuild 0.001
testAddCommentToBuild 0.001
testGetBambooBuildNumber 0.001
testIsLoggedIn 0.001

JDomXStreamUtilTest

testBambooServerCfg 0.386

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.002
testFailedLoginGetAllReviews 0.008
testConnectionTestSucceed 0.011
testConnectionTestFailed 0.007
testConnectionTestFailedNullUser 0.002
testConnectionTestFailedEmptyUrl 0.001

BambooServerCfgTest

testEquals 0
testGetClone 0

GlobalConfigurationFactoryImplTest

testInvalidSetup 0.011
testSaveLoadAll 0.037
testSaveLoadGlobalServers 0.02

ProjectIdTest

testEquals 0

CrucibleServerFacadeTest

testConnectionTestSucceed 0.536
testCreateReview 0.003
testCreateReviewFromPatch 0.001
testGetProjects 0.001
testGetRepositories 0.001
testConnectionTestFailedBadPassword 0.011
testConnectionTestFailedCru15 0.028
testChangedCredentials 0.002
testCreateReviewWithInvalidProjectKey 0.001
testCreateReviewFromPatchWithInvalidProjectKey 0
testGetAllReviews 0.001

ProjectConfigurationTest

testGetClone 0
testCopyConstructor 0
testHashCode 0.001

ServerIdTest

testEquals 0

DateUtilTest

testTimeDiff 0.169
testComplicatedTimeDiff 0

CfgManagerImplTest

testGetAllServers 0.006
testGetProjectSpecificServers 0.001
testGetGlobalServers 0.001
testGetAllEnabledServers 0.001
testAddProjectSpecificServer 0.002
testReturnedCollectionIsNotInternal 0
testGetAllServersReturnedCollectionIsNotInternal 0.001
testGlobalServersReturnedCollectionIsNotInternal 0
testGetAllEnabledServersReturnedCollectionIsNotInternal 0
testAddGlobalServer 0.001
testRemoveServer 0
testRemoveProjectSpecificServer 0.001
testUpdateGlobalServers 0
testUpdateProjectSpecificServers 0
testGetAllEnabledBambooServers 0.002
testGetAllEnabledCrucibleServers 0.002
testGetAllEnabledJiraServers 0.001
testRemoveProject 0.002
testNotifications 0.005
testAddListener 0.001
testGerServer 0
testGetAllUniqueServers 0.001

CrucibleSessionTest

testSuccessBambooLoginURLWithSlash 0.008
testNullParamsLogin 0.001
testWrongUrlBambooLogin 0.003
testNonExistingServerBambooLogin 0.002
testOutOfRangePort 0.002
testSuccessCrucibleLogin 0.027
testLoginMalformedResponse 0.006
testLoginInternalErrorResponse 0.005
testNullLoginLogin 0.001
testMalformedUrlCrucibleLogin 0.004
testWrongUserCrucibleLogin 0.005
testWrongParamsCrucibleLogin 0.001
testSuccessCrucibleLogout 0.007
testFailedCrucibleLogin 0.201
testSuccessCrucibleDoubleLogin 0.105
testMethodCallWithoutLogin 0.101
testGetAllTypeReviews 0.166
testGetEmptyReviews 0.111
testGetEmptyReviewsForType 0.011
testGetReviewsInStates 0.027
testGetMissingReviewsInStates 0.012
testGetEmptyRequestReviewsInStates 0.03
testGetAllReviewsMalformedResponse 0.013
testGetReviewsInStatesMalformedResponse 0.01
testGetEmptyReviewers 0.011
testGetReviewers 0.012
testGetReviewersInvalidId 0.009
testGetReviewersMalformedResponse 0.01
testCreateReview 0.032
testCreateReviewMalformedResponse 0.011
testCreateReviewErrorResponse 0.012
testCreateReviewFromPatch 0.017
testCreateReviewFromNullPatch 0.018
testCreateReviewFromEmptyPatch 0.213
testCreateReviewFromPatchMalformedResponse 0.109
testGetProjects 0.116
testGetProjectsEmpty 0.114
testGetRepositories 0.021
testGetRepositoriesEmpty 0.014

JDomProjectConfigurationFactoryTest

testJDomSaveLoadGlobalConfiguration 0.041
testHashedPassword 0.02
testPublicSerialization 0.085
testPublicOnlyDeSerialization 0.018
testPrivateSerialization 0.05
testCreatePrivateProjectConfiguration 0
testFullSaveLoad 0.051
testInvalidJDomElement 0.008
testInvalidClass 0.004
testNullDomElement 0.001
testNullConfiguration 0
testMissingPrivateCfg 0.033
testSaveLoad 0.024

StringUtilTest

testEncodeDecode 0.01
testEncodeNull 0.002
testDecodeNull 0.001
testDecodeUndecoded 0.001
testSlurp 0.001

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.714

BambooSessionTest

testSuccessBambooLogin 0.093
testSuccessBambooLoginURLWithSlash 0.014
testNullParamsLogin 0.002
testWrongUrlBambooLogin 0.024
testNonExistingServerBambooLogin 0.006
testMalformedUrlBambooLogin 0.005
testWrongUserBambooLogin 0.009
testWrongParamsBambooLogin 0.001
testProjectList 0.192
testPlanList 0.124
testFavouritePlanList 0.02
testBuildForPlanSuccess 0.029
testBuildForPlanFailure 0.019
testBuildForNonExistingPlan 0.02
testBuildDetailsFor1CommitFailedSuccessTests 0.067
testBuildDetailsFor1CommitFailedTests 0.193
testBuildDetailsFor1CommitSuccessTests 0.149
testBuildDetailsFor3CommitFailedSuccessTests 0.157
testBuildDetailsForNoCommitFailedSuccessTests 0.04
testBuildDetailsForNonExistingBuild 0.019
testBuildDetailsMalformedResponse 0.026
testBuildDetailsEmptyResponse 0.016
testAddSimpleLabel 0.021
testAddEmptyLabel 0.015
testAddMultiLineLabel 0.176
testAddLabelToNonExistingBuild 0.119
testAddComment 0.016
testAddEmptyComment 0.015
testAddMultiLineComment 0.022
testAddCommentToNonExistingBuild 0.021
testExecuteBuild 0.016
testExecuteBuildFailed 0.018
testRenewSession 0.034
testOutOfRangePort 0.002

BambooStatusCheckerTest

testGetInterval 0.009
testNewTimerTask 0.001
testLogic 0.035