Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
91000100%1.279

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.maven.plugins.enforcer81000100%0.842
org.apache.maven.plugins.enforcer.utils10000100%0.437

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

org.apache.maven.plugins.enforcer

ClassTestsErrors FailuresSkippedSuccess RateTime
TestRequireFilesSize8000100%0.002
TestAbstractVersionEnforcer2000100%0.006
TestRequireNoRepositories15000100%0.293
TestRequireJavaVersion3000100%0.007
TestRequireReleaseDeps2000100%0.001
TestAlwaysPass1000100%0.001
TestRequireReleaseVersion2000100%0.002
TestEvaluateBeanshell5000100%0.175
TestBannedDependencies2000100%0.023
TestRequireFilesDontExist7000100%0.038
TestRequireEnvironmentVariable2000100%0.002
TestMavenVersion2000100%0.001
TestRequireProperty3000100%0.001
TestRequirePluginVersions15000100%0.264
TestNoSnapshots2000100%0.015
TestAlwaysFail1000100%0
TestRequireFilesExist7000100%0.001
TestRequireOS2000100%0.01

org.apache.maven.plugins.enforcer.utils

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEnforcerRuleUtils6000100%0.429
TestArtifactMatcher3000100%0.008
TestMockEnforcerExpressionEvaluator1000100%0

Test Cases

[Summary] [Package List] [Test Cases]

TestRequireFilesSize

testFileExists0
testEmptyFile0
testEmptyFileAllowNull0
testEmptyFileList0.001
testFileDoesNotExist0
testId0
testFileTooSmall0
testFileTooBig0.001

TestAbstractVersionEnforcer

testContainsVersion0.004
testEnforceVersion0.002

TestRequireNoRepositories

testId0.026
testAllBannedNoRepositories0.022
testAllBannedWithRepositories0.024
testAllBannedWithAllowedRepositories0.018
testAllBannedWithAllowedPluginRepositories0.018
testReposNotBannedNoRepositories0.018
testReposNotBannedWithRepositories0.019
testReposNotBannedWithPluginRepositories0.019
testPluginReposNotBannedNoRepositories0.02
testPluginReposNotBannedWithRepositories0.02
testPluginReposNotBannedWithPluginRepositories0.016
testReposNotAllowedWithSnapshotRepositories0.017
testReposAllowedWithSnapshotRepositories0.016
testPluginReposNotAllowedWithSnapshotRepositories0.022
testPluginReposAllowedWithSnapshotPluginRepositories0.018

TestRequireJavaVersion

testId0
testRule0.003
testFixJDKVersion0.004

TestEnforcerRuleUtils

testCheckIfModelMatches0.226
testGetModelsRecursivelyBottom0.061
testGetModelsRecursivelyTop0.032
testGetModelsRecursivelyParentExpression0.049
testGetModelsRecursivelyParentRelativePath0.027
testGetModelsRecursivelyParentRelativePathDirectory0.034

TestRequireReleaseDeps

testId0
testRule0.001

TestAlwaysPass

testExecute0.001

TestRequireReleaseVersion

testMojo0.002
testCache0

TestEvaluateBeanshell

testRulePass0.057
testRuleFail0
testRuleFailNoMessage0
testRuleInvalidExpression0.116
testRuleInvalidBeanshell0.002

TestBannedDependencies

testRule0.02
testIncludes0.003

TestRequireFilesDontExist

testFileExists0.038
testEmptyFile0
testEmptyFileAllowNull0
testEmptyFileList0
testEmptyFileListAllowNull0
testFileDoesNotExist0
testId0

TestRequireEnvironmentVariable

testRule0.002
testRuleWithRegex0

TestMavenVersion

testId0
testRule0.001

TestRequireProperty

testId0.001
testRule0
testRuleWithRegex0

TestRequirePluginVersions

testId0.022
testHasVersionSpecified0.017
testHasVersionSpecifiedWithProperties0.016
testGetAllPlugins0.018
testGetAdditionalPluginsNull0.018
testGetAdditionalPluginsInvalidFormat0.018
testGetAdditionalPluginsEmptySet0.017
testGetAdditionalPlugins0.024
testGetUncheckedPlugins0.027
testCombinePlugins0.015
testCombinePlugins10.014
testCombinePlugins20.016
testCombinePlugins30.014
testCombinePlugins40.014
testCombinePlugins50.014

TestArtifactMatcher

testPatternInvalidInput0.001
testPattern0.004
testMatch0.003

TestMockEnforcerExpressionEvaluator

testEvaluate0

TestNoSnapshots

testId0.001
testRule0.014

TestAlwaysFail

testExecute0

TestRequireFilesExist

testFileExists0
testEmptyFile0
testEmptyFileAllowNull0
testEmptyFileList0
testEmptyFileListAllowNull0.001
testFileDoesNotExist0
testId0

TestRequireOS

testId0.004
testOS0.006