Summary

Tests Errors Failures Skipped Success Rate Time
247 0 0 0 100% 10.721

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.crucible.api.rest 41 0 0 0 100% 2.763
com.atlassian.theplugin.commons.bamboo.api 56 0 0 0 100% 3.399
com.atlassian.theplugin.commons.crucible.api.model 5 0 0 0 100% 0.014
com.atlassian.theplugin.crucible 23 0 0 0 100% 0.846
com.atlassian.theplugin.commons.bamboo 29 0 0 0 100% 1.492
com.atlassian.connector.commons.misc 5 0 0 0 100% 0.013
com.atlassian.theplugin.commons.crucible.api.model.notification 28 0 0 0 100% 0.051
com.atlassian.theplugin.commons.cfg 15 0 0 0 100% 0.035
com.atlassian.theplugin.commons.crucible 6 0 0 0 100% 0.199
com.atlassian.theplugin.commons.util 13 0 0 0 100% 0.041
com.atlassian.connector.commons.remoteapi 1 0 0 0 100% 0.212
com.atlassian.theplugin.commons.cfg.xstream 16 0 0 0 100% 0.403
com.atlassian.theplugin.commons.fisheye 2 0 0 0 100% 0.01
com.atlassian.theplugin.commons.fisheye.api.rest 7 0 0 0 100% 1.243

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

com.atlassian.theplugin.crucible.api.rest

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

com.atlassian.theplugin.commons.bamboo.api

Class Tests Errors Failures Skipped Success Rate Time
BambooSessionSslTest 1 0 0 0 100% 0.436
BambooSessionTest 43 0 0 0 100% 2.949
AutoRenewBambooSessionTest 12 0 0 0 100% 0.014

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

Class Tests Errors Failures Skipped Success Rate Time
PermIdTest 1 0 0 0 100% 0.004
ReviewerTest 1 0 0 0 100% 0.003
RepositoryTest 1 0 0 0 100% 0.002
CrucibleProjectTest 1 0 0 0 100% 0.003
SvnRepositoryTest 1 0 0 0 100% 0.002

com.atlassian.theplugin.crucible

Class Tests Errors Failures Skipped Success Rate Time
CrucibleServerFacadeTest 13 0 0 0 100% 0.4
CrucibleServerFacadeConnectionTest 6 0 0 0 100% 0.442
ReviewDataInfoImplTest 4 0 0 0 100% 0.004

com.atlassian.theplugin.commons.bamboo

Class Tests Errors Failures Skipped Success Rate Time
FakeBambooRefreshTest 1 0 0 0 100% 0.003
BambooServerFacadeTest 28 0 0 0 100% 1.489

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 28 0 0 0 100% 0.051

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.005
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.004

com.atlassian.theplugin.commons.crucible

Class Tests Errors Failures Skipped Success Rate Time
CrucibleServerFacadeImplTest 1 0 0 0 100% 0.005
ProjectCacheTest 5 0 0 0 100% 0.194

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.026
MiscUtilTest 2 0 0 0 100% 0.004

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

com.atlassian.theplugin.commons.cfg.xstream

Class Tests Errors Failures Skipped Success Rate Time
JDomXStreamUtilTest 1 0 0 0 100% 0.114
JDomProjectConfigurationDaoTest 15 0 0 0 100% 0.289

com.atlassian.theplugin.commons.fisheye

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

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

Class Tests Errors Failures Skipped Success Rate Time
FishEyeRestSessionTest 7 0 0 0 100% 1.243

Test Cases

FishEyeRestSessionTest

testSuccessLoginURLWithSlash 0.651
testNullParamsLogin 0.105
testWrongParamsLogin 0.001
testMalformedUrlLogin 0.105
testWrongUrlLogin 0.128
testNonExistingServerLogin 0.116
testWrongUserLogin 0.109

CrucibleServerFacadeTest

testGetRepositories 0.075
testConnectionTestInvalidUrlIncludesPassword 0.008
testCreateReview 0.004
testCreateReviewFromPatch 0.002
testGetProjects 0.001
testConnectionTestFailedBadPassword 0.122
testConnectionTestFailedCru15 0.023
testConnectionTestFailedHttp404 0.106
testConnectionTestSucceed 0.036
testChangedCredentials 0.001
testCreateReviewWithInvalidProjectKey 0.001
testCreateReviewFromPatchWithInvalidProjectKey 0.001
testGetAllReviews 0

ProjectIdTest

testEquals 0.002

PermIdTest

testEquals 0

ReviewerTest

testEquals 0.001

TestHttpSessionCallbackImpl

CrucibleServerFacadeImplTest

testSetReviewers 0.002

PrivateProjectConfigurationTest

testGetPrivateServerCfgInfo 0.002

BambooSessionSslTest

testSuccessBambooLoginOnSSL 0.433

ProjectConfigurationTest

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

RepositoryTest

testEquals 0

CrucibleProjectTest

testEquals 0

FakeBambooRefreshTest

testRefreshButton 0

SvnRepositoryTest

testEquals 0

BambooServerFacadeTest

testConnectionTestInvalidUrlIncludesPassword 0.007
testProjectList 0.028
testPlanList 0.027
testAddEmptyLabel 0.014
testAddLabelToNonExistingBuild 0.011
testAddComment 0.011
testAddEmptyComment 0.01
testAddCommentToNonExistingBuild 0.024
testExecuteBuild 0.01
testGetSessionTwoTheSameServers 0.009
testSubscribedBuildStatus 0.115
testBuildCompletedDate 0.039
testBuildCompletedDateWithTimezoneOffset 0.029
testBuildCompletedDateWithTimezoneOffset2 0.03
testBuildCompletedDateWithTimeZoneForFavouritesMinus 0.004
testBuildCompletedDateWithTimeZoneForFavouritesPlus 0.003
testFailedLoginSubscribedBuildStatus 0.108
testUninitializedPassword 0.107
testFailedProjectList 0.108
testFailedPlanList 0.006
testGetSubscribedPlansResultsWithBadPassword 0.005
testConnectionTest 0.118
testBambooConnectionWithEmptyPlan 0.118
testAddLabel 0.117
testFailedExecuteBuild 0.112
testGetBuildDetails 0.053
testGetBuildDetailsNonExistingBuild 0.111
testGetSubscribedPlansResultsNew 0.137

ReviewDifferenceProducerTest

testSameReviewsWithoutFiles 0.006
testSameReviews 0
testSameGeneralComments 0.001
testNullGeneralComments 0.002
testAddedGeneralComment 0.002
testReviewItemAdded 0.002
testReviewItemRemoved 0.001
testAddedGeneralCommentReply 0.001
testUpdatedGeneralCommentReply 0.002
testRemovedGeneralCommentReply 0.001
testEditedGeneralComment 0.001
testRemovedGeneralComment 0.001
testAddedVersionedComment 0.001
testEditedVersionedComment 0.001
testRemovedVersionedComment 0.001
testAddedVersionedCommentReply 0
testUpdatedVersionedCommentReply 0.001
testRemovedVersionedCommentReply 0
testStateChanges 0.002
testReviewersChanges 0.003
testStatementOfObjectivesChanged 0.001
testNameChanged 0.001
testModeratorChanged 0.001
testAuthorChanged 0.001
testSummmaryChanged 0.001
testProjectChanged 0.001
testReviewersChanged 0.002
testRevisionChanged 0

StringUtilTest

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

JDomXStreamUtilTest

testBambooServerCfg 0.111

IntRangesParserTest

testParse 0.005
testParseInvalid 0

BambooSessionTest

testNullParamsLogin 0.001
testSuccessBambooLogin 0.136
testSuccessBambooLoginURLWithSlash 0.011
testWrongParamsBambooLogin 0
testProjectList 0.02
testPlanList 0.011
testFavouritePlanList 0.011
testBuildForPlanSuccessNoTimezone 0.113
testBuildForPlanSuccessNegativeTimezone 0.122
testBuildForPlanSuccessPositiveTimezone 0.013
testGetLatestBuildForNeverExecutedPlan 0.121
testGetLatestBuildForNeverExecutedPlan2 0.123
testGetLatestBuildForPlanBamboo2x1x5 0.021
testGetLatestBuildForPlanBamboo2x1x5WithTimeZoneOffset 0.12
testBuildForPlanFailure 0.016
testBuildForPlanAndNumber 0.026
testBuildForNonExistingPlan 0.011
testBuildDetailsFor1CommitFailedSuccessTests 0.034
testBuildDetailsFor1CommitFailedTests 0.014
testBuildDetailsFor1CommitSuccessTests 0.13
testBuildDetailsFor3CommitFailedSuccessTests 0.136
testBuildDetailsForNoCommitFailedSuccessTests 0.033
testBuildDetailsForNonExistingBuild 0.114
testBuildDetailsMalformedResponse 0.114
testBuildDetailsEmptyResponse 0.114
testAddSimpleLabel 0.113
testAddEmptyLabel 0.113
testAddMultiLineLabel 0.122
testAddLabelToNonExistingBuild 0.114
testAddComment 0.014
testAddEmptyComment 0.014
testAddMultiLineComment 0.013
testAddCommentToNonExistingBuild 0.115
testExecuteBuild 0.114
testExecuteBuildFailed 0.012
testRenewSession 0.021
testOutOfRangePort 0.001
testEnabledStatus 0.254
testGetBuildLogs 0.132
testMalformedUrlLogin 0.003
testWrongUrlLogin 0.105
testNonExistingServerLogin 0.002
testWrongUserLogin 0.107

ProjectCacheTest

testGetProjectsEmptySessionResponse 0.183
testGetProjectsNonEmptySessionResponse 0.004
testGetProjectNotExistsOnTheServer 0.001
testGetProjectExistsOnTheServer 0.001
testGetProjectClearCache 0.002

FishEyeServerCfgTest

testEquals 0
testClone 0

DateUtilTest

testTimeDiff 0.022
testComplicatedTimeDiff 0

CrucibleServerFacadeConnectionTest

testConnectionTestFailedNullPassword 0.001
testConnectionTestSucceed 0.112
testFailedLoginGetAllReviews 0.11
testConnectionTestFailed 0.111
testConnectionTestFailedNullUser 0.001
testConnectionTestFailedNullUrl 0.103

JDomProjectConfigurationDaoTest

testJDomSaveLoadGlobalConfiguration 0.02
testLoadOldSaveNew 0.005
testHashedPassword 0.025
testPublicSerialization 0.016
testPublicOnlyDeSerialization 0.013
testPrivateSerialization 0.07
testPrivateSerializationEmptyUsernamePassword 0.052
testCreatePrivateProjectConfiguration 0
testFullSaveLoad 0.024
testInvalidJDomElement 0.006
testInvalidClass 0.004
testNullDomElement 0.002
testNullConfiguration 0
testMissingPrivateCfg 0.013
testSaveLoad 0.014

IntRangesTest

testEquals 0
testRanges 0.001
testToNiceString 0

FishEyeServerFacadeTest

testGetRepositories 0.004
testConnectionTestInvalidUrlIncludesPassword 0

ServerIdTest

testEquals 0

MiscUtilTest

testIsModified 0
testBuildArrayList 0.001

BambooServerCfgTest

testEquals 0
testGetClone 0

AbstractHttpSessionTest

testRetrieveGetResponseWithDataTransferTimeout 0.207

ReviewDataInfoImplTest

testSetGetReviewData 0
testSetGetReviewers 0
testGetServer 0
testNotEquals 0

CrucibleSessionTest

testNullParamsLogin 0.001
testGetRepositories 0.013
testOutOfRangePort 0.001
testSuccessCrucibleLogin 0.022
testLoginMalformedResponse 0.005
testLoginInternalErrorResponse 0.002
testSuccessCrucibleLoginURLWithSlash 0.107
testNullLoginLogin 0.104
testWrongUrlCrucibleLogin 0.108
testNonExistingServerCrucibleLogin 0.002
testMalformedUrlCrucibleLogin 0.005
testWrongUserCrucibleLogin 0.111
testWrongParamsCrucibleLogin 0.001
testSuccessCrucibleLogout 0.006
testFailedCrucibleLogin 0.107
testSuccessCrucibleDoubleLogin 0.112
testMethodCallWithoutLogin 0.001
testGetAllTypeReviews 0.081
testGetEmptyReviews 0.11
testGetEmptyReviewsForType 0.12
testGetReviewsInStates 0.037
testGetMissingReviewsInStates 0.011
testGetEmptyRequestReviewsInStates 0.129
testGetAllReviewsMalformedResponse 0.01
testGetReviewsInStatesMalformedResponse 0.009
testGetEmptyReviewers 0.009
testGetReviewers 0.111
testGetReviewersInvalidId 0.126
testGetReviewersMalformedResponse 0.11
testCreateReview 0.128
testCreateReviewMalformedResponse 0.118
testCreateReviewErrorResponse 0.117
testCreateReviewFromPatch 0.116
testCreateReviewFromNullPatch 0.114
testCreateReviewFromEmptyPatch 0.113
testCreateReviewFromPatchMalformedResponse 0.11
testGetProjects 0.01
testGetProjectsEmpty 0.11
testGetRepositoriesEmpty 0.11
testGetReviewDetailsWithAddedFile 0.073
testGetReviewDetails 0.058

AutoRenewBambooSessionTest

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