Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
183 0 0 1 99.454% 1.797

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.plugins.enforcer.utils 8 0 0 0 100% 0.008
org.apache.maven.plugins.enforcer 175 0 0 1 99.429% 1.789

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

org.apache.maven.plugins.enforcer.utils

Class Tests Errors Failures Skipped Success Rate Time
TestArtifactMatcher 3 0 0 0 100% 0.003
TestMockEnforcerExpressionEvaluator 1 0 0 0 100% 0.003
TestNormalizeLineSeparatorReader 4 0 0 0 100% 0.002

org.apache.maven.plugins.enforcer

Class Tests Errors Failures Skipped Success Rate Time
BanDistributionManagementTest 8 0 0 0 100% 0.961
ReactorModuleConvergenceTest 9 0 0 0 100% 0.08
RequireActiveProfileTest 9 0 0 0 100% 0.003
RequirePrerequisiteTest 9 0 0 0 100% 0.005
RequireUpperBoundDepsTest 1 0 0 0 100% 0.124
TestAbstractVersionEnforcer 2 0 0 0 100% 0.05
TestAlwaysFail 1 0 0 0 100% 0.003
TestAlwaysPass 1 0 0 0 100% 0.004
TestBannedDependencies$IncludesExcludesNoTransitive 3 0 0 0 100% 0
TestBannedDependencies$IllegalFormatsTests 2 0 0 0 100% 0
TestBannedDependencies$PartialWildcardExcludesUsingTransitiveDependencies 3 0 0 0 100% 0.001
TestBannedDependencies$WildcardExcludesUsingTransitiveDependencies 4 0 0 0 100% 0
TestBannedDependencies$ExcludesUsingTransitiveDependencies 6 0 0 0 100% 0.002
TestBannedDependencies$ExcludesDoNotUseTransitiveDependencies 3 0 0 0 100% 0.006
TestBannedRepositories 4 0 0 0 100% 0.006
TestEvaluateBeanshell 6 0 0 0 100% 0.144
TestMavenVersion 3 0 0 0 100% 0.033
TestRequireEnvironmentVariable 2 0 0 0 100% 0.005
TestRequireFileChecksum 15 0 0 0 100% 0.095
TestRequireFilesDontExist 7 0 0 0 100% 0.016
TestRequireFilesExist 8 0 0 0 100% 0.023
TestRequireFilesSize 8 0 0 0 100% 0.029
TestRequireJavaVendor 8 0 0 0 100% 0.003
TestRequireJavaVersion 5 0 0 1 80% 0.053
TestRequireNoRepositories 15 0 0 0 100% 0.012
TestRequireOS 3 0 0 0 100% 0.016
TestRequirePluginVersions 14 0 0 0 100% 0.063
TestRequireProperty 3 0 0 0 100% 0.004
TestRequireReleaseDeps 3 0 0 0 100% 0.026
TestRequireReleaseVersion 2 0 0 0 100% 0.008
TestRequireSnapshotVersion 3 0 0 0 100% 0.007
TestRequireTextFileChecksum 5 0 0 0 100% 0.007

Test Cases

[Summary] [Package List] [Test Cases]

BanDistributionManagementTest

shouldThrowExceptionIfDistributionManagementIsDefinedWithRepositorySnapshotRepository 0.889
shouldNotFailWithoutDistributionManagement 0.001
shouldAllowDistributionManagementHavingRepositorySnapshotRepository 0.001
shouldAllowDistributionManagementHavingRepositorySnapshotRepositorySite 0.001
shouldThrowExceptionIfDistributionManagementIsDefinedWithRepositorySnapshotRepositorySite 0.002
shouldThrowExceptionIfDistributionManagementIsDefinedWithRepository 0.002
shouldThrowExceptionCauseParentProjectHasDistributionManagementSnapshotRepository 0.002
shouldAllowDistributionManagementHavingRepository 0.002

ReactorModuleConvergenceTest

shouldFailWithWrongParent 0.026
shouldFailWithWrongDependencyInReactor 0.024
shouldFailWithAParentWhichIsNotPartOfTheReactory 0.008
shouldNotFailWithDependencyInReactory 0.005
shouldNotFailWithAValidProject 0.003
shouldNotFailWithNoProject 0
shouldFailWithWrongVersionInOneChild 0.003
shouldNotFailWithACompanyParent 0.003
shouldFailWithMissingParentsInReactory 0.003

RequireActiveProfileTest

testTwoActiveProfilesWithOneRequiredProfile 0
testNoActiveProfileButTheRuleRequestedAnActiveProfile 0
testNoActiveProfilesInProjectAndNoProfilesExpectedToBeActivated 0
testActiveProfileAndExpectedActiveProfile 0
testOneActiveProfilesWithTwoRequiredProfiles 0
testNoActiveProfileButWeExpectToGetAnExceptionWithAll 0
testTwoActiveProfilesWithTwoRequiredProfilesWhereOneOfThemIsNotPartOfTheActiveProfiles 0
testTwoActiveProfilesWhereOneProfileIsRequiredToBeActivated 0
testOneActiveProfileWithTwoProfilesButNotAll 0

RequirePrerequisiteTest

testLowerMavenPrerequisite 0
testLowerMavenRangePrerequisite 0
testNotMatchingPackagings 0
testPomPackaging 0
testValidPrerequisite 0
testMatchingPackagings 0
testNoSpecifiedPrerequisite 0
testMavenRangesPrerequisite 0
testNoPrerequisite 0

RequireUpperBoundDepsTest

testRule 0.122

TestAbstractVersionEnforcer

testEnforceVersion 0.047
testContainsVersion 0

TestAlwaysFail

testExecute 0

TestAlwaysPass

testExecute 0.002

TestBannedDependencies$IncludesExcludesNoTransitive

includeEverythingAndExcludeEverythign 0
includeEverythingAndExcludeEveryGroupIdAndScopeRuntime 0
includeEverythingAndExcludeEveryGroupIdAndScopeRuntimeYYYY 0

TestBannedDependencies$IllegalFormatsTests

onlyThreeColonsWithoutAnythingElse 0
onlySevenColonsWithoutAnythingElse 0

TestBannedDependencies$PartialWildcardExcludesUsingTransitiveDependencies

groupIdArtifactIdVersionWildcardTypeScope 0.001
groupIdArtifactIdVersionTypeWildcardScope 0
groupIdArtifactIdWithWildcard 0

TestBannedDependencies$WildcardExcludesUsingTransitiveDependencies

testWildcardForGroupIdArtifactIdWildcardForVersion 0
testWildCardForGroupIdArtifactId 0
testWildcardForGroupIdArtifactIdVersion 0
testWildcardForGroupIdWildcardForArtifactIdVersion 0

TestBannedDependencies$ExcludesUsingTransitiveDependencies

groupIdArtifactIdVersionTypeScope 0
testGroupIdArtifactId 0
testGroupId 0
groupIdArtifactIdVersionType 0
testGroupIdArtifactIdVersion 0.001
testSpaceTrimmingGroupIdArtifactIdVersion 0.001

TestBannedDependencies$ExcludesDoNotUseTransitiveDependencies

testGroupIdArtifactId 0.001
testGroupId 0.002
testGroupIdArtifactIdVersion 0.003

TestBannedRepositories

testAllowedRepositoriesAllOK 0
testBannedRepositories 0
testAllowedRepositoriesException 0
testNoCheckRules 0

TestEvaluateBeanshell

testRuleFailNoMessage 0.038
testRuleInvalidBeanshell 0.004
testRuleInvalidExpression 0.005
testRuleCanExecuteMultipleThreads 0.082
testRuleFail 0.007
testRulePass 0.005

TestMavenVersion

testRule 0.009
testId 0
checkRequireVersionMatrix 0.022

TestRequireEnvironmentVariable

testRule 0
testRuleWithRegex 0

TestRequireFileChecksum

testFileChecksumMd5GivenFileIsNotReadableFailure 0.009
testFileChecksumSha256 0.013
testFileChecksumSha384 0.007
testFileChecksumSha512 0.006
testFileChecksumMd5GivenFileDoesNotExistFailure 0.003
testFileChecksumMd5ChecksumMismatchFailure 0.007
testFileChecksumMd5ChecksumMismatchFailureWithMessage 0.006
testFileChecksumMd5GivenFileIsADirectoryFailure 0.006
testFileChecksumMd5 0.006
testFileChecksumMd5NoTypeSpecifiedFailure 0.005
testFileChecksumSha1 0.008
testFileChecksumMd5NoChecksumSpecifiedFailure 0.005
testFileChecksumMd5NoFileSpecifiedFailure 0.002
testFileChecksumMd5GivenFileDoesNotExistFailureWithMessage 0.002
testFileChecksumMd5UpperCase 0.008

TestRequireFilesDontExist

testEmptyFileListAllowNull 0
testEmptyFileList 0
testEmptyFileAllowNull 0
testId 0.003
testEmptyFile 0.003
testFileDoesNotExist 0.004
testFileExists 0.004

TestRequireFilesExist

testEmptyFileListAllowNull 0
testEmptyFileList 0
testFileOsIndependentExists 0.002
testEmptyFileAllowNull 0.002
testId 0.001
testEmptyFile 0.003
testFileDoesNotExist 0.005
testFileExists 0.007

TestRequireFilesSize

testEmptyFileList 0.004
testFileTooSmall 0
testEmptyFileAllowNull 0.001
testId 0.001
testEmptyFile 0.003
testFileDoesNotExist 0.005
testFileExists 0.006
testFileTooBig 0.006

TestRequireJavaVendor

defaultRule 0
matchingInclude 0
nonMatchingInclude 0
matchAnyInclude 0
matchingExclude 0.001
matchingIncludeAndMatchingExclude 0
nonMatchingExclude 0
matchAnyExclude 0

TestRequireJavaVersion

thisShouldNotCrash 0
skipped
settingsTheJavaVersionAsNormalizedVersionShouldNotFail 0.009
testId 0.032
excludingTheCurrentJavaVersionViaRangeThisShouldFailWithException 0.009
testFixJDKVersion 0

TestRequireNoRepositories

testAllBannedWithRepository 0.001
testPluginRepositoriesNotBannedWithOutAnyRepository 0
testRepositoriesNotBannedWithOutAnyRepository 0
testAllBannedWithSnapshotRepositoryAndSetAllowSnapshotRepositories 0
testAllBannedNoRepositories 0
testAllBannedWithAllowedPluginRepositories 0
testPluginRepositoriesNotBannedWithSinglePluginRepository 0
testAllBannedWithPluginRepository 0
testAllBannedWithEmptyRepository 0
testAllBannedWithSnapshotPluginRepositoryAndSetAllowSnapshotPluginRepositories 0
testAllBannedWithAllowedRepositories 0
testAllBannedWithSnapshotRepositoryAllowedRepositories 0
testAllBannedWithEmptyPluginRepository 0
testAllBannedWithSnapshotRepository 0
testRepositoriesNotBannedWithSingleRepository 0

TestRequireOS

testId 0
testOS 0.005
testInvalidFamily 0.008

TestRequirePluginVersions

testGetAdditionalPluginsNull 0
testHasVersionSpecified 0.037
testId 0
testGetAdditionalPluginsEmptySet 0
testCombinePlugins 0
testGetAdditionalPluginsInvalidFormat 0
testHasVersionSpecifiedWithProperties 0.02
testCombinePlugins1 0
testCombinePlugins2 0
testCombinePlugins3 0
testCombinePlugins4 0
testCombinePlugins5 0
testGetUncheckedPlugins 0
testGetAdditionalPlugins 0

TestRequireProperty

testRule 0
testId 0
testRuleWithRegex 0

TestRequireReleaseDeps

testRule 0.024
testId 0
testWildcardIgnore 0

TestRequireReleaseVersion

testCache 0
testMojo 0.006

TestRequireSnapshotVersion

testWithParentShouldFail 0.003
testWithParentShouldPass 0
testRequireSnapshot 0.001

TestRequireTextFileChecksum

testFileChecksumMd5NormalizedFromUnixToWindows 0
testFileChecksumMd5NormalizedFromWindowsToUnix 0
testFileChecksumMd5NormalizedFromUnixToUnix 0
testFileChecksumMd5NormalizedFromWindowsToWindows 0
testFileChecksumMd5NormalizedWithMissingFileCharsetParameter 0.005

TestArtifactMatcher

testMatch 0
testPattern 0
testPatternInvalidInput 0

TestMockEnforcerExpressionEvaluator

testEvaluate 0

TestNormalizeLineSeparatorReader

testUnixToWindows 0
testWindowsToUnix 0
testUnixToUnix 0
testWindowsToWindows 0

Failure Details

[Summary] [Package List] [Test Cases]


thisShouldNotCrash
skipped: skipped