Summary

Tests Errors Failures Skipped Success Rate Time
279 0 0 0 100% 22.083

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.314
com.atlassian.theplugin.commons.cfg 47 0 0 0 100% 0.229
com.atlassian.theplugin.commons.util 13 0 0 0 100% 0.036
com.atlassian.theplugin.crucible.api.rest 41 0 0 0 100% 2.488
com.atlassian.theplugin.commons.bamboo.api 12 0 0 0 100% 0.012
com.atlassian.theplugin.commons.bamboo 91 0 0 0 100% 7.037
com.atlassian.theplugin.crucible 21 0 0 0 100% 0.622
com.atlassian.connector.commons.misc 4 0 0 0 100% 0.037
com.atlassian.theplugin.commons.crucible.api.model.notification 20 0 0 0 100% 0.028
com.atlassian.theplugin.commons.cfg.xstream 16 0 0 0 100% 0.466
com.atlassian.theplugin.commons.fisheye.api.rest 9 0 0 0 100% 10.814

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

com.atlassian.theplugin.commons.cfg

Class Tests Errors Failures Skipped Success Rate Time
CfgManagerNotificationSecondTest 7 0 0 0 100% 0.041
CfgManagerImplTest 20 0 0 0 100% 0.05
PrivateProjectConfigurationTest 1 0 0 0 100% 0.002
ProjectConfigurationTest 8 0 0 0 100% 0.004
ProjectIdTest 1 0 0 0 100% 0.001
GlobalConfigurationFactoryImplTest 3 0 0 0 100% 0.116
BambooServerCfgTest 2 0 0 0 100% 0.002
CfgManagerNotificationTest 2 0 0 0 100% 0.011
ServerIdTest 1 0 0 0 100% 0.001
FishEyeServerCfgTest 2 0 0 0 100% 0.001

com.atlassian.theplugin.commons.util

Class Tests Errors Failures Skipped Success Rate Time
StringUtilTest 9 0 0 0 100% 0.005
DateUtilTest 2 0 0 0 100% 0.028
MiscUtilTest 2 0 0 0 100% 0.003

com.atlassian.theplugin.crucible.api.rest

Class Tests Errors Failures Skipped Success Rate Time
CrucibleSessionTest 41 0 0 0 100% 2.488

com.atlassian.theplugin.commons.bamboo.api

Class Tests Errors Failures Skipped Success Rate Time
AutoRenewBambooSessionTest 12 0 0 0 100% 0.012

com.atlassian.theplugin.commons.bamboo

Class Tests Errors Failures Skipped Success Rate Time
FakeBambooRefreshTest 1 0 0 0 100% 0.001
BambooServerFacadeTest 23 0 0 0 100% 1.44
BambooStatusListenerOnlyMyBuildsTest 2 0 0 0 100% 0.005
BambooSessionSslTest 1 0 0 0 100% 0.832
BambooStatusCheckerTest 3 0 0 0 100% 0.106
BambooStatusListenerTest 9 0 0 0 100% 0.02
BambooSessionTest 41 0 0 0 100% 3.968
HtmlBambooStatusListenerTest 11 0 0 0 100% 0.665

com.atlassian.theplugin.crucible

Class Tests Errors Failures Skipped Success Rate Time
ReviewDataInfoImplTest 4 0 0 0 100% 0.003
CrucibleServerFacadeConnectionTest 6 0 0 0 100% 0.344
CrucibleServerFacadeTest 11 0 0 0 100% 0.275

com.atlassian.connector.commons.misc

Class Tests Errors Failures Skipped Success Rate Time
IntRangesTest 2 0 0 0 100% 0.001
IntRangesParserTest 2 0 0 0 100% 0.036

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

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

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomXStreamUtilTest 1 0 0 0 100% 0.187
JDomProjectConfigurationDaoTest 15 0 0 0 100% 0.279

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

Class Tests Errors Failures Skipped Success Rate Time
FishEyeServerFacadeTest 1 0 0 0 100% 0.006
FishEyeRestSessionTest 8 0 0 0 100% 10.808

Test Cases

ReviewDataInfoImplTest

testSetGetReviewData 0
testSetGetReviewers 0
testGetServer 0.001
testNotEquals 0

FakeBambooRefreshTest

testRefreshButton 0

CfgManagerNotificationSecondTest

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

CfgManagerImplTest

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

PrivateProjectConfigurationTest

testGetPrivateServerCfgInfo 0.001

StringUtilTest

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

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.001
testConnectionTestSucceed 0.041
testFailedLoginGetAllReviews 0.165
testConnectionTestFailed 0.016
testConnectionTestFailedNullUser 0.008
testConnectionTestFailedEmptyUrl 0.111

FishEyeServerFacadeTest

testGetRepositories 0.003

BambooServerFacadeTest

testExecuteBuild 0.026
testSubscribedBuildStatus 0.098
testBuildCompletedDate 0.114
testBuildCompletedDateWithTimezoneOffset 0.208
testBuildCompletedDateWithTimezoneOffset2 0.109
testBuildCompletedDateWithTimeZoneForFavourites 0.107
testFailedLoginSubscribedBuildStatus 0.114
testUninitializedPassword 0.039
testProjectList 0.031
testFailedProjectList 0.01
testPlanList 0.028
testFailedPlanList 0.006
testConnectionTest 0.027
testBambooConnectionWithEmptyPlan 0.037
testAddLabel 0.119
testAddEmptyLabel 0.057
testAddLabelToNonExistingBuild 0.022
testAddComment 0.021
testAddEmptyComment 0.137
testAddCommentToNonExistingBuild 0.022
testFailedExecuteBuild 0.029
testGetBuildDetails 0.041
testGetBuildDetailsNonExistingBuild 0.029

FishEyeRestSessionTest

testPlaceholder 0.108
testSuccessLoginURLWithSlash 0.542
testNullParamsLogin 0.001
testWrongParamsLogin 0.001
testMalformedUrlLogin 0.004
testWrongUrlLogin 0.018
testNonExistingServerLogin 10.004
testWrongUserLogin 0.109

BambooStatusListenerOnlyMyBuildsTest

testOnlyMyOn 0.002
testOnlyMyOff 0.001

CrucibleSessionTest

testGetRepositories 0.064
testNullParamsLogin 0.031
testOutOfRangePort 0.025
testCreateReview 0.077
testCreateReviewFromPatch 0.063
testGetProjects 0.067
testSuccessCrucibleLogin 0.096
testLoginMalformedResponse 0.024
testLoginInternalErrorResponse 0.011
testSuccessCrucibleLoginURLWithSlash 0.004
testNullLoginLogin 0
testWrongUrlCrucibleLogin 0.002
testNonExistingServerCrucibleLogin 0.001
testMalformedUrlCrucibleLogin 0.002
testWrongUserCrucibleLogin 0.005
testWrongParamsCrucibleLogin 0.001
testSuccessCrucibleLogout 0.004
testFailedCrucibleLogin 0.005
testSuccessCrucibleDoubleLogin 0.052
testMethodCallWithoutLogin 0.026
testGetAllTypeReviews 0.124
testGetEmptyReviews 0.019
testGetEmptyReviewsForType 0.019
testGetReviewsInStates 0.044
testGetMissingReviewsInStates 0.115
testGetEmptyRequestReviewsInStates 0.176
testGetAllReviewsMalformedResponse 0.014
testGetReviewsInStatesMalformedResponse 0.176
testGetEmptyReviewers 0.033
testGetReviewers 0.021
testGetReviewersInvalidId 0.019
testGetReviewersMalformedResponse 0.122
testCreateReviewMalformedResponse 0.049
testCreateReviewErrorResponse 0.12
testCreateReviewFromNullPatch 0.151
testCreateReviewFromEmptyPatch 0.126
testCreateReviewFromPatchMalformedResponse 0.117
testGetProjectsEmpty 0.11
testGetRepositoriesEmpty 0.01
testGetReviewDetailsWithAddedFile 0.178
testGetReviewDetails 0.163

ProjectConfigurationTest

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

ProjectIdTest

testEquals 0

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.83

IntRangesTest

testRanges 0.001
testEquals 0

DateUtilTest

testTimeDiff 0.027
testComplicatedTimeDiff 0

AutoRenewBambooSessionTest

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

GlobalConfigurationFactoryImplTest

testInvalidSetup 0.015
testSaveLoadAll 0.069
testSaveLoadGlobalServers 0.029

BambooServerCfgTest

testEquals 0
testGetClone 0

BambooStatusCheckerTest

testGetInterval 0.006
testNewTimerTask 0.001
testLogic 0.097

JDomXStreamUtilTest

testBambooServerCfg 0.186

IntRangesParserTest

testParse 0.032
testParseInvalid 0

CfgManagerNotificationTest

testlNotifications 0.008
testAddListener 0.001

ServerIdTest

testEquals 0

CrucibleServerFacadeTest

testGetRepositories 0.065
testConnectionTestFailedBadPassword 0.022
testConnectionTestFailedCru15 0.019
testConnectionTestSucceed 0.152
testChangedCredentials 0.004
testCreateReview 0.001
testCreateReviewWithInvalidProjectKey 0.001
testCreateReviewFromPatch 0.001
testCreateReviewFromPatchWithInvalidProjectKey 0
testGetAllReviews 0.001
testGetProjects 0.001

MiscUtilTest

testIsModified 0
testBuildArrayList 0

BambooStatusListenerTest

testSingleBuildFailed 0.006
testSingleBuildSucceed 0.001
testSingleBuildUnknown 0
testSingleBuildOK2Failed 0.001
testSingleBuildFailed2OK 0.001
testSingleBuildSequence 0.002
testMultipleOK2Failed 0.001
testMultipleFailed2OK 0.001
testMultiple 0.005

ReviewDifferenceProducerTest

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

BambooSessionTest

testNullParamsLogin 0.104
testExecuteBuild 0.03
testProjectList 0.02
testPlanList 0.136
testAddEmptyLabel 0.126
testAddLabelToNonExistingBuild 0.129
testAddComment 0.053
testAddEmptyComment 0.178
testAddCommentToNonExistingBuild 0.129
testSuccessBambooLogin 0.09
testSuccessBambooLoginURLWithSlash 0.01
testWrongParamsBambooLogin 0.004
testFavouritePlanList 0.041
testBuildForPlanSuccessNoTimezone 0.272
testBuildForPlanSuccessNegativeTimezone 0.142
testBuildForPlanSuccessPositiveTimezone 0.13
testGetLatestBuildForNeverExecutedPlan 0.14
testGetLatestBuildForNeverExecutedPlan2 0.071
testGetLatestBuildForPlanBamboo2x1x5 0.069
testGetLatestBuildForPlanBamboo2x1x5WithTimeZoneOffset 0.047
testBuildForPlanFailure 0.032
testBuildForNonExistingPlan 0.042
testBuildDetailsFor1CommitFailedSuccessTests 0.205
testBuildDetailsFor1CommitFailedTests 0.133
testBuildDetailsFor1CommitSuccessTests 0.122
testBuildDetailsFor3CommitFailedSuccessTests 0.158
testBuildDetailsForNoCommitFailedSuccessTests 0.059
testBuildDetailsForNonExistingBuild 0.031
testBuildDetailsMalformedResponse 0.027
testBuildDetailsEmptyResponse 0.122
testAddSimpleLabel 0.122
testAddMultiLineLabel 0.136
testAddMultiLineComment 0.041
testExecuteBuildFailed 0.022
testRenewSession 0.169
testOutOfRangePort 0.001
testEnabledStatus 0.297
testMalformedUrlLogin 0.104
testWrongUrlLogin 0.106
testNonExistingServerLogin 0.002
testWrongUserLogin 0.103

FishEyeServerCfgTest

testEquals 0
testClone 0

ProjectCacheTest

testGetProjectsEmptySessionResponse 0.305
testGetProjectsNonEmptySessionResponse 0.005
testGetProjectNotExistsOnTheServer 0.001
testGetProjectExistsOnTheServer 0
testGetProjectClearCache 0.001

HtmlBambooStatusListenerTest

testUpdateDisplay 0.002
testUpdateDisplayUnknownSuccessful 0
testUpdateDisplaySuccessful 0
testUpdateDisplayUnknown 0
testNullStatusCollection 0.62
testEmptyStatusCollection 0.006
testSingleSuccessResult 0.006
testSingleSuccessResultForDisabledBuild 0.007
testSingleFailedResult 0.005
testSingleFailedResultForDisabledBuild 0.006
testSingleErrorResult 0.006

JDomProjectConfigurationDaoTest

testJDomSaveLoadGlobalConfiguration 0.019
testLoadOldSaveNew 0.004
testHashedPassword 0.018
testPublicSerialization 0.037
testPublicOnlyDeSerialization 0.009
testPrivateSerialization 0.06
testPrivateSerializationEmptyUsernamePassword 0.049
testCreatePrivateProjectConfiguration 0
testFullSaveLoad 0.02
testInvalidJDomElement 0.007
testInvalidClass 0.002
testNullDomElement 0
testNullConfiguration 0
testMissingPrivateCfg 0.009
testSaveLoad 0.009