Summary

Tests Errors Failures Skipped Success Rate Time
220 0 0 0 100% 9.277

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 36 0 0 0 100% 0.166
com.atlassian.theplugin.commons.util 9 0 0 0 100% 0.051
com.atlassian.theplugin.crucible.api.rest 39 0 0 0 100% 2.5
com.atlassian.theplugin.commons.bamboo 92 0 0 0 100% 4.327
com.atlassian.theplugin.crucible 21 0 0 0 100% 0.622
com.atlassian.theplugin.commons.cfg.xstream 14 0 0 0 100% 0.479
com.atlassian.theplugin.commons.fisheye.api.rest 9 0 0 0 100% 1.132

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.002
FishEyeServerCfgTest 2 0 0 0 100% 0.006
BambooServerCfgTest 2 0 0 0 100% 0.002
GlobalConfigurationFactoryImplTest 3 0 0 0 100% 0.074
ProjectIdTest 1 0 0 0 100% 0.002
ProjectConfigurationTest 4 0 0 0 100% 0.003
ServerIdTest 1 0 0 0 100% 0.003
CfgManagerImplTest 22 0 0 0 100% 0.074

com.atlassian.theplugin.commons.util

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

com.atlassian.theplugin.crucible.api.rest

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

com.atlassian.theplugin.commons.bamboo

Class Tests Errors Failures Skipped Success Rate Time
BambooStatusListenerOnlyMyBuildsTest 2 0 0 0 100% 0.011
BambooStatusListenerTest 9 0 0 0 100% 0.028
HtmlBambooStatusListenerTest 11 0 0 0 100% 0.837
BambooServerFacadeTest 19 0 0 0 100% 0.994
FakeBambooRefreshTest 1 0 0 0 100% 0.001
AutoRenewBambooSessionTest 12 0 0 0 100% 0.089
BambooSessionSslTest 1 0 0 0 100% 0.621
BambooSessionTest 34 0 0 0 100% 1.694
BambooStatusCheckerTest 3 0 0 0 100% 0.052

com.atlassian.theplugin.crucible

Class Tests Errors Failures Skipped Success Rate Time
ReviewDataInfoImplTest 4 0 0 0 100% 0.007
CrucibleServerFacadeConnectionTest 6 0 0 0 100% 0.422
CrucibleServerFacadeTest 11 0 0 0 100% 0.193

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomXStreamUtilTest 1 0 0 0 100% 0.171
JDomProjectConfigurationFactoryTest 13 0 0 0 100% 0.308

com.atlassian.theplugin.commons.fisheye.api.rest

Class Tests Errors Failures Skipped Success Rate Time
FishEyeServerFacadeTest 1 0 0 0 100% 0.007
FishEyeRestSessionTest 8 0 0 0 100% 1.125

Test Cases

MiscUtilTest

testIsModified 0
testBuildArrayList 0.001

PrivateProjectConfigurationTest

testGetPrivateServerCfgInfo 0.001

FishEyeServerCfgTest

testEquals 0
testClone 0

ReviewDataInfoImplTest

testSetGetReviewData 0
testSetGetReviewers 0
testGetServer 0
testNotEquals 0.001

BambooStatusListenerOnlyMyBuildsTest

testOnlyMyOn 0.006
testOnlyMyOff 0.001

BambooStatusListenerTest

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

HtmlBambooStatusListenerTest

testSingleSuccessResultForDisabledBuild 0.736
testUpdateDisplay 0.001
testUpdateDisplayUnknownSuccessful 0
testUpdateDisplaySuccessful 0
testUpdateDisplayUnknown 0
testNullStatusCollection 0.017
testEmptyStatusCollection 0.009
testSingleSuccessResult 0.017
testSingleFailedResult 0.006
testSingleFailedResultForDisabledBuild 0.015
testSingleErrorResult 0.011

BambooServerFacadeTest

testProjectList 0.024
testPlanList 0.024
testAddEmptyLabel 0.021
testAddLabelToNonExistingBuild 0.188
testAddComment 0.114
testAddEmptyComment 0.114
testAddCommentToNonExistingBuild 0.018
testExecuteBuild 0.015
testSubscribedBuildStatus 0.032
testFailedLoginSubscribedBuildStatus 0.01
testUninitializedPassword 0.009
testFailedProjectList 0.005
testFailedPlanList 0.007
testConnectionTest 0.016
testBambooConnectionWithEmptyPlan 0.033
testAddLabel 0.014
testFailedExecuteBuild 0.015
testGetBuildDetails 0.21
testGetBuildDetailsNonExistingBuild 0.113

FakeBambooRefreshTest

testRefreshButton 0.001

AutoRenewBambooSessionTest

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

JDomXStreamUtilTest

testBambooServerCfg 0.169

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.002
testFailedLoginGetAllReviews 0.008
testConnectionTestSucceed 0.012
testConnectionTestFailed 0.193
testConnectionTestFailedNullUser 0.101
testConnectionTestFailedEmptyUrl 0.101

BambooServerCfgTest

testEquals 0
testGetClone 0.001

GlobalConfigurationFactoryImplTest

testInvalidSetup 0.009
testSaveLoadAll 0.045
testSaveLoadGlobalServers 0.017

ProjectIdTest

testEquals 0

CrucibleServerFacadeTest

testGetRepositories 0.075
testConnectionTestSucceed 0.058
testCreateReview 0.003
testCreateReviewFromPatch 0
testGetProjects 0.001
testConnectionTestFailedBadPassword 0.019
testConnectionTestFailedCru15 0.02
testChangedCredentials 0.003
testCreateReviewWithInvalidProjectKey 0.001
testCreateReviewFromPatchWithInvalidProjectKey 0
testGetAllReviews 0.001

FishEyeServerFacadeTest

testGetRepositories 0.004

ProjectConfigurationTest

testEquals 0
testGetClone 0
testCopyConstructor 0
testHashCode 0

ServerIdTest

testEquals 0

FishEyeRestSessionTest

testNullParamsLogin 0.121
testPlaceholder 0.001
testSuccessLoginURLWithSlash 0.578
testWrongParamsLogin 0.002
testMalformedUrlLogin 0.005
testWrongUrlLogin 0.169
testNonExistingServerLogin 0.107
testWrongUserLogin 0.107

DateUtilTest

testTimeDiff 0.038
testComplicatedTimeDiff 0

CfgManagerImplTest

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

CrucibleSessionTest

testSuccessBambooLoginURLWithSlash 0.007
testNullParamsLogin 0.002
testOutOfRangePort 0.001
testGetRepositories 0.016
testSuccessCrucibleLogin 0.031
testLoginMalformedResponse 0.106
testLoginInternalErrorResponse 0.102
testNullLoginLogin 0.101
testWrongUrlBambooLogin 0.102
testNonExistingServerBambooLogin 0.102
testMalformedUrlCrucibleLogin 0.111
testWrongUserCrucibleLogin 0.107
testWrongParamsCrucibleLogin 0.102
testSuccessCrucibleLogout 0.106
testFailedCrucibleLogin 0.106
testSuccessCrucibleDoubleLogin 0.009
testMethodCallWithoutLogin 0.001
testGetAllTypeReviews 0.184
testGetEmptyReviews 0.114
testGetEmptyReviewsForType 0.013
testGetReviewsInStates 0.033
testGetMissingReviewsInStates 0.012
testGetEmptyRequestReviewsInStates 0.03
testGetAllReviewsMalformedResponse 0.012
testGetReviewsInStatesMalformedResponse 0.013
testGetEmptyReviewers 0.014
testGetReviewers 0.014
testGetReviewersInvalidId 0.009
testGetReviewersMalformedResponse 0.012
testCreateReview 0.026
testCreateReviewMalformedResponse 0.011
testCreateReviewErrorResponse 0.013
testCreateReviewFromPatch 0.027
testCreateReviewFromNullPatch 0.243
testCreateReviewFromEmptyPatch 0.115
testCreateReviewFromPatchMalformedResponse 0.111
testGetProjects 0.122
testGetProjectsEmpty 0.111
testGetRepositoriesEmpty 0.013

JDomProjectConfigurationFactoryTest

testJDomSaveLoadGlobalConfiguration 0.059
testHashedPassword 0.024
testPublicSerialization 0.034
testPublicOnlyDeSerialization 0.026
testPrivateSerialization 0.032
testCreatePrivateProjectConfiguration 0
testFullSaveLoad 0.052
testInvalidJDomElement 0.007
testInvalidClass 0.003
testNullDomElement 0.002
testNullConfiguration 0
testMissingPrivateCfg 0.019
testSaveLoad 0.023

StringUtilTest

testEncodeDecode 0
testEncodeNull 0.001
testDecodeNull 0.001
testDecodeUndecoded 0.001
testSlurp 0.001

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.62

BambooSessionTest

testSuccessBambooLogin 0.079
testSuccessBambooLoginURLWithSlash 0.014
testNullParamsLogin 0.001
testWrongParamsBambooLogin 0.001
testProjectList 0.023
testPlanList 0.021
testFavouritePlanList 0.163
testBuildForPlanSuccess 0.116
testBuildForPlanFailure 0.022
testBuildForNonExistingPlan 0.016
testBuildDetailsFor1CommitFailedSuccessTests 0.092
testBuildDetailsFor1CommitFailedTests 0.033
testBuildDetailsFor1CommitSuccessTests 0.202
testBuildDetailsFor3CommitFailedSuccessTests 0.155
testBuildDetailsForNoCommitFailedSuccessTests 0.141
testBuildDetailsForNonExistingBuild 0.116
testBuildDetailsMalformedResponse 0.022
testBuildDetailsEmptyResponse 0.015
testAddSimpleLabel 0.012
testAddEmptyLabel 0.014
testAddMultiLineLabel 0.015
testAddLabelToNonExistingBuild 0.165
testAddComment 0.114
testAddEmptyComment 0.013
testAddMultiLineComment 0.013
testAddCommentToNonExistingBuild 0.014
testExecuteBuild 0.013
testExecuteBuildFailed 0.017
testRenewSession 0.026
testOutOfRangePort 0.002
testMalformedUrlLogin 0.005
testWrongUrlLogin 0.004
testNonExistingServerLogin 0.002
testWrongUserLogin 0.006

BambooStatusCheckerTest

testGetInterval 0.014
testNewTimerTask 0.001
testLogic 0.035