Summary

Tests Errors Failures Skipped Success Rate Time
275 0 0 0 100% 12.1

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 2 0 0 0 100% 0.02
com.atlassian.theplugin.crucible.api.rest 47 0 0 0 100% 3.818
com.atlassian.theplugin.commons.bamboo.api 59 0 0 0 100% 2.906
com.atlassian.theplugin.commons.crucible.api.model 13 0 0 0 100% 0.027
com.atlassian.theplugin.crucible 22 0 0 0 100% 0.815
com.atlassian.theplugin.commons.bamboo 29 0 0 0 100% 1.855
com.atlassian.connector.commons.misc 5 0 0 0 100% 0.013
com.atlassian.theplugin.commons.crucible.api.model.notification 34 0 0 0 100% 0.054
com.atlassian.theplugin.commons.cfg 15 0 0 0 100% 0.031
com.atlassian.theplugin.commons.crucible 2 0 0 0 100% 0.006
com.atlassian.theplugin.commons.util 13 0 0 0 100% 0.048
com.atlassian.connector.commons.crucible.api.model 3 0 0 0 100% 0.011
com.atlassian.theplugin.commons.fisheye 2 0 0 0 100% 0.011
com.atlassian.connector.commons.remoteapi 1 0 0 0 100% 0.209
com.atlassian.theplugin.commons.cfg.xstream 16 0 0 0 100% 0.377
com.atlassian.theplugin.commons.fisheye.api.rest 12 0 0 0 100% 1.899

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 2 0 0 0 100% 0.02

com.atlassian.theplugin.crucible.api.rest

Class Tests Errors Failures Skipped Success Rate Time
CrucibleSessionTest 47 0 0 0 100% 3.818

com.atlassian.theplugin.commons.bamboo.api

Class Tests Errors Failures Skipped Success Rate Time
BambooSessionSslTest 1 0 0 0 100% 0.41
BambooSessionTest 46 0 0 0 100% 2.479
AutoRenewBambooSessionTest 12 0 0 0 100% 0.017

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

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

com.atlassian.theplugin.crucible

Class Tests Errors Failures Skipped Success Rate Time
CrucibleServerFacadeTest 12 0 0 0 100% 0.374
CrucibleServerFacadeConnectionTest 6 0 0 0 100% 0.438
ReviewDataInfoImplTest 4 0 0 0 100% 0.003

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% 1.853

com.atlassian.connector.commons.misc

Class Tests Errors Failures Skipped Success Rate Time
IntRangesParserTest 2 0 0 0 100% 0.009
IntRangesTest 3 0 0 0 100% 0.004

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

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

com.atlassian.theplugin.commons.cfg

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

com.atlassian.theplugin.commons.crucible

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

com.atlassian.theplugin.commons.util

Class Tests Errors Failures Skipped Success Rate Time
StringUtilTest 9 0 0 0 100% 0.019
DateUtilTest 2 0 0 0 100% 0.025
MiscUtilTest 2 0 0 0 100% 0.004

com.atlassian.connector.commons.crucible.api.model

Class Tests Errors Failures Skipped Success Rate Time
ByReviewerDisplayNameComparatorTest 1 0 0 0 100% 0.004
ReviewModelUtilTest 1 0 0 0 100% 0.004
ReviewTest 1 0 0 0 100% 0.003

com.atlassian.theplugin.commons.fisheye

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

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

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomXStreamUtilTest 1 0 0 0 100% 0.125
JDomProjectConfigurationDaoTest 15 0 0 0 100% 0.252

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

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

Test Cases

FishEyeRestSessionTest

testSuccessLoginURLWithSlash 0.6
testNullParamsLogin 0.001
testWrongParamsLogin 0
testGetPathHistory 0.152
testGetPathHistoryFailure 0.115
testGetPathHistoryBogusResponse 0.113
testGetChangesetList 0.317
testGetChangeset 0.221
testMalformedUrlLogin 0.106
testWrongUrlLogin 0.126
testNonExistingServerLogin 0.009
testWrongUserLogin 0.112

CrucibleServerFacadeTest

testGetRepositories 0.085
testConnectionTestInvalidUrlIncludesPassword 0.01
testCreateReview 0.005
testCreateReviewFromPatch 0.001
testConnectionTestFailedBadPassword 0.012
testConnectionTestFailedCru15 0.115
testConnectionTestFailedHttp404 0.105
testConnectionTestSucceed 0.019
testChangedCredentials 0.003
testCreateReviewWithInvalidProjectKey 0.002
testCreateReviewFromPatchWithInvalidProjectKey 0
testGetProjects 0.001

ProjectIdTest

testEquals 0.002

ByReviewerDisplayNameComparatorTest

testCompare 0

PermIdTest

testEquals 0

ReviewerTest

testEquals 0

ReviewModelUtilTest

testGetParentVersionedComment 0.002

TestHttpSessionCallbackImpl

CrucibleServerFacadeImplTest

testSetReviewers 0.001
testUpdateProjects 0.001

PrivateProjectConfigurationTest

testGetPrivateServerCfgInfo 0.002

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.408

CrucibleFileInfoImplTest

testGetNumberOfUnreadComments 0.001
testGetNumberOfComments 0
testGetNumberOfDraftComments 0.001

ProjectConfigurationTest

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

ReviewTest

testGenNumberGeneralCommentDrafts 0.001

RepositoryTest

testEquals 0

CrucibleProjectTest

testEquals 0

SvnRepositoryTest

testEquals 0.001

FakeBambooRefreshTest

testRefreshButton 0

BambooServerFacadeTest

testConnectionTestInvalidUrlIncludesPassword 0.006
testProjectList 0.017
testAddEmptyLabel 0.011
testAddLabelToNonExistingBuild 0.118
testAddComment 0.113
testAddEmptyComment 0.112
testAddCommentToNonExistingBuild 0.121
testExecuteBuild 0.113
testGetSessionTwoTheSameServers 0.114
testSubscribedBuildStatus 0.14
testBuildCompletedDate 0.136
testBuildCompletedDateWithTimezoneOffset 0.038
testBuildCompletedDateWithTimezoneOffset2 0.025
testBuildCompletedDateWithTimeZoneForFavouritesMinus 0.002
testBuildCompletedDateWithTimeZoneForFavouritesPlus 0.002
testFailedLoginSubscribedBuildStatus 0.108
testUninitializedPassword 0.007
testFailedProjectList 0.006
testPlanList 0.012
testFailedPlanList 0.005
testGetSubscribedPlansResultsWithBadPassword 0.008
testConnectionTest 0.121
testBambooConnectionWithEmptyPlan 0.016
testAddLabel 0.111
testFailedExecuteBuild 0.012
testGetBuildDetails 0.136
testGetBuildDetailsNonExistingBuild 0.11
testGetSubscribedPlansResultsNew 0.124

ReviewDifferenceProducerTest

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

StringUtilTest

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

JDomXStreamUtilTest

testBambooServerCfg 0.123

CrucibleVersionInfoTest

testIsVersionOrGreater 0.002

IntRangesParserTest

testParse 0.005
testParseInvalid 0.001

BambooSessionTest

testNullParamsLogin 0.001
testSuccessBambooLogin 0.039
testSuccessBambooLoginURLWithSlash 0.009
testWrongParamsBambooLogin 0.001
testProjectList 0.013
testGetPlanList 0.017
testFavouritePlanList 0.013
testBuildForPlanSuccessNoTimezone 0.122
testBuildForPlanSuccessNegativeTimezone 0.019
testBuildForPlanSuccessPositiveTimezone 0.017
testGetLatestBuildForNeverExecutedPlan 0.017
testGetLatestBuildForNeverExecutedPlan2 0.015
testGetLatestBuildForPlanBamboo2x1x5 0.016
testGetLatestBuildForPlanBamboo2x1x5WithTimeZoneOffset 0.015
testBuildForPlanFailure 0.013
testBuildForPlanAndNumber 0.026
testBuildForNonExistingPlan 0.012
testBuildDetailsFor1CommitFailedSuccessTests 0.126
testBuildDetailsFor1CommitFailedTests 0.122
testBuildDetailsFor1CommitSuccessTests 0.131
testBuildDetailsFor3CommitFailedSuccessTests 0.026
testBuildDetailsForNoCommitFailedSuccessTests 0.023
testBuildDetailsForNonExistingBuild 0.125
testBuildDetailsMalformedResponse 0.123
testBuildDetailsEmptyResponse 0.118
testAddSimpleLabel 0.119
testAddEmptyLabel 0.013
testAddMultiLineLabel 0.027
testAddLabelToNonExistingBuild 0.015
testAddComment 0.012
testAddEmptyComment 0.01
testAddMultiLineComment 0.116
testAddCommentToNonExistingBuild 0.113
testExecuteBuild 0.112
testExecuteBuildFailed 0.011
testRenewSession 0.021
testOutOfRangePort 0.102
testEnabledStatus 0.257
testGetBuildLogs 0.117
testGetPlanDetails 0.012
testGetPlanDetailsDisabled 0.115
testGetPlanDetails404 0.012
testMalformedUrlLogin 0.003
testWrongUrlLogin 0.105
testNonExistingServerLogin 0.01
testWrongUserLogin 0.005

FishEyeServerCfgTest

testEquals 0.001
testClone 0

DateUtilTest

testTimeDiff 0.022
testComplicatedTimeDiff 0

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.103
testConnectionTestSucceed 0.111
testFailedLoginGetReviewsForFilter 0.109
testConnectionTestFailed 0.109
testConnectionTestFailedNullUser 0.001
testConnectionTestFailedNullUrl 0.001

CrucibleRestXmlHelperTest

testParsePermId 0.009
testParseProjectNode 0.008

JDomProjectConfigurationDaoTest

testJDomSaveLoadGlobalConfiguration 0.021
testLoadOldSaveNew 0.005
testHashedPassword 0.02
testPublicSerialization 0.015
testPublicOnlyDeSerialization 0.012
testPrivateSerialization 0.058
testPrivateSerializationEmptyUsernamePassword 0.047
testCreatePrivateProjectConfiguration 0
testFullSaveLoad 0.022
testInvalidJDomElement 0.004
testInvalidClass 0.004
testNullDomElement 0.001
testNullConfiguration 0.001
testMissingPrivateCfg 0.011
testSaveLoad 0.012

IntRangesTest

testEquals 0
testRanges 0.001
testToNiceString 0

FishEyeServerFacadeTest

testGetRepositories 0.004
testConnectionTestInvalidUrlIncludesPassword 0

CommentTest

testEqualsWithReviews 0
testEqualsWithParentComments 0
testHasDraftParents 0
testRemoveReply 0

ServerIdTest

testEquals 0

MiscUtilTest

testIsModified 0.001
testBuildArrayList 0.001

BambooServerCfgTest

testEquals 0
testGetClone 0

AbstractHttpSessionTest

testRetrieveGetResponseWithDataTransferTimeout 0.205

ReviewDataInfoImplTest

testSetGetReviewData 0
testSetGetReviewers 0
testGetServer 0
testNotEquals 0

CrucibleSessionTest

testNullParamsLogin 0.001
testGetRepositories 0.01
testOutOfRangePort 0
testSuccessCrucibleLogin 0.017
testLoginMalformedResponse 0.004
testLoginInternalErrorResponse 0.003
testSuccessCrucibleLoginURLWithSlash 0.004
testNullLoginLogin 0.001
testWrongUrlCrucibleLogin 0.104
testNonExistingServerCrucibleLogin 0.103
testMalformedUrlCrucibleLogin 0.106
testWrongUserCrucibleLogin 0.108
testWrongParamsCrucibleLogin 0.001
testSuccessCrucibleLogout 0.107
testFailedCrucibleLogin 0.018
testSuccessCrucibleDoubleLogin 0.111
testMethodCallWithoutLogin 0.103
testGetAllTypeReviews 0.047
testGetEmptyReviews 0.008
testGetEmptyReviewsForType 0.007
testGetReviewsInStates 0.127
testGetMissingReviewsInStates 0.111
testGetEmptyRequestReviewsInStates 0.126
testGetAllReviewsMalformedResponse 0.008
testGetReviewsInStatesMalformedResponse 0.11
testGetEmptyReviewers 0.11
testGetReviewers 0.11
testGetReviewersInvalidId 0.107
testGetReviewersMalformedResponse 0.113
testCreateReview 0.127
testCreateReviewMalformedResponse 0.116
testCreateReviewErrorResponse 0.113
testCreateReviewFromPatch 0.117
testCreateReviewFromNullPatch 0.119
testCreateReviewFromEmptyPatch 0.016
testCreateReviewFromPatchMalformedResponse 0.008
testGetProjectsCrucible1_6 0.123
testGetProjectsCrucible2_0 0.119
testGetProjectsEmpty 0.02
testGetRepositoriesEmpty 0.119
testGetReviewDetailsWithAddedFile 0.191
testGetReviewDetailsWithoutModerator 0.134
testGetReviewDetailsWithReplies 0.132
testGetReviewDetails 0.127
testGetReviewsForFilter 0.407
testGetChanges 0.018
testGetChangesForMissingRepository 0.013

AutoRenewBambooSessionTest

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