Summary

Tests Errors Failures Skipped Success Rate Time
263 0 0 0 100% 10.223

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.crucible 5 0 0 0 100% 0.657
com.atlassian.theplugin.commons.cfg 47 0 0 0 100% 0.337
com.atlassian.theplugin.commons.util 13 0 0 0 100% 0.167
com.atlassian.theplugin.crucible.api.rest 39 0 0 0 100% 0.686
com.atlassian.theplugin.commons.bamboo 93 0 0 0 100% 4.972
com.atlassian.theplugin.crucible 21 0 0 0 100% 0.506
com.atlassian.theplugin.commons.crucible.api.model.notification 20 0 0 0 100% 0.09
com.atlassian.theplugin.commons.cfg.xstream 16 0 0 0 100% 1.638
com.atlassian.theplugin.commons.fisheye.api.rest 9 0 0 0 100% 1.17

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

com.atlassian.theplugin.commons.crucible

Class Tests Errors Failures Skipped Success Rate Time
ProjectCacheTest 5 0 0 0 100% 0.657

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.002
CfgManagerNotificationTest 2 0 0 0 100% 0.029
CfgManagerNotificationSecondTest 7 0 0 0 100% 0.03
BambooServerCfgTest 2 0 0 0 100% 0.005
GlobalConfigurationFactoryImplTest 3 0 0 0 100% 0.196
ProjectIdTest 1 0 0 0 100% 0.001
ProjectConfigurationTest 8 0 0 0 100% 0.007
ServerIdTest 1 0 0 0 100% 0.003
CfgManagerImplTest 20 0 0 0 100% 0.062

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.141
StringUtilTest 9 0 0 0 100% 0.022

com.atlassian.theplugin.crucible.api.rest

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

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.087
HtmlBambooStatusListenerTest 11 0 0 0 100% 1.344
BambooServerFacadeTest 20 0 0 0 100% 1.498
FakeBambooRefreshTest 1 0 0 0 100% 0.001
AutoRenewBambooSessionTest 12 0 0 0 100% 0.094
BambooSessionSslTest 1 0 0 0 100% 0.76
BambooSessionTest 34 0 0 0 100% 1.119
BambooStatusCheckerTest 3 0 0 0 100% 0.058

com.atlassian.theplugin.crucible

Class Tests Errors Failures Skipped Success Rate Time
ReviewDataInfoImplTest 4 0 0 0 100% 0.009
CrucibleServerFacadeConnectionTest 6 0 0 0 100% 0.278
CrucibleServerFacadeTest 11 0 0 0 100% 0.219

com.atlassian.theplugin.commons.crucible.api.model.notification

Class Tests Errors Failures Skipped Success Rate Time
ReviewDifferenceProducerTest 20 0 0 0 100% 0.09

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomProjectConfigurationDaoTest 15 0 0 0 100% 1.186
JDomXStreamUtilTest 1 0 0 0 100% 0.452

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.163

Test Cases

MiscUtilTest

testIsModified 0
testBuildArrayList 0

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

BambooStatusListenerTest

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

HtmlBambooStatusListenerTest

testSingleSuccessResultForDisabledBuild 1.165
testUpdateDisplay 0.002
testUpdateDisplayUnknownSuccessful 0
testUpdateDisplaySuccessful 0.001
testUpdateDisplayUnknown 0
testNullStatusCollection 0.019
testEmptyStatusCollection 0.011
testSingleSuccessResult 0.012
testSingleFailedResult 0.011
testSingleFailedResultForDisabledBuild 0.064
testSingleErrorResult 0.022

CfgManagerNotificationTest

testlNotifications 0.024
testAddListener 0.002

BambooServerFacadeTest

testProjectList 0.065
testPlanList 0.06
testAddEmptyLabel 0.085
testAddLabelToNonExistingBuild 0.2
testAddComment 0.019
testAddEmptyComment 0.064
testAddCommentToNonExistingBuild 0.061
testExecuteBuild 0.051
testSubscribedBuildStatus 0.088
testBuildCompletedDate 0.095
testFailedLoginSubscribedBuildStatus 0.036
testUninitializedPassword 0.034
testFailedProjectList 0.051
testFailedPlanList 0.031
testConnectionTest 0.05
testBambooConnectionWithEmptyPlan 0.06
testAddLabel 0.05
testFailedExecuteBuild 0.072
testGetBuildDetails 0.082
testGetBuildDetailsNonExistingBuild 0.021

JDomProjectConfigurationDaoTest

testJDomSaveLoadGlobalConfiguration 0.376
testLoadOldSaveNew 0.008
testHashedPassword 0.095
testPublicSerialization 0.048
testPublicOnlyDeSerialization 0.039
testPrivateSerialization 0.21
testPrivateSerializationEmptyUsernamePassword 0.187
testCreatePrivateProjectConfiguration 0.003
testFullSaveLoad 0.068
testInvalidJDomElement 0.015
testInvalidClass 0.011
testNullDomElement 0.002
testNullConfiguration 0
testMissingPrivateCfg 0.029
testSaveLoad 0.039

FakeBambooRefreshTest

testRefreshButton 0

AutoRenewBambooSessionTest

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

JDomXStreamUtilTest

testBambooServerCfg 0.447

CfgManagerNotificationSecondTest

testServerAdded 0.001
testServerRemoved 0
testServerDisabledEnabled 0.012
testServerLabelChanged 0.002
testServerConnectionDataChanged 0.003
testConfigurationMixedUpdate 0.002
testServerDataChange 0.003

ReviewDifferenceProducerTest

testSameReviewsWithoutFiles 0.015
testSameReviews 0
testSameGeneralComments 0.001
testNullGeneralComments 0
testAddedGeneralComment 0.007
testReviewItemAdded 0.003
testReviewItemRemoved 0.005
testAddedGeneralCommentReply 0.004
testUpdatedGeneralCommentReply 0.003
testRemovedGeneralCommentReply 0.002
testEditedGeneralComment 0.006
testRemovedGeneralComment 0.002
testAddedVersionedComment 0.001
testEditedVersionedComment 0.001
testRemovedVersionedComment 0.002
testAddedVersionedCommentReply 0
testUpdatedVersionedCommentReply 0
testRemovedVersionedCommentReply 0
testStateChanges 0.003
testReviewersChanges 0.006

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.021
testFailedLoginGetAllReviews 0.08
testConnectionTestSucceed 0.093
testConnectionTestFailed 0.042
testConnectionTestFailedNullUser 0.014
testConnectionTestFailedEmptyUrl 0.016

BambooServerCfgTest

testEquals 0
testGetClone 0

GlobalConfigurationFactoryImplTest

testInvalidSetup 0.048
testSaveLoadAll 0.109
testSaveLoadGlobalServers 0.032

ProjectIdTest

testEquals 0

CrucibleServerFacadeTest

testGetRepositories 0.094
testConnectionTestSucceed 0.057
testCreateReview 0.006
testCreateReviewFromPatch 0.001
testGetProjects 0.001
testConnectionTestFailedBadPassword 0.023
testConnectionTestFailedCru15 0.021
testChangedCredentials 0.002
testCreateReviewWithInvalidProjectKey 0.001
testCreateReviewFromPatchWithInvalidProjectKey 0
testGetAllReviews 0.001

FishEyeServerFacadeTest

testGetRepositories 0.003

ProjectConfigurationTest

testEquals 0
testGetClone 0
testCopyConstructor 0
testHashCode 0
testGetJiraServers 0.001
testGetBambooServers 0
testGetCrucibleServers 0
testGetFisheyeServers 0

ServerIdTest

testEquals 0

FishEyeRestSessionTest

testNullParamsLogin 0.142
testPlaceholder 0.001
testSuccessLoginURLWithSlash 0.718
testWrongParamsLogin 0.018
testMalformedUrlLogin 0.028
testWrongUrlLogin 0.193
testNonExistingServerLogin 0.009
testWrongUserLogin 0.009

DateUtilTest

testTimeDiff 0.131
testComplicatedTimeDiff 0

CfgManagerImplTest

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

CrucibleSessionTest

testSuccessBambooLoginURLWithSlash 0.01
testNullParamsLogin 0.002
testOutOfRangePort 0.004
testGetRepositories 0.018
testSuccessCrucibleLogin 0.048
testLoginMalformedResponse 0.009
testLoginInternalErrorResponse 0.004
testNullLoginLogin 0.001
testWrongUrlBambooLogin 0.008
testNonExistingServerBambooLogin 0.002
testMalformedUrlCrucibleLogin 0.005
testWrongUserCrucibleLogin 0.006
testWrongParamsCrucibleLogin 0.002
testSuccessCrucibleLogout 0.008
testFailedCrucibleLogin 0.011
testSuccessCrucibleDoubleLogin 0.006
testMethodCallWithoutLogin 0.001
testGetAllTypeReviews 0.166
testGetEmptyReviews 0.013
testGetEmptyReviewsForType 0.015
testGetReviewsInStates 0.026
testGetMissingReviewsInStates 0.013
testGetEmptyRequestReviewsInStates 0.022
testGetAllReviewsMalformedResponse 0.026
testGetReviewsInStatesMalformedResponse 0.011
testGetEmptyReviewers 0.014
testGetReviewers 0.013
testGetReviewersInvalidId 0.01
testGetReviewersMalformedResponse 0.012
testCreateReview 0.032
testCreateReviewMalformedResponse 0.016
testCreateReviewErrorResponse 0.013
testCreateReviewFromPatch 0.017
testCreateReviewFromNullPatch 0.016
testCreateReviewFromEmptyPatch 0.024
testCreateReviewFromPatchMalformedResponse 0.012
testGetProjects 0.015
testGetProjectsEmpty 0.015
testGetRepositoriesEmpty 0.012

ProjectCacheTest

testGetProjectsEmptySessionResponse 0.625
testGetProjectsNonEmptySessionResponse 0.014
testGetProjectNotExistsOnTheServer 0.003
testGetProjectExistsOnTheServer 0.002
testGetProjectClearCache 0.005

StringUtilTest

testEncodeDecode 0.002
testEncodeNull 0.001
testDecodeNull 0.002
testEmptyString 0
testDecodeInvalidEncodedString 0.001
testDecodeInvalidEncodedString2 0
testDecodeUndecoded 0.005
testSlurp 0.001
testGetFirstLine 0

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.755

BambooSessionTest

testSuccessBambooLogin 0.09
testSuccessBambooLoginURLWithSlash 0.015
testNullParamsLogin 0.002
testWrongParamsBambooLogin 0.002
testProjectList 0.076
testPlanList 0.024
testFavouritePlanList 0.02
testBuildForPlanSuccess 0.136
testBuildForPlanFailure 0.027
testBuildForNonExistingPlan 0.018
testBuildDetailsFor1CommitFailedSuccessTests 0.086
testBuildDetailsFor1CommitFailedTests 0.093
testBuildDetailsFor1CommitSuccessTests 0.051
testBuildDetailsFor3CommitFailedSuccessTests 0.059
testBuildDetailsForNoCommitFailedSuccessTests 0.039
testBuildDetailsForNonExistingBuild 0.021
testBuildDetailsMalformedResponse 0.02
testBuildDetailsEmptyResponse 0.023
testAddSimpleLabel 0.017
testAddEmptyLabel 0.065
testAddMultiLineLabel 0.018
testAddLabelToNonExistingBuild 0.019
testAddComment 0.016
testAddEmptyComment 0.016
testAddMultiLineComment 0.032
testAddCommentToNonExistingBuild 0.017
testExecuteBuild 0.015
testExecuteBuildFailed 0.017
testRenewSession 0.034
testOutOfRangePort 0.003
testMalformedUrlLogin 0.006
testWrongUrlLogin 0.005
testNonExistingServerLogin 0.002
testWrongUserLogin 0.007

BambooStatusCheckerTest

testGetInterval 0.007
testNewTimerTask 0.001
testLogic 0.041