Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
86000100%2.223

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.enforcer79000100%2.061
org.apache.maven.plugins.enforcer.utils7000100%0.162

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

org.apache.maven.plugins.enforcer

ClassTestsErrors FailuresSkippedSuccess RateTime
TestAbstractVersionEnforcer2000100%0.044
TestAlwaysFail1000100%0.026
TestAlwaysPass1000100%0.001
TestBannedDependencies2000100%0.014
TestEvaluateBeanshell5000100%0.343
TestMavenVersion2000100%0.002
TestNoSnapshots2000100%0
TestRequireFilesDontExist7000100%0.072
TestRequireFilesExist7000100%0
TestRequireFilesSize8000100%0.001
TestRequireJavaVersion3000100%0.008
TestRequireNoRepositories15000100%1.155
TestRequireOS2000100%0.005
TestRequirePluginVersions15000100%0.387
TestRequireProperty3000100%0.001
TestRequireReleaseDeps2000100%0.001
TestRequireReleaseVersion2000100%0.001

org.apache.maven.plugins.enforcer.utils

ClassTestsErrors FailuresSkippedSuccess RateTime
TestEnforcerRuleUtils6000100%0.162
TestMockEnforcerExpressionEvaluator1000100%0

Test Cases

[Summary] [Package List] [Test Cases]

TestAbstractVersionEnforcer

testContainsVersion0.008
testEnforceVersion0.005

TestAlwaysFail

testExecute0.026

TestAlwaysPass

testExecute0

TestBannedDependencies

testRule0.013
testIncludes0.001

TestEvaluateBeanshell

testRulePass0.122
testRuleFail0
testRuleFailNoMessage0
testRuleInvalidExpression0.215
testRuleInvalidBeanshell0.004

TestMavenVersion

testRule0.001
testId0

TestNoSnapshots

testRule0
testId0

TestRequireFilesDontExist

testId0
testFileExists0.066
testEmptyFile0
testEmptyFileAllowNull0
testEmptyFileList0
testEmptyFileListAllowNull0
testFileDoesNotExist0.001

TestRequireFilesExist

testId0
testFileExists0
testEmptyFile0
testEmptyFileAllowNull0
testEmptyFileList0
testEmptyFileListAllowNull0
testFileDoesNotExist0

TestRequireFilesSize

testId0
testFileExists0
testEmptyFile0
testEmptyFileAllowNull0
testEmptyFileList0
testFileDoesNotExist0
testFileTooSmall0
testFileTooBig0

TestRequireJavaVersion

testRule0.005
testId0
testFixJDKVersion0.003

TestRequireNoRepositories

testId0.424
testAllBannedNoRepositories0.139
testAllBannedWithRepositories0.085
testAllBannedWithAllowedRepositories0.063
testAllBannedWithAllowedPluginRepositories0.097
testReposNotBannedNoRepositories0.053
testReposNotBannedWithRepositories0.035
testReposNotBannedWithPluginRepositories0.049
testPluginReposNotBannedNoRepositories0.035
testPluginReposNotBannedWithRepositories0.035
testPluginReposNotBannedWithPluginRepositories0.033
testReposNotAllowedWithSnapshotRepositories0.032
testReposAllowedWithSnapshotRepositories0.023
testPluginReposNotAllowedWithSnapshotRepositories0.025
testPluginReposAllowedWithSnapshotPluginRepositories0.019

TestRequireOS

testId0
testOS0.004

TestRequirePluginVersions

testId0.032
testHasVersionSpecified0.026
testHasVersionSpecifiedWithProperties0.021
testGetAllPlugins0.023
testGetAdditionalPluginsNull0.024
testGetAdditionalPluginsInvalidFormat0.023
testGetAdditionalPluginsEmptySet0.022
testGetAdditionalPlugins0.023
testGetUncheckedPlugins0.021
testCombinePlugins0.02
testCombinePlugins10.033
testCombinePlugins20.021
testCombinePlugins30.03
testCombinePlugins40.036
testCombinePlugins50.03

TestRequireProperty

testRule0
testId0
testRuleWithRegex0

TestRequireReleaseDeps

testRule0.001
testId0

TestRequireReleaseVersion

testMojo0
testCache0.001

TestEnforcerRuleUtils

testCheckIfModelMatches0.01
testGetModelsRecursivelyBottom0.038
testGetModelsRecursivelyTop0.019
testGetModelsRecursivelyParentExpression0.042
testGetModelsRecursivelyParentRelativePath0.017
testGetModelsRecursivelyParentRelativePathDirectory0.015

TestMockEnforcerExpressionEvaluator

testEvaluate0