Surefire Report
Summary
[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
209 | 0 | 0 | 0 | 100% | 0.694 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.enforcer.rules.property | 6 | 0 | 0 | 0 | 100% | 0.006 s |
org.apache.maven.enforcer.rules.checksum | 24 | 0 | 0 | 0 | 100% | 0.036 s |
org.apache.maven.enforcer.rules.utils | 5 | 0 | 0 | 0 | 100% | 0.034 s |
org.apache.maven.enforcer.rules | 101 | 0 | 0 | 0 | 100% | 0.519 s |
org.apache.maven.enforcer.rules.version | 30 | 0 | 0 | 0 | 100% | 0.028 s |
org.apache.maven.enforcer.rules.files | 26 | 0 | 0 | 0 | 100% | 0.040 s |
org.apache.maven.enforcer.rules.dependency | 17 | 0 | 0 | 0 | 100% | 0.031 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
org.apache.maven.enforcer.rules.property
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
TestRequireEnvironmentVariable | 3 | 0 | 0 | 0 | 100% | 0.003 s | |
TestRequireProperty | 3 | 0 | 0 | 0 | 100% | 0.003 s |
org.apache.maven.enforcer.rules.checksum
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
TestRequireFileChecksum | 15 | 0 | 0 | 0 | 100% | 0.023 s | |
TestRequireTextFileChecksum | 5 | 0 | 0 | 0 | 100% | 0.009 s | |
TestNormalizeLineSeparatorReader | 4 | 0 | 0 | 0 | 100% | 0.004 s |
org.apache.maven.enforcer.rules.utils
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
TestMockEnforcerExpressionEvaluator | 1 | 0 | 0 | 0 | 100% | 0.031 s | |
TestArtifactMatcher | 4 | 0 | 0 | 0 | 100% | 0.003 s |
org.apache.maven.enforcer.rules
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
BanDependencyManagementScopeTest | 1 | 0 | 0 | 0 | 100% | 0.004 s | |
TestExternalRules | 4 | 0 | 0 | 0 | 100% | 0.048 s | |
TestRequireReleaseVersion | 5 | 0 | 0 | 0 | 100% | 0.010 s | |
TestEvaluateBeanshell | 5 | 0 | 0 | 0 | 100% | 0.022 s | |
TestBannedRepositories | 4 | 0 | 0 | 0 | 100% | 0.005 s | |
TestRequireOS | 3 | 0 | 0 | 0 | 100% | 0.004 s | |
TestRequireSnapshotVersion | 5 | 0 | 0 | 0 | 100% | 0.005 s | |
TestRequirePluginVersions | 14 | 0 | 0 | 0 | 100% | 0.031 s | |
ReactorModuleConvergenceTest | 10 | 0 | 0 | 0 | 100% | 0.021 s | |
RequireActiveProfileTest | 9 | 0 | 0 | 0 | 100% | 0.261 s | |
RequirePrerequisiteTest | 9 | 0 | 0 | 0 | 100% | 0.005 s | |
TestRequireJavaVendor | 8 | 0 | 0 | 0 | 100% | 0.002 s | |
TestRequireNoRepositories | 15 | 0 | 0 | 0 | 100% | 0.053 s | |
BanDistributionManagementTest | 7 | 0 | 0 | 0 | 100% | 0.048 s | |
TestAlwaysPass | 1 | 0 | 0 | 0 | 100% | 0 s | |
TestAlwaysFail | 1 | 0 | 0 | 0 | 100% | 0 s |
org.apache.maven.enforcer.rules.version
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
TestRequireJavaVersion | 26 | 0 | 0 | 0 | 100% | 0.025 s | |
TestMavenVersion | 3 | 0 | 0 | 0 | 100% | 0.003 s | |
TestAbstractVersionEnforcer | 1 | 0 | 0 | 0 | 100% | 0 s |
org.apache.maven.enforcer.rules.files
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
TestRequireFilesExist | 9 | 0 | 0 | 0 | 100% | 0.024 s | |
TestRequireFilesDontExist | 8 | 0 | 0 | 0 | 100% | 0.005 s | |
TestRequireFilesSize | 9 | 0 | 0 | 0 | 100% | 0.011 s |
org.apache.maven.enforcer.rules.dependency
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
RequireReleaseDepsTest | 10 | 0 | 0 | 0 | 100% | 0.009 s | |
RequireUpperBoundDepsTest | 1 | 0 | 0 | 0 | 100% | 0.013 s | |
BannedDependenciesTest | 6 | 0 | 0 | 0 | 100% | 0.009 s |
Test Cases
[Summary] [Package List] [Test Cases]
RequireReleaseDepsTest
BanDependencyManagementScopeTest
testGetViolatingDependencies | 0.004 s |
TestExternalRules
shouldFailIfClasspathLocationIsNotFound | 0.038 s | |
shouldFailIfFileLocationIsNotFound | 0.002 s | |
shouldLoadRulesFromClassPath | 0.007 s | |
shouldFailIfNoLocationIsSet | 0.001 s |
TestRequireReleaseVersion
testProjectWithSnapshotVersion | 0.005 s | |
testCache | 0.002 s | |
testProjectWithReleaseVersion | 0 s | |
shouldAllowParentSnapshot | 0.002 s | |
shouldFailWhenParentIsSnapshot | 0.001 s |
TestEvaluateBeanshell
testRuleFailNoMessage | 0.014 s | |
testRuleInvalidBeanshell | 0.003 s | |
testRuleInvalidExpression | 0.002 s | |
testRuleFail | 0.001 s | |
testRulePass | 0.001 s |
TestBannedRepositories
testAllowedRepositoriesAllOK | 0.003 s | |
testBannedRepositories | 0 s | |
testAllowedRepositoriesException | 0.001 s | |
testNoCheckRules | 0 s |
TestRequireOS
testId | 0.001 s | |
testOS | 0.002 s | |
testInvalidFamily | 0.001 s |
TestRequireJavaVersion
TestRequireEnvironmentVariable
ruleShouldBeCached | 0 s | |
testRule | 0.001 s | |
testRuleWithRegex | 0 s |
TestRequireFilesExist
TestRequireFilesDontExist
TestMockEnforcerExpressionEvaluator
testEvaluate | 0.031 s |
TestRequireFilesSize
TestRequireProperty
testRule | 0.001 s | |
ruleShouldNotBeCached | 0 s | |
testRuleWithRegex | 0.001 s |
TestRequireSnapshotVersion
shouldPassForSnapshot | 0.001 s | |
shouldFailForRelease | 0.001 s | |
parentShouldNotBeChecked | 0 s | |
shouldFailForReleaseParent | 0.002 s | |
shouldPassForSnapshotParent | 0 s |
TestRequirePluginVersions
TestRequireFileChecksum
TestArtifactMatcher
testMatch | 0.001 s | |
testPattern | 0.001 s | |
testContainsVersion | 0.001 s | |
testPatternInvalidInput | 0 s |
ReactorModuleConvergenceTest
RequireActiveProfileTest
RequireUpperBoundDepsTest
testRule | 0.013 s |
TestMavenVersion
testRule | 0.001 s | |
testId | 0 s | |
checkRequireVersionMatrix | 0.001 s |
RequirePrerequisiteTest
TestRequireTextFileChecksum
TestRequireJavaVendor
defaultRule | 0 s | |
matchingInclude | 0 s | |
nonMatchingInclude | 0.001 s | |
matchAnyInclude | 0 s | |
matchingExclude | 0 s | |
matchingIncludeAndMatchingExclude | 0 s | |
nonMatchingExclude | 0 s | |
matchAnyExclude | 0.001 s |
TestRequireNoRepositories
BanDistributionManagementTest
BannedDependenciesTest
TestAlwaysPass
testExecute | 0 s |
TestAlwaysFail
testExecute | 0 s |
TestAbstractVersionEnforcer
testEnforceVersion | 0 s |
TestNormalizeLineSeparatorReader
testUnixToWindows | 0.002 s | |
testWindowsToUnix | 0 s | |
testUnixToUnix | 0 s | |
testWindowsToWindows | 0 s |