Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
15 0 0 0 100% 1.023 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.owasp.dependencycheck.maven 15 0 0 0 100% 1.023 s

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

org.owasp.dependencycheck.maven

- Class Tests Errors Failures Skipped Success Rate Time
ArtifactScopeExcludedTest 10 0 0 0 100% 0.023 s
BaseDependencyCheckMojoTest 4 0 0 0 100% 0.988 s
ArtifactTypeExcludedTest 1 0 0 0 100% 0.012 s

Test Cases

[Summary] [Package List] [Test Cases]

ArtifactScopeExcludedTest

shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("compile") == false;] 0.004 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("compile+runtime") == false;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("test") == true;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("runtime") == false;] 0.001 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("runtime+system") == false;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("provided") == false;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("system") == false;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("import") == false;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, true).passes("compile") == false;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, true).passes("runtime") == true;] 0 s

BaseDependencyCheckMojoTest

testScanArtifacts 0.705 s
should_newDependency_get_pom_declared_as_module 0.083 s
should_newDependency_get_default_virtual_dependency 0.049 s
should_newDependency_get_pom_from_base_dir 0.048 s

ArtifactTypeExcludedTest

testPasses 0.010 s