Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
26 0 0 0 100% 0.253 s

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.apache.maven.wrapper 26 0 0 0 100% 0.253 s

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

org.apache.maven.wrapper

- Class Tests Errors Failures Skipped Success Rate Time
DownloaderTest 1 0 0 0 100% 0.021 s
HashAlgorithmVerifierTest 2 0 0 0 100% 0.017 s
InstallerTest 4 0 0 0 100% 0.166 s
PathAssemblerTest 5 0 0 0 100% 0.004 s
SystemPropertiesHandlerTest 2 0 0 0 100% 0.009 s
WrapperExecutorTest 12 0 0 0 100% 0.036 s

Test Cases

[Summary] [Package List] [Test Cases]

DownloaderTest

testDownload 0.013 s

HashAlgorithmVerifierTest

sha256SumsMatch 0.013 s
sha256SumsDoNotMatch 0.002 s

InstallerTest

testCreateDistWithExistingDistribution 0.155 s
testZipSlip 0.002 s
testCreateDistWithExistingZipAndDistAndAlwaysDownloadTrue 0.003 s
testCreateDistWithExistingDistAndZipAndAlwaysUnpackTrue 0.002 s

PathAssemblerTest

distributionDirWithUnknownBase 0 s
distributionDirWithMavenUserHomeBase 0.001 s
distributionDirWithProjectBase 0.001 s
distZipWithMavenUserHomeBase 0 s
distZipWithProjectBase 0 s

SystemPropertiesHandlerTest

testParsePropertiesFile 0.008 s
ifNoPropertyFileExistShouldReturnEmptyMap 0 s

WrapperExecutorTest

executeInstallAndLaunch 0.003 s
propertiesFileOnlyContainsDistURL 0.001 s
testEnvironmentVariableOverwrite_packageName 0 s
loadWrapperMetadataFromDirectory 0 s
testEnvironmentVariableOverwrite_packageName_trailingSpace 0 s
testEnvironmentVariableOverwrite_mvnwRepoUrl_trailingSlash 0 s
failWhenPropertiesFileDoesNotExist 0 s
loadWrapperMetadataFromFile 0 s
testEnvironmentVariableOverwrite_simpleCase 0 s
useDefaultMetadataNoProeprtiesFile 0 s
testRelativeDistUrl 0.001 s
failWhenDistNotSetInProperties 0.001 s