Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
256 0 0 1 99.609% 116.427

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.eclipse.jgit.ant.tasks 6 0 0 0 100% 3.644
org.eclipse.jgit.http.test 123 0 0 0 100% 79.481
org.eclipse.jgit.lfs.server.fs 4 0 0 0 100% 3.938
org.eclipse.jgit.pgm 40 0 0 1 97.5% 26.266
org.eclipse.jgit.http.server 4 0 0 0 100% 0.006
org.eclipse.jgit.lfs.lib 79 0 0 0 100% 3.092

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

org.eclipse.jgit.ant.tasks

Class Tests Errors Failures Skipped Success Rate Time
GitCloneTaskTest 6 0 0 0 100% 3.644

org.eclipse.jgit.http.test

Class Tests Errors Failures Skipped Success Rate Time
SmartClientSmartServerSslTest 8 0 0 0 100% 18.982
MeasurePackSizeTest 1 0 0 0 100% 1.668
DumbClientDumbServerTest 8 0 0 0 100% 7.926
GitServletInitTest 4 0 0 0 100% 2.375
GitServletResponseTests 3 0 0 0 100% 4.478
DumbClientSmartServerTest 8 0 0 0 100% 6.112
AdvertiseErrorTest 1 0 0 0 100% 0.236
AsIsServiceTest 4 0 0 0 100% 0.457
DefaultReceivePackFactoryTest 6 0 0 0 100% 0.476
FileResolverTest 3 0 0 0 100% 1.902
HookMessageTest 2 0 0 0 100% 4.208
RegexPipelineTest 3 0 0 0 100% 2.446
SmartClientSmartServerTest 54 0 0 0 100% 17.452
ProtocolErrorTest 1 0 0 0 100% 0.89
HttpClientTests 11 0 0 0 100% 3.124
DefaultUploadPackFactoryTest 4 0 0 0 100% 2.449
ErrorServletTest 1 0 0 0 100% 2.458
SetAdditionalHeadersTest 1 0 0 0 100% 1.842

org.eclipse.jgit.lfs.server.fs

Class Tests Errors Failures Skipped Success Rate Time
UploadTest 4 0 0 0 100% 3.938

org.eclipse.jgit.pgm

Class Tests Errors Failures Skipped Success Rate Time
RemoteTest 7 0 0 0 100% 4.954
CommitTest 2 0 0 0 100% 1.247
CLIGitCommandTest 1 0 0 0 100% 0.003
TextBuiltinTest 1 0 0 0 100% 2.441
LsRemoteTest 4 0 0 0 100% 4.942
ResetTest 9 0 0 1 88.889% 1.94
TagTest 3 0 0 0 100% 0.788
ConfigTest 1 0 0 0 100% 0.186
CommitAndLogTest 1 0 0 0 100% 0.371
ReflogTest 3 0 0 0 100% 0.628
FetchTest 3 0 0 0 100% 5.673
AddTest 5 0 0 0 100% 3.093

org.eclipse.jgit.http.server

Class Tests Errors Failures Skipped Success Rate Time
RootLocaleTest 1 0 0 0 100% 0.002
ClientVersionUtilTest 2 0 0 0 100% 0.002
ServletUtilsTest 1 0 0 0 100% 0.002

org.eclipse.jgit.lfs.lib

Class Tests Errors Failures Skipped Success Rate Time
LfsPointerFilterTest 5 0 0 0 100% 1.171
LongObjectIdTest 32 0 0 0 100% 0.663
LFSPointerTest 1 0 0 0 100% 0.365
AbbreviatedLongObjectIdTest 36 0 0 0 100% 0.491
MutableLongObjectIdTest 5 0 0 0 100% 0.402

Test Cases

[Summary] [Package List] [Test Cases]

GitCloneTaskTest

shouldRaiseErrorOnBadSourceURL 2.036
shouldRaiseErrorOnBadUrl 0.191
shouldCloneAValidGitRepository 0.392
shouldRaiseErrorOnNoUrl 0.293
shouldCreateABareCloneOfAValidGitRepository 0.226
shouldRaiseErrorOnEmptyUrl 0.176

SmartClientSmartServerSslTest

testInitialClone_SslFailure[0] 5.458
testInitialClone_RedirectToHttps[0] 2.208
testInitialClone_RedirectBackToHttp[0] 1.6
testInitialClone_ViaHttps[0] 2.026
testInitialClone_SslFailure[1] 2.383
testInitialClone_RedirectToHttps[1] 1.839
testInitialClone_RedirectBackToHttp[1] 2.012
testInitialClone_ViaHttps[1] 1.246

MeasurePackSizeTest

testPush_packSize 1.655

RootLocaleTest

testHttpServerText 0

DumbClientDumbServerTest

testInitialClone_Loose[0] 2.925
testListRemote[0] 0.314
testPushNotSupported[0] 0.454
testInitialClone_Packed[0] 0.506
testInitialClone_Loose[1] 1.507
testListRemote[1] 0.441
testPushNotSupported[1] 0.224
testInitialClone_Packed[1] 0.372

ClientVersionUtilTest

testParse 0
testPushStatusBug 0.001

GitServletInitTest

testDefaultConstructor_NoBasePath 0.276
testInitUnderContainer_WithBasePath 1.624
testDefaultConstructor_WithBasePath 0.001
testInitUnderContainer_NoBasePath 0.018

GitServletResponseTests

testRuntimeExceptionInPreReceiveHook 3.198
testUnpackErrorWithSubsequentExceptionInPostReceiveHook 0.405
testObjectCheckerException 0.264

DumbClientSmartServerTest

testInitialClone_Small[0] 2.064
testListRemote[0] 0.307
testPushNotSupported[0] 0.357
testInitialClone_Packed[0] 0.41
testInitialClone_Small[1] 1.767
testListRemote[1] 0.228
testPushNotSupported[1] 0.305
testInitialClone_Packed[1] 0.372

AdvertiseErrorTest

testPush_CreateBranch 0.233

AsIsServiceTest

testCreate_Default 0.191
testCreate_Disabled 0.04
testDisabledSingleton 0.026
testCreate_Enabled 0.193

DefaultReceivePackFactoryTest

testCreate_AuthUser 0.037
testCreate_NullUser 0.042
testCreate_EmptyStringUser 0.032
testCreate_Disabled 0.299
testDisabledSingleton 0.027
testCreate_Enabled 0.035

FileResolverTest

testNotAGitRepository 1.438
testUnreasonableNames 0.006
testExportOk 0.039

HookMessageTest

testPush_CreateBranch 3.287
testPush_HookMessagesToOutputStream 0.288

RegexPipelineTest

testSimpleRegex 2.088
testRegexGroupFilter 0.02
testServeOrdering 0.016

SmartClientSmartServerTest

testFetch_FewLocalCommits[0] 1.212
testInvalidWant[0] 0.322
testInitialClone_RedirectMultiple[0] 0.422
testPush_NotAuthorized[0] 0.401
testPush_CreateBranch[0] 0.558
testInitialClone_WithAuthenticationAfterRedirect[0] 0.403
testInitialClone_Small[0] 0.38
testFetch_TooManyLocalCommits[0] 1.413
testInitialClone_WithAuthenticationNoCredentials[0] 0.192
testListRemote[0] 0.226
testInitialClone_RedirectOnPostForbidden[0] 0.261
testListRemote_BadName[0] 0.247
testInitialClone_RedirectForbidden[0] 0.262
testInitialClone_RedirectMax[0] 0.255
testInitialClone_WithAuthenticationWrongCredentials[0] 0.215
testInitialClone_RedirectLoop[0] 0.263
testInitialClone_RedirectOnPostAllowed[0] 0.239
testInitialClone_RedirectTooOften[0] 0.191
testPush_ChunkedEncoding[0] 0.3
testInitialClone_BrokenServer[0] 0.204
testInitialClone_Redirect301Small[0] 0.248
testInitialClone_WithAuthenticationOnPostOnly[0] 0.207
testInitialClone_Redirect302Small[0] 0.267
testInitialClone_WithAuthentication[0] 0.258
testInitialClone_Redirect303Small[0] 0.198
testInitialClone_Redirect307Small[0] 0.204
testFetch_RefsUnreadableOnUpload[0] 0.228
testFetch_FewLocalCommits[1] 1.116
testInvalidWant[1] 0.192
testInitialClone_RedirectMultiple[1] 0.197
testPush_NotAuthorized[1] 0.195
testPush_CreateBranch[1] 0.242
testInitialClone_WithAuthenticationAfterRedirect[1] 0.265
testInitialClone_Small[1] 0.251
testFetch_TooManyLocalCommits[1] 1.332
testInitialClone_WithAuthenticationNoCredentials[1] 0.157
testListRemote[1] 0.161
testInitialClone_RedirectOnPostForbidden[1] 0.189
testListRemote_BadName[1] 0.186
testInitialClone_RedirectForbidden[1] 0.197
testInitialClone_RedirectMax[1] 0.26
testInitialClone_WithAuthenticationWrongCredentials[1] 0.203
testInitialClone_RedirectLoop[1] 0.206
testInitialClone_RedirectOnPostAllowed[1] 0.203
testInitialClone_RedirectTooOften[1] 0.183
testPush_ChunkedEncoding[1] 0.229
testInitialClone_BrokenServer[1] 0.207
testInitialClone_Redirect301Small[1] 0.26
testInitialClone_WithAuthenticationOnPostOnly[1] 0.198
testInitialClone_Redirect302Small[1] 0.251
testInitialClone_WithAuthentication[1] 0.217
testInitialClone_Redirect303Small[1] 0.216
testInitialClone_Redirect307Small[1] 0.243
testFetch_RefsUnreadableOnUpload[1] 0.19

ProtocolErrorTest

testPush_UnpackError_TruncatedPack 0.887

ServletUtilsTest

testAcceptGzip 0.001

HttpClientTests

testListRemote_Dumb_NoHEAD 0.727
testListRemote_Smart_DetachedHEAD 0.442
testRepositoryNotFound_Dumb 0.258
testListRemote_Smart_WithQueryParameters 0.278
testListRemote_Dumb_Auth 0.236
testListRemote_Dumb_NeedsAuth 0.183
testListRemote_Smart_UploadPackNeedsAuth 0.224
testRepositoryNotFound_Smart 0.208
testListRemote_Dumb_DetachedHEAD 0.169
testListRemoteWithoutLocalRepository 0.175
testListRemote_Smart_UploadPackDisabled 0.213

DefaultUploadPackFactoryTest

testCreate_Default 1.776
testCreate_Disabled 0.048
testDisabledSingleton 0.204
testCreate_Enabled 0.039

ErrorServletTest

testHandler 2.145

SetAdditionalHeadersTest

testSetHeaders 1.746

RemoteTest

testAdd 2.175
testList 0.267
testVerboseList 0.244
testRemove 0.382
testSetUrl 0.367
testUpdate 1.034
testSetUrlPush 0.105

CommitTest

testCommitAll 0.714
testCommitPath 0.53

CLIGitCommandTest

testSplit 0.002

TextBuiltinTest

testCleanDeleteDirs 2.007

LsRemoteTest

testLsRemoteHeadsTags 2.715
testLsRemoteTags 0.605
testLsRemote 0.453
testLsRemoteHeads 0.689

ResetTest

testResetSelf 0.229
testPathOptionHelp 0.044
testResetPathNoDoubleDash 0.375
testResetPrevious 0.338
testResetPathDoubleDashNoRef 0.365
testZombieArgument_Bug484951 0.065
testResetPathNoDoubleDashNoRef 0
Currently we cannote recognize if a name is a commit-ish or a path, so 'git reset a' will not work if 'a' is not a branch name but a file path
testResetPathDoubleDash 0.433
testResetEmptyPath 0.084

TagTest

testTagTwice 0.392
testTagDeleteFail 0.31
testTagDelete 0.084

ConfigTest

testListConfig 0.182

CommitAndLogTest

testCommitAmend 0.37

ReflogTest

testSingleCommit 0.202
testClean 0.035
testBranch 0.388

FetchTest

testFetchNoTags 3.298
testFetchDefault 1.313
testFetchAllTags 0.673

AddTest

testAddNothing 1.836
testAddAFile 0.323
testAddUsage 0.064
testAddFileTwice 0.2
testAddAlreadyAdded 0.223

LfsPointerFilterTest

testValidNestedPointers 0.686
testRegularFilesInRepositoryRoot 0
testNestedRegularFiles 0
testValidNestedPointersWithoutRecurrence 0.098
testValidPointersInRepositoryRoot 0.104

LongObjectIdTest

test011_toString 0.019
testCopyFromStringInvalid 0.029
testCopyFromStringByte 0.002
test010_toString 0
test009_toString 0
testCopyToByte 0
test008_notIsId 0.001
testCopy 0.006
testCompareTo 0.001
testCopyRawToOutputStream 0
testCopyRawBytes 0
testCopyRawLongs 0.001
test002_toString 0
testGetByte 0
test004_isId 0
test005_notIsId 0
test001_toString 0.001
test007_isId 0
testCopyToStringBuilder 0
test003_equals 0
testCopyToByteBuffer 0.001
testCopyRawToByteBuffer 0.001
testCompareToByte 0
testCompareToLong 0
testHashFile 0.143
testCopyToOutputStream 0
testEquals 0.002
testCopyToWriter 0.004
testSetByte 0.001
testCopyToWriterWithBuf 0
testZeroId 0
test006_notIsId 0

LFSPointerTest

testEncoding 0.118

AbbreviatedLongObjectIdTest

test33_FromString 0.177
testFromLongObjectId 0.009
testEquals_Full 0
test15_FromString 0
testNotEquals_SameLength 0
testIsId 0.001
testPrefixCompare_1 0
test16_FromString 0
testEmpty_FromString 0
test17_FromString 0.001
testFromStringWrongLength 0.018
testPrefixCompare_15 0
testPrefixCompare_16 0.001
testPrefixCompare_17 0.001
testPrefixCompare_33 0
testPrefixCompare_Full 0
testFull_FromByteArray 0
test1_FromString 0.001
test2_FromString 0
testFromStringByteWrongLength 0.003
test3_FromString 0.001
test4_FromString 0
test5_FromString 0
test6_FromString 0
testEquals_Short 0
test7_FromString 0
testFull_FromString 0
test8_FromString 0
test9_FromString 0
testAbbreviate 0
testGetFirstByte 0.001
testNotEquals 0
testPrefixCompareByte 0
testPrefixCompareLong 0
testNotEquals_DiffLength 0
testEmpty_FromByteArray 0

MutableLongObjectIdTest

testCopy 0.024
testFromStringByte 0.016
testToObjectId 0.001
testFromRawLong 0
testFromString 0.036

UploadTest

testParallelUploads 2.71
testCorruptUpload 0.061
testLargeFileUpload 0.809
testUpload 0.057

Failure Details

[Summary] [Package List] [Test Cases]


testResetPathNoDoubleDashNoRef
skipped: Currently we cannote recognize if a name is a commit-ish or a path, so 'git reset a' will not work if 'a' is not a branch name but a file path