Summary

Tests Errors Failures Skipped Success Rate Time
266 0 0 0 100% 20.19

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.api.rest 1 0 0 0 100% 0.008
com.atlassian.theplugin.crucible.api.rest 45 0 0 0 100% 5.209
com.atlassian.theplugin.commons.bamboo.api 59 0 0 0 100% 6.624
com.atlassian.theplugin.commons.crucible.api.model 9 0 0 0 100% 0.03
com.atlassian.theplugin.crucible 23 0 0 0 100% 1.335
com.atlassian.theplugin.commons.bamboo 29 0 0 0 100% 3.111
com.atlassian.connector.commons.misc 5 0 0 0 100% 0.018
com.atlassian.theplugin.commons.crucible.api.model.notification 34 0 0 0 100% 0.072
com.atlassian.theplugin.commons.cfg 15 0 0 0 100% 0.041
com.atlassian.theplugin.commons.crucible 2 0 0 0 100% 0.007
com.atlassian.theplugin.commons.util 13 0 0 0 100% 0.053
com.atlassian.theplugin.commons.fisheye 2 0 0 0 100% 0.025
com.atlassian.connector.commons.remoteapi 1 0 0 0 100% 0.32
com.atlassian.theplugin.commons.cfg.xstream 16 0 0 0 100% 0.542
com.atlassian.theplugin.commons.fisheye.api.rest 12 0 0 0 100% 2.795

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

com.atlassian.theplugin.commons.crucible.api.rest

Class Tests Errors Failures Skipped Success Rate Time
CrucibleRestXmlHelperTest 1 0 0 0 100% 0.008

com.atlassian.theplugin.crucible.api.rest

Class Tests Errors Failures Skipped Success Rate Time
CrucibleSessionTest 45 0 0 0 100% 5.209

com.atlassian.theplugin.commons.bamboo.api

Class Tests Errors Failures Skipped Success Rate Time
BambooSessionSslTest 1 0 0 0 100% 0.774
BambooSessionTest 46 0 0 0 100% 5.828
AutoRenewBambooSessionTest 12 0 0 0 100% 0.022

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

Class Tests Errors Failures Skipped Success Rate Time
PermIdTest 1 0 0 0 100% 0.003
ReviewerTest 1 0 0 0 100% 0.004
CrucibleFileInfoImplTest 3 0 0 0 100% 0.009
RepositoryTest 1 0 0 0 100% 0.003
CrucibleProjectTest 1 0 0 0 100% 0.003
SvnRepositoryTest 1 0 0 0 100% 0.003
CrucibleVersionInfoTest 1 0 0 0 100% 0.005

com.atlassian.theplugin.crucible

Class Tests Errors Failures Skipped Success Rate Time
CrucibleServerFacadeTest 13 0 0 0 100% 0.614
CrucibleServerFacadeConnectionTest 6 0 0 0 100% 0.716
ReviewDataInfoImplTest 4 0 0 0 100% 0.005

com.atlassian.theplugin.commons.bamboo

Class Tests Errors Failures Skipped Success Rate Time
FakeBambooRefreshTest 1 0 0 0 100% 0.002
BambooServerFacadeTest 28 0 0 0 100% 3.109

com.atlassian.connector.commons.misc

Class Tests Errors Failures Skipped Success Rate Time
IntRangesParserTest 2 0 0 0 100% 0.012
IntRangesTest 3 0 0 0 100% 0.006

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

Class Tests Errors Failures Skipped Success Rate Time
ReviewDifferenceProducerTest 34 0 0 0 100% 0.072

com.atlassian.theplugin.commons.cfg

Class Tests Errors Failures Skipped Success Rate Time
ProjectIdTest 1 0 0 0 100% 0.007
PrivateProjectConfigurationTest 1 0 0 0 100% 0.006
ProjectConfigurationTest 8 0 0 0 100% 0.017
FishEyeServerCfgTest 2 0 0 0 100% 0.004
ServerIdTest 1 0 0 0 100% 0.003
BambooServerCfgTest 2 0 0 0 100% 0.004

com.atlassian.theplugin.commons.crucible

Class Tests Errors Failures Skipped Success Rate Time
CrucibleServerFacadeImplTest 2 0 0 0 100% 0.007

com.atlassian.theplugin.commons.util

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

com.atlassian.theplugin.commons.fisheye

Class Tests Errors Failures Skipped Success Rate Time
FishEyeServerFacadeTest 2 0 0 0 100% 0.025

com.atlassian.connector.commons.remoteapi

Class Tests Errors Failures Skipped Success Rate Time
TestHttpSessionCallbackImpl 0 0 0 0 0% 0.002
AbstractHttpSessionTest 1 0 0 0 100% 0.318

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomXStreamUtilTest 1 0 0 0 100% 0.162
JDomProjectConfigurationDaoTest 15 0 0 0 100% 0.38

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

Class Tests Errors Failures Skipped Success Rate Time
FishEyeRestSessionTest 12 0 0 0 100% 2.795

Test Cases

FishEyeRestSessionTest

testSuccessLoginURLWithSlash 0.881
testNullParamsLogin 0.104
testWrongParamsLogin 0.103
testGetPathHistory 0.3
testGetPathHistoryFailure 0.119
testGetPathHistoryBogusResponse 0.123
testGetChangesetList 0.362
testGetChangeset 0.282
testMalformedUrlLogin 0.107
testWrongUrlLogin 0.137
testNonExistingServerLogin 0.114
testWrongUserLogin 0.125

CrucibleServerFacadeTest

testGetRepositories 0.1
testConnectionTestInvalidUrlIncludesPassword 0.011
testCreateReview 0.003
testCreateReviewFromPatch 0.002
testConnectionTestFailedBadPassword 0.118
testConnectionTestFailedCru15 0.119
testConnectionTestFailedHttp404 0.107
testConnectionTestSucceed 0.121
testChangedCredentials 0.002
testCreateReviewWithInvalidProjectKey 0.002
testCreateReviewFromPatchWithInvalidProjectKey 0.001
testGetAllReviews 0
testGetProjects 0.001

ProjectIdTest

testEquals 0.003

PermIdTest

testEquals 0.001

ReviewerTest

testEquals 0.002

TestHttpSessionCallbackImpl

CrucibleServerFacadeImplTest

testSetReviewers 0.002
testUpdateProjects 0.001

PrivateProjectConfigurationTest

testGetPrivateServerCfgInfo 0.004

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.772

CrucibleFileInfoImplTest

testGetNumberOfUnreadComments 0.004
testGetNumberOfComments 0
testGetNumberOfDraftComments 0

ProjectConfigurationTest

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

RepositoryTest

testEquals 0

CrucibleProjectTest

testEquals 0.001

SvnRepositoryTest

testEquals 0

FakeBambooRefreshTest

testRefreshButton 0

BambooServerFacadeTest

testConnectionTestInvalidUrlIncludesPassword 0.109
testProjectList 0.022
testAddEmptyLabel 0.119
testAddLabelToNonExistingBuild 0.117
testAddComment 0.119
testAddEmptyComment 0.117
testAddCommentToNonExistingBuild 0.117
testExecuteBuild 0.119
testGetSessionTwoTheSameServers 0.116
testSubscribedBuildStatus 0.169
testBuildCompletedDate 0.142
testBuildCompletedDateWithTimezoneOffset 0.14
testBuildCompletedDateWithTimezoneOffset2 0.14
testBuildCompletedDateWithTimeZoneForFavouritesMinus 0.105
testBuildCompletedDateWithTimeZoneForFavouritesPlus 0.105
testFailedLoginSubscribedBuildStatus 0.111
testUninitializedPassword 0.109
testFailedProjectList 0.109
testPlanList 0.122
testFailedPlanList 0.109
testGetSubscribedPlansResultsWithBadPassword 0.11
testConnectionTest 0.022
testBambooConnectionWithEmptyPlan 0.12
testAddLabel 0.116
testFailedExecuteBuild 0.115
testGetBuildDetails 0.048
testGetBuildDetailsNonExistingBuild 0.115
testGetSubscribedPlansResultsNew 0.135

ReviewDifferenceProducerTest

testSameReviewsWithoutFiles 0.005
testSameReviews 0.001
testSameGeneralComments 0
testNullGeneralComments 0.004
testAddedGeneralComment 0.001
testReviewItemAdded 0.001
testReviewItemRemoved 0.002
testAddedGeneralCommentReply 0
testUpdatedGeneralCommentReply 0.003
testRemovedGeneralCommentReply 0.002
testAddedGeneralCommentReplyToReply 0
testUpdatedGeneralCommentReplyToReply 0
testRemovedGeneralCommentReplyToReply 0
testEditedGeneralComment 0.001
testRemovedGeneralComment 0.001
testAddedVersionedComment 0.001
testEditedVersionedComment 0.001
testRemovedVersionedComment 0.001
testAddedVersionedCommentReply 0.001
testUpdatedVersionedCommentReply 0.001
testRemovedVersionedCommentReply 0.001
testAddedVersionedCommentReplyToReply 0
testUpdatedVersionedCommentReplyToReply 0
testRemovedVersionedCommentReplyToReply 0
testStateChanges 0.004
testReviewersChanges 0.005
testStatementOfObjectivesChanged 0.002
testNameChanged 0.002
testModeratorChanged 0.002
testAuthorChanged 0.002
testSummmaryChanged 0.002
testProjectChanged 0.002
testReviewersChanged 0.002
testRevisionChanged 0.001

StringUtilTest

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

JDomXStreamUtilTest

testBambooServerCfg 0.159

CrucibleVersionInfoTest

testIsVersionOrGreater 0.002

IntRangesParserTest

testParse 0.008
testParseInvalid 0.001

BambooSessionTest

testNullParamsLogin 0.103
testSuccessBambooLogin 0.159
testSuccessBambooLoginURLWithSlash 0.114
testWrongParamsBambooLogin 0.103
testProjectList 0.121
testGetPlanList 0.136
testFavouritePlanList 0.12
testBuildForPlanSuccessNoTimezone 0.126
testBuildForPlanSuccessNegativeTimezone 0.126
testBuildForPlanSuccessPositiveTimezone 0.126
testGetLatestBuildForNeverExecutedPlan 0.127
testGetLatestBuildForNeverExecutedPlan2 0.125
testGetLatestBuildForPlanBamboo2x1x5 0.128
testGetLatestBuildForPlanBamboo2x1x5WithTimeZoneOffset 0.127
testBuildForPlanFailure 0.125
testBuildForPlanAndNumber 0.143
testBuildForNonExistingPlan 0.125
testBuildDetailsFor1CommitFailedSuccessTests 0.138
testBuildDetailsFor1CommitFailedTests 0.124
testBuildDetailsFor1CommitSuccessTests 0.135
testBuildDetailsFor3CommitFailedSuccessTests 0.137
testBuildDetailsForNoCommitFailedSuccessTests 0.134
testBuildDetailsForNonExistingBuild 0.118
testBuildDetailsMalformedResponse 0.119
testBuildDetailsEmptyResponse 0.12
testAddSimpleLabel 0.118
testAddEmptyLabel 0.118
testAddMultiLineLabel 0.119
testAddLabelToNonExistingBuild 0.118
testAddComment 0.118
testAddEmptyComment 0.118
testAddMultiLineComment 0.118
testAddCommentToNonExistingBuild 0.127
testExecuteBuild 0.118
testExecuteBuildFailed 0.118
testRenewSession 0.134
testOutOfRangePort 0.103
testEnabledStatus 0.307
testGetBuildLogs 0.121
testGetPlanDetails 0.119
testGetPlanDetailsDisabled 0.134
testGetPlanDetails404 0.121
testMalformedUrlLogin 0.108
testWrongUrlLogin 0.106
testNonExistingServerLogin 0.109
testWrongUserLogin 0.109

FishEyeServerCfgTest

testEquals 0.001
testClone 0

DateUtilTest

testTimeDiff 0.033
testComplicatedTimeDiff 0

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.103
testConnectionTestSucceed 0.116
testFailedLoginGetAllReviews 0.11
testConnectionTestFailed 0.122
testConnectionTestFailedNullUser 0.157
testConnectionTestFailedNullUrl 0.103

CrucibleRestXmlHelperTest

testParseProjectNode 0.005

JDomProjectConfigurationDaoTest

testJDomSaveLoadGlobalConfiguration 0.033
testLoadOldSaveNew 0.008
testHashedPassword 0.031
testPublicSerialization 0.022
testPublicOnlyDeSerialization 0.017
testPrivateSerialization 0.09
testPrivateSerializationEmptyUsernamePassword 0.075
testCreatePrivateProjectConfiguration 0
testFullSaveLoad 0.032
testInvalidJDomElement 0.007
testInvalidClass 0.006
testNullDomElement 0.002
testNullConfiguration 0.001
testMissingPrivateCfg 0.015
testSaveLoad 0.015

IntRangesTest

testEquals 0
testRanges 0.001
testToNiceString 0.001

FishEyeServerFacadeTest

testGetRepositories 0.007
testConnectionTestInvalidUrlIncludesPassword 0

ServerIdTest

testEquals 0

MiscUtilTest

testIsModified 0
testBuildArrayList 0.002

BambooServerCfgTest

testEquals 0
testGetClone 0

AbstractHttpSessionTest

testRetrieveGetResponseWithDataTransferTimeout 0.315

ReviewDataInfoImplTest

testSetGetReviewData 0
testSetGetReviewers 0
testGetServer 0.001
testNotEquals 0

CrucibleSessionTest

testNullParamsLogin 0.002
testGetRepositories 0.022
testOutOfRangePort 0.003
testSuccessCrucibleLogin 0.043
testLoginMalformedResponse 0.011
testLoginInternalErrorResponse 0.006
testSuccessCrucibleLoginURLWithSlash 0.01
testNullLoginLogin 0.002
testWrongUrlCrucibleLogin 0.006
testNonExistingServerCrucibleLogin 0.003
testMalformedUrlCrucibleLogin 0.008
testWrongUserCrucibleLogin 0.408
testWrongParamsCrucibleLogin 0.005
testSuccessCrucibleLogout 0.012
testFailedCrucibleLogin 0.112
testSuccessCrucibleDoubleLogin 0.116
testMethodCallWithoutLogin 0.922
testGetAllTypeReviews 0.172
testGetEmptyReviews 0.114
testGetEmptyReviewsForType 0.115
testGetReviewsInStates 0.144
testGetMissingReviewsInStates 0.115
testGetEmptyRequestReviewsInStates 0.143
testGetAllReviewsMalformedResponse 0.114
testGetReviewsInStatesMalformedResponse 0.114
testGetEmptyReviewers 0.132
testGetReviewers 0.117
testGetReviewersInvalidId 0.113
testGetReviewersMalformedResponse 0.115
testCreateReview 0.139
testCreateReviewMalformedResponse 0.119
testCreateReviewErrorResponse 0.12
testCreateReviewFromPatch 0.123
testCreateReviewFromNullPatch 0.123
testCreateReviewFromEmptyPatch 0.123
testCreateReviewFromPatchMalformedResponse 0.116
testGetProjectsCrucible1_6 0.128
testGetProjectsCrucible2_0 0.125
testGetProjectsEmpty 0.127
testGetRepositoriesEmpty 0.115
testGetReviewDetailsWithAddedFile 0.177
testGetReviewDetailsWithoutModerator 0.154
testGetReviewDetails 0.148
testGetChanges 0.026
testGetChangesForMissingRepository 0.118

AutoRenewBambooSessionTest

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