Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
260 0 0 0 100% 8.575

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
com.github.jonasrutishauser.maven.wagon.git.util 9 0 0 0 100% 0.089
com.github.jonasrutishauser.maven.wagon.git 251 0 0 0 100% 8.486

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

com.github.jonasrutishauser.maven.wagon.git.util

Class Tests Errors Failures Skipped Success Rate Time
LoggerProgressMonitorTest$DebugEnabled 5 0 0 0 100% 0.083
LoggerProgressMonitorTest$DebugDisabled 4 0 0 0 100% 0.006

com.github.jonasrutishauser.maven.wagon.git

Class Tests Errors Failures Skipped Success Rate Time
GitConfigurationTest 162 0 0 0 100% 0.302
GitConnectionTest 72 0 0 0 100% 8.086
GitWagonTest 17 0 0 0 100% 0.098

Test Cases

[Summary] [Package List] [Test Cases]

LoggerProgressMonitorTest$DebugEnabled

onUpdatePercent 0.068
nothingOnUpdatePercentEnded 0.007
onEndTask 0.002
onUpdate 0.002
onEndTaskPercent 0.004

LoggerProgressMonitorTest$DebugDisabled

nothingOnEndTaskPercent 0.001
nothingOnUpdate 0.002
nothingOnEndTask 0.001
nothingOnUpdatePercent 0.002

GitConfigurationTest

parse_invalid{String}[1] 0.001
parse_invalid{String}[2] 0
parse{String, String, Optional, Optional}[1] 0.001
parse{String, String, Optional, Optional}[2] 0.004
parse{String, String, Optional, Optional}[3] 0
parse{String, String, Optional, Optional}[4] 0
parse{String, String, Optional, Optional}[5] 0.002
parse{String, String, Optional, Optional}[6] 0.001
parse{String, String, Optional, Optional}[7] 0.001
parse{String, String, Optional, Optional}[8] 0.001
parse{String, String, Optional, Optional}[9] 0.001
parse{String, String, Optional, Optional}[10] 0.001
parse{String, String, Optional, Optional}[11] 0.001
parse{String, String, Optional, Optional}[12] 0.001
parse{String, String, Optional, Optional}[13] 0.003
parse{String, String, Optional, Optional}[14] 0.001
parse{String, String, Optional, Optional}[15] 0.001
parse{String, String, Optional, Optional}[16] 0
parse{String, String, Optional, Optional}[17] 0.001
parse{String, String, Optional, Optional}[18] 0.001
parse{String, String, Optional, Optional}[19] 0.001
parse{String, String, Optional, Optional}[20] 0.001
parse{String, String, Optional, Optional}[21] 0.004
parse{String, String, Optional, Optional}[22] 0.001
parse{String, String, Optional, Optional}[23] 0
parse{String, String, Optional, Optional}[24] 0.001
parse{String, String, Optional, Optional}[25] 0.001
parse{String, String, Optional, Optional}[26] 0.001
parse{String, String, Optional, Optional}[27] 0
parse{String, String, Optional, Optional}[28] 0
parse{String, String, Optional, Optional}[29] 0
parse{String, String, Optional, Optional}[30] 0.001
parse{String, String, Optional, Optional}[31] 0.008
parse{String, String, Optional, Optional}[32] 0
parse{String, String, Optional, Optional}[33] 0
parse{String, String, Optional, Optional}[34] 0
parse{String, String, Optional, Optional}[35] 0
parse{String, String, Optional, Optional}[36] 0.001
parse{String, String, Optional, Optional}[37] 0.001
parse{String, String, Optional, Optional}[38] 0
parse{String, String, Optional, Optional}[39] 0.003
parse{String, String, Optional, Optional}[40] 0.001
parse{String, String, Optional, Optional}[41] 0
parse{String, String, Optional, Optional}[42] 0
parse{String, String, Optional, Optional}[43] 0
parse{String, String, Optional, Optional}[44] 0
parse{String, String, Optional, Optional}[45] 0.002
parse{String, String, Optional, Optional}[46] 0.001
parse{String, String, Optional, Optional}[47] 0
parse{String, String, Optional, Optional}[48] 0
parse{String, String, Optional, Optional}[49] 0
parse{String, String, Optional, Optional}[50] 0.001
parse{String, String, Optional, Optional}[51] 0
parse{String, String, Optional, Optional}[52] 0.006
parse{String, String, Optional, Optional}[53] 0
parse{String, String, Optional, Optional}[54] 0
parse{String, String, Optional, Optional}[55] 0.001
parse{String, String, Optional, Optional}[56] 0
parse{String, String, Optional, Optional}[57] 0
parse{String, String, Optional, Optional}[58] 0.001
parse{String, String, Optional, Optional}[59] 0.001
parse{String, String, Optional, Optional}[60] 0.001
parse{String, String, Optional, Optional}[61] 0.001
parse{String, String, Optional, Optional}[62] 0
parse{String, String, Optional, Optional}[63] 0
parse{String, String, Optional, Optional}[64] 0
parse{String, String, Optional, Optional}[65] 0.001
parse{String, String, Optional, Optional}[66] 0.001
parse{String, String, Optional, Optional}[67] 0
parse{String, String, Optional, Optional}[68] 0.001
parse{String, String, Optional, Optional}[69] 0
parse{String, String, Optional, Optional}[70] 0.001
parse{String, String, Optional, Optional}[71] 0.002
parse{String, String, Optional, Optional}[72] 0
parse{String, String, Optional, Optional}[73] 0
parse{String, String, Optional, Optional}[74] 0.001
parse{String, String, Optional, Optional}[75] 0.005
parse{String, String, Optional, Optional}[76] 0
parse{String, String, Optional, Optional}[77] 0
parse{String, String, Optional, Optional}[78] 0
parse{String, String, Optional, Optional}[79] 0.001
parse{String, String, Optional, Optional}[80] 0
parse{String, String, Optional, Optional}[81] 0
parse{String, String, Optional, Optional}[82] 0
parse{String, String, Optional, Optional}[83] 0.001
parse{String, String, Optional, Optional}[84] 0.001
parse{String, String, Optional, Optional}[85] 0.003
parse{String, String, Optional, Optional}[86] 0.001
parse{String, String, Optional, Optional}[87] 0.001
parse{String, String, Optional, Optional}[88] 0
parse{String, String, Optional, Optional}[89] 0
parse{String, String, Optional, Optional}[90] 0
parse{String, String, Optional, Optional}[91] 0.001
parse{String, String, Optional, Optional}[92] 0.003
parse{String, String, Optional, Optional}[93] 0
parse{String, String, Optional, Optional}[94] 0
parse{String, String, Optional, Optional}[95] 0
parse{String, String, Optional, Optional}[96] 0
parse{String, String, Optional, Optional}[97] 0
parse{String, String, Optional, Optional}[98] 0.001
parse{String, String, Optional, Optional}[99] 0
parse{String, String, Optional, Optional}[100] 0
parse{String, String, Optional, Optional}[101] 0.008
parse{String, String, Optional, Optional}[102] 0
parse{String, String, Optional, Optional}[103] 0.001
parse{String, String, Optional, Optional}[104] 0
parse{String, String, Optional, Optional}[105] 0
parse{String, String, Optional, Optional}[106] 0
parse{String, String, Optional, Optional}[107] 0.001
parse{String, String, Optional, Optional}[108] 0
parse{String, String, Optional, Optional}[109] 0
parse{String, String, Optional, Optional}[110] 0
parse{String, String, Optional, Optional}[111] 0.001
parse{String, String, Optional, Optional}[112] 0
parse{String, String, Optional, Optional}[113] 0
parse{String, String, Optional, Optional}[114] 0
parse{String, String, Optional, Optional}[115] 0
parse{String, String, Optional, Optional}[116] 0.001
parse{String, String, Optional, Optional}[117] 0
parse{String, String, Optional, Optional}[118] 0
parse{String, String, Optional, Optional}[119] 0
parse{String, String, Optional, Optional}[120] 0.001
parse{String, String, Optional, Optional}[121] 0.002
parse{String, String, Optional, Optional}[122] 0
parse{String, String, Optional, Optional}[123] 0
parse{String, String, Optional, Optional}[124] 0.001
parse{String, String, Optional, Optional}[125] 0
parse{String, String, Optional, Optional}[126] 0
parse{String, String, Optional, Optional}[127] 0.001
parse{String, String, Optional, Optional}[128] 0.001
parse{String, String, Optional, Optional}[129] 0
parse{String, String, Optional, Optional}[130] 0.001
parse{String, String, Optional, Optional}[131] 0
parse{String, String, Optional, Optional}[132] 0
parse{String, String, Optional, Optional}[133] 0
parse{String, String, Optional, Optional}[134] 0.001
parse{String, String, Optional, Optional}[135] 0
parse{String, String, Optional, Optional}[136] 0
parse{String, String, Optional, Optional}[137] 0
parse{String, String, Optional, Optional}[138] 0.001
parse{String, String, Optional, Optional}[139] 0.001
parse{String, String, Optional, Optional}[140] 0.004
parse{String, String, Optional, Optional}[141] 0
parse{String, String, Optional, Optional}[142] 0
parse{String, String, Optional, Optional}[143] 0
parse{String, String, Optional, Optional}[144] 0
parse{String, String, Optional, Optional}[145] 0
parse{String, String, Optional, Optional}[146] 0.001
parse{String, String, Optional, Optional}[147] 0
parse{String, String, Optional, Optional}[148] 0
parse{String, String, Optional, Optional}[149] 0.001
parse{String, String, Optional, Optional}[150] 0.001
parse{String, String, Optional, Optional}[151] 0.002
parse{String, String, Optional, Optional}[152] 0.001
parse{String, String, Optional, Optional}[153] 0.001
parse{String, String, Optional, Optional}[154] 0
parse{String, String, Optional, Optional}[155] 0
parse{String, String, Optional, Optional}[156] 0.001
parse{String, String, Optional, Optional}[157] 0.001
parse{String, String, Optional, Optional}[158] 0
parse{String, String, Optional, Optional}[159] 0.001
getWorkingDirectory_returnsAllwaysTheSame 0

GitConnectionTest

getIfNewer_olderFile_false{Optional, Path}[1] 0.985
getIfNewer_olderFile_false{Optional, Path}[2] 0.118
getIfNewer_olderFile_false{Optional, Path}[3] 0.109
open_IOExceptionOnWorkingDirectory_GitCloneException{Path} 0.007
close_workingDirDeleted_doNotFail{Optional, Path}[1] 0.048
close_workingDirDeleted_doNotFail{Optional, Path}[2] 0.029
close_workingDirDeleted_doNotFail{Optional, Path}[3] 0.032
getIfNewer_newerFileButIOException_GitException{Path} 0.09
close_withChangeConflict_GitPushException{Path} 0.119
open_ownRemoteViaSsh{String, String, Path}[1] 0.447
open_ownRemoteViaSsh{String, String, Path}[2] 0.1
open_ownRemoteViaSsh{String, String, Path}[3] 0.107
open_ownRemoteViaSsh{String, String, Path}[4] 0.119
open_ownRemote{Optional, Path}[1] 1.006
open_ownRemote{Optional, Path}[2] 1.938
open_ownRemote{Optional, Path}[3] 0.069
put_addsFile{Optional, Path}[1] 0.035
put_addsFile{Optional, Path}[2] 0.021
put_addsFile{Optional, Path}[3] 0.021
close_withoutChange_doNotPush{Path} 0.014
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[1] 0.094
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[2] 0.091
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[3] 0.083
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[4] 0.079
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[5] 0.084
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[6] 0.073
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[7] 0.094
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[8] 0.089
getIfNewer_newerFile_trueAndCopy{Optional, Optional, Path}[9] 0.085
put_directoryThere_GitException{Path} 0.019
getIfNewer_inexistingFile_NoSuchResourceInGitException{Path} 0.017
open_validRemote{Optional, Optional, Path}[1] 0.015
open_validRemote{Optional, Optional, Path}[2] 0.023
open_validRemote{Optional, Optional, Path}[3] 0.016
open_validRemote{Optional, Optional, Path}[4] 0.019
open_validRemote{Optional, Optional, Path}[5] 0.027
open_validRemote{Optional, Optional, Path}[6] 0.017
open_validRemote{Optional, Optional, Path}[7] 0.03
open_validRemote{Optional, Optional, Path}[8] 0.028
open_validRemote{Optional, Optional, Path}[9] 0.021
open_validRemoteWithContent{Optional, Optional, Path}[1] 0.046
open_validRemoteWithContent{Optional, Optional, Path}[2] 0.078
open_validRemoteWithContent{Optional, Optional, Path}[3] 0.045
open_validRemoteWithContent{Optional, Optional, Path}[4] 0.047
open_validRemoteWithContent{Optional, Optional, Path}[5] 0.08
open_validRemoteWithContent{Optional, Optional, Path}[6] 0.05
open_validRemoteWithContent{Optional, Optional, Path}[7] 0.044
open_validRemoteWithContent{Optional, Optional, Path}[8] 0.066
open_validRemoteWithContent{Optional, Optional, Path}[9] 0.05
put_addsDirectoryToRoot{Optional, Path}[1] 0.022
put_addsDirectoryToRoot{Optional, Path}[2] 0.026
put_addsDirectoryToRoot{Optional, Path}[3] 0.02
close_withChange_doPush_repeatedTwice{Optional, Path}[1] 0.116
close_withChange_doPush_repeatedTwice{Optional, Path}[2] 0.111
close_withChange_doPush_repeatedTwice{Optional, Path}[3] 0.101
getIfNewer_illegalGitState_GitException{Path} 0.013
close_removesWorkingDir{Optional, Path}[1] 0.016
close_removesWorkingDir{Optional, Path}[2] 0.015
close_removesWorkingDir{Optional, Path}[3] 0.014
close_withChangeAndRemoteNotAccessible_GitPushException{Path} 0.028
close_withChange_doPush{Optional, Path}[1] 0.032
close_withChange_doPush{Optional, Path}[2] 0.038
close_withChange_doPush{Optional, Path}[3] 0.038
put_addsDirectory{Optional, Path}[1] 0.018
put_addsDirectory{Optional, Path}[2] 0.017
put_addsDirectory{Optional, Path}[3] 0.026
open_invalidRemote_GitCloneException{String, Path}[1] 0.005
open_invalidRemote_GitCloneException{String, Path}[2] 0.052
open_githubHttpsWithInvalidCredentials_GitAuthenticationException{String, String, Path}[1] 0.075
open_githubHttpsWithInvalidCredentials_GitAuthenticationException{String, String, Path}[2] 0.061
open_githubHttpsWithInvalidCredentials_GitAuthenticationException{String, String, Path}[3] 0.069
open_githubHttpsWithInvalidCredentials_GitAuthenticationException{String, String, Path}[4] 0.063

GitWagonTest

get_callsGetIfNewerOnGitConnection 0.063
getIfNewer_gitException_throwsTransferFailedException 0.009
putDirectory_callsPutOnGitConnection 0.001
putDirectory_gitException_throwsTransferFailedException 0.001
get_noSuchResourceInGitException_throwsResourceDoesNotExistException 0.002
openConnectionInternal_gitCloneException_throwsConnectionException 0
closeConnection_gitPushException_throwsConnectionException 0.001
put_callsPutOnGitConnection 0.001
openConnectionInternal_gitAuthenticationException_throwsAuthenticationException 0.001
getIfNewer_callsGetIfNewerOnGitConnection 0.001
closeConnection_callsCloseOnGitConnection 0.001
getIfNewer_noSuchResourceInGitException_throwsResourceDoesNotExistException 0.001
get_gitException_throwsTransferFailedException 0.001
supportsDirectoryCopy 0
openConnectionInternal_opensGitConnection 0.001
closeConnection_gitAuthenticationException_throwsConnectionException 0.001
put_gitException_throwsTransferFailedException 0.003