Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
30 0 0 0 100% 0.361 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 30 0 0 0 100% 0.361 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.083 s
HashAlgorithmVerifierTest 2 0 0 0 100% 0.031 s
InstallerTest 4 0 0 0 100% 0.206 s
PathAssemblerTest 6 0 0 0 100% 0.005 s
SnapshotDistributionTest 3 0 0 0 100% 0.010 s
SystemPropertiesHandlerTest 2 0 0 0 100% 0.001 s
WrapperExecutorTest 12 0 0 0 100% 0.025 s

Test Cases

[Summary] [Package List] [Test Cases]

DownloaderTest

testDownload 0.040 s

HashAlgorithmVerifierTest

sha256SumsMatch 0.027 s
sha256SumsDoNotMatch 0.002 s

InstallerTest

testCreateDistWithExistingDistribution 0.194 s
testZipSlip 0.003 s
testCreateDistWithExistingZipAndDistAndAlwaysDownloadTrue 0.004 s
testCreateDistWithExistingDistAndZipAndAlwaysUnpackTrue 0.003 s

PathAssemblerTest

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

SnapshotDistributionTest

testSnapshotUrlParsing 0.001 s
testWrapperExecutorWithSnapshotUrl 0.007 s
testRegularReleaseUrlStillWorks 0.001 s

SystemPropertiesHandlerTest

testParsePropertiesFile 0.001 s
ifNoPropertyFileExistShouldReturnEmptyMap 0 s

WrapperExecutorTest

executeInstallAndLaunch 0.003 s
propertiesFileOnlyContainsDistURL 0 s
loadWrapperMetadataFromDirectory 0 s
testEnvironmentVariableOverwritePackageNameTrailingSpace 0 s
testEnvironmentVariableOverwritePackageName 0 s
failWhenPropertiesFileDoesNotExist 0 s
testEnvironmentVariableOverwriteSimpleCase 0 s
loadWrapperMetadataFromFile 0 s
useDefaultMetadataNoProeprtiesFile 0 s
testRelativeDistUrl 0 s
testEnvironmentVariableOverwriteMvnwRepoUrlTrailingSlash 0 s
failWhenDistNotSetInProperties 0 s