Summary

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

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.169
com.atlassian.theplugin.commons.util 9 0 0 0 100% 0.135
com.atlassian.theplugin.crucible.api.rest 39 0 0 0 100% 0.635
com.atlassian.theplugin.commons.bamboo 92 0 0 0 100% 3.392
com.atlassian.theplugin.crucible 21 0 0 0 100% 0.245
com.atlassian.theplugin.commons.cfg.xstream 14 0 0 0 100% 0.437
com.atlassian.theplugin.commons.fisheye.api.rest 9 0 0 0 100% 0.856

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.003
GlobalConfigurationFactoryImplTest 3 0 0 0 100% 0.076
ProjectIdTest 1 0 0 0 100% 0.002
ProjectConfigurationTest 4 0 0 0 100% 0.004
ServerIdTest 1 0 0 0 100% 0.002
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.005
DateUtilTest 2 0 0 0 100% 0.122
StringUtilTest 5 0 0 0 100% 0.008

com.atlassian.theplugin.crucible.api.rest

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

com.atlassian.theplugin.commons.bamboo

Class Tests Errors Failures Skipped Success Rate Time
BambooStatusListenerOnlyMyBuildsTest 2 0 0 0 100% 0.005
BambooStatusListenerTest 9 0 0 0 100% 0.031
HtmlBambooStatusListenerTest 11 0 0 0 100% 0.886
BambooServerFacadeTest 19 0 0 0 100% 0.487
FakeBambooRefreshTest 1 0 0 0 100% 0.001
AutoRenewBambooSessionTest 12 0 0 0 100% 0.097
BambooSessionSslTest 1 0 0 0 100% 0.693
BambooSessionTest 34 0 0 0 100% 1.138
BambooStatusCheckerTest 3 0 0 0 100% 0.054

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.042
CrucibleServerFacadeTest 11 0 0 0 100% 0.196

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomXStreamUtilTest 1 0 0 0 100% 0.162
JDomProjectConfigurationFactoryTest 13 0 0 0 100% 0.275

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

Class Tests Errors Failures Skipped Success Rate Time
FishEyeServerFacadeTest 1 0 0 0 100% 0.008
FishEyeRestSessionTest 8 0 0 0 100% 0.848

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.002
testOnlyMyOff 0.001

BambooStatusListenerTest

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

HtmlBambooStatusListenerTest

testSingleSuccessResultForDisabledBuild 0.774
testUpdateDisplay 0.001
testUpdateDisplayUnknownSuccessful 0.001
testUpdateDisplaySuccessful 0
testUpdateDisplayUnknown 0
testNullStatusCollection 0.013
testEmptyStatusCollection 0.024
testSingleSuccessResult 0.02
testSingleFailedResult 0.01
testSingleFailedResultForDisabledBuild 0.014
testSingleErrorResult 0.009

BambooServerFacadeTest

testProjectList 0.026
testPlanList 0.029
testAddEmptyLabel 0.024
testAddLabelToNonExistingBuild 0.018
testAddComment 0.018
testAddEmptyComment 0.018
testAddCommentToNonExistingBuild 0.017
testExecuteBuild 0.094
testSubscribedBuildStatus 0.041
testFailedLoginSubscribedBuildStatus 0.012
testUninitializedPassword 0.012
testFailedProjectList 0.005
testFailedPlanList 0.007
testConnectionTest 0.019
testBambooConnectionWithEmptyPlan 0.033
testAddLabel 0.02
testFailedExecuteBuild 0.016
testGetBuildDetails 0.033
testGetBuildDetailsNonExistingBuild 0.026

FakeBambooRefreshTest

testRefreshButton 0

AutoRenewBambooSessionTest

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

JDomXStreamUtilTest

testBambooServerCfg 0.161

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.002
testFailedLoginGetAllReviews 0.008
testConnectionTestSucceed 0.011
testConnectionTestFailed 0.01
testConnectionTestFailedNullUser 0.003
testConnectionTestFailedEmptyUrl 0.002

BambooServerCfgTest

testEquals 0
testGetClone 0

GlobalConfigurationFactoryImplTest

testInvalidSetup 0.01
testSaveLoadAll 0.044
testSaveLoadGlobalServers 0.016

ProjectIdTest

testEquals 0

CrucibleServerFacadeTest

testGetRepositories 0.076
testConnectionTestSucceed 0.054
testCreateReview 0.007
testCreateReviewFromPatch 0
testGetProjects 0.001
testConnectionTestFailedBadPassword 0.019
testConnectionTestFailedCru15 0.022
testChangedCredentials 0.002
testCreateReviewWithInvalidProjectKey 0
testCreateReviewFromPatchWithInvalidProjectKey 0
testGetAllReviews 0.001

FishEyeServerFacadeTest

testGetRepositories 0.006

ProjectConfigurationTest

testEquals 0
testGetClone 0
testCopyConstructor 0
testHashCode 0

ServerIdTest

testEquals 0

FishEyeRestSessionTest

testNullParamsLogin 0.124
testPlaceholder 0.002
testSuccessLoginURLWithSlash 0.593
testWrongParamsLogin 0.002
testMalformedUrlLogin 0.008
testWrongUrlLogin 0.071
testNonExistingServerLogin 0.006
testWrongUserLogin 0.007

DateUtilTest

testTimeDiff 0.036
testComplicatedTimeDiff 0

CfgManagerImplTest

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

CrucibleSessionTest

testSuccessBambooLoginURLWithSlash 0.01
testNullParamsLogin 0.002
testOutOfRangePort 0.001
testGetRepositories 0.019
testSuccessCrucibleLogin 0.034
testLoginMalformedResponse 0.006
testLoginInternalErrorResponse 0.004
testNullLoginLogin 0.001
testWrongUrlBambooLogin 0.003
testNonExistingServerBambooLogin 0.002
testMalformedUrlCrucibleLogin 0.004
testWrongUserCrucibleLogin 0.01
testWrongParamsCrucibleLogin 0.001
testSuccessCrucibleLogout 0.009
testFailedCrucibleLogin 0.107
testSuccessCrucibleDoubleLogin 0.007
testMethodCallWithoutLogin 0.005
testGetAllTypeReviews 0.058
testGetEmptyReviews 0.012
testGetEmptyReviewsForType 0.012
testGetReviewsInStates 0.026
testGetMissingReviewsInStates 0.011
testGetEmptyRequestReviewsInStates 0.023
testGetAllReviewsMalformedResponse 0.012
testGetReviewsInStatesMalformedResponse 0.013
testGetEmptyReviewers 0.014
testGetReviewers 0.013
testGetReviewersInvalidId 0.012
testGetReviewersMalformedResponse 0.011
testCreateReview 0.027
testCreateReviewMalformedResponse 0.011
testCreateReviewErrorResponse 0.012
testCreateReviewFromPatch 0.021
testCreateReviewFromNullPatch 0.017
testCreateReviewFromEmptyPatch 0.015
testCreateReviewFromPatchMalformedResponse 0.01
testGetProjects 0.022
testGetProjectsEmpty 0.013
testGetRepositoriesEmpty 0.013

JDomProjectConfigurationFactoryTest

testJDomSaveLoadGlobalConfiguration 0.038
testHashedPassword 0.023
testPublicSerialization 0.029
testPublicOnlyDeSerialization 0.024
testPrivateSerialization 0.035
testCreatePrivateProjectConfiguration 0.001
testFullSaveLoad 0.05
testInvalidJDomElement 0.007
testInvalidClass 0.003
testNullDomElement 0.002
testNullConfiguration 0.001
testMissingPrivateCfg 0.015
testSaveLoad 0.021

StringUtilTest

testEncodeDecode 0.001
testEncodeNull 0.001
testDecodeNull 0.001
testDecodeUndecoded 0
testSlurp 0

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.691

BambooSessionTest

testSuccessBambooLogin 0.09
testSuccessBambooLoginURLWithSlash 0.015
testNullParamsLogin 0.002
testWrongParamsBambooLogin 0.003
testProjectList 0.075
testPlanList 0.024
testFavouritePlanList 0.021
testBuildForPlanSuccess 0.121
testBuildForPlanFailure 0.027
testBuildForNonExistingPlan 0.02
testBuildDetailsFor1CommitFailedSuccessTests 0.14
testBuildDetailsFor1CommitFailedTests 0.032
testBuildDetailsFor1CommitSuccessTests 0.048
testBuildDetailsFor3CommitFailedSuccessTests 0.061
testBuildDetailsForNoCommitFailedSuccessTests 0.045
testBuildDetailsForNonExistingBuild 0.071
testBuildDetailsMalformedResponse 0.02
testBuildDetailsEmptyResponse 0.02
testAddSimpleLabel 0.018
testAddEmptyLabel 0.023
testAddMultiLineLabel 0.017
testAddLabelToNonExistingBuild 0.019
testAddComment 0.017
testAddEmptyComment 0.017
testAddMultiLineComment 0.016
testAddCommentToNonExistingBuild 0.07
testExecuteBuild 0.016
testExecuteBuildFailed 0.018
testRenewSession 0.032
testOutOfRangePort 0.001
testMalformedUrlLogin 0.006
testWrongUrlLogin 0.004
testNonExistingServerLogin 0.002
testWrongUserLogin 0.006

BambooStatusCheckerTest

testGetInterval 0.01
testNewTimerTask 0
testLogic 0.039