Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
30 0 0 0 100% 0.310 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.310 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.004 s
WrapperExecutorTest 12 0 0 0 100% 0.034 s
HashAlgorithmVerifierTest 2 0 0 0 100% 0.010 s
PathAssemblerTest 6 0 0 0 100% 0.006 s
SystemPropertiesHandlerTest 2 0 0 0 100% 0.003 s
InstallerTest 4 0 0 0 100% 0.236 s
SnapshotDistributionTest 3 0 0 0 100% 0.017 s

Test Cases

[Summary] [Package List] [Test Cases]

DownloaderTest

testDownload 0.004 s

WrapperExecutorTest

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

HashAlgorithmVerifierTest

sha256SumsMatch 0.004 s
sha256SumsDoNotMatch 0.004 s

PathAssemblerTest

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

SystemPropertiesHandlerTest

testParsePropertiesFile 0.002 s
ifNoPropertyFileExistShouldReturnEmptyMap 0 s

InstallerTest

testCreateDistWithExistingDistribution 0.193 s
testZipSlip 0.006 s
testCreateDistWithExistingZipAndDistAndAlwaysDownloadTrue 0.015 s
testCreateDistWithExistingDistAndZipAndAlwaysUnpackTrue 0.014 s

SnapshotDistributionTest

testSnapshotUrlParsing 0.003 s
testWrapperExecutorWithSnapshotUrl 0.009 s
testRegularReleaseUrlStillWorks 0.003 s