Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
14 0 0 0 100% 2.272 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 14 0 0 0 100% 2.272 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.028 s
BaseDependencyCheckMojoTest 3 0 0 0 100% 2.217 s
ArtifactTypeExcludedTest 1 0 0 0 100% 0.027 s

Test Cases

[Summary] [Package List] [Test Cases]

ArtifactScopeExcludedTest

shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("compile") == false;] 0.003 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("compile+runtime") == false;] 0.001 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("test") == true;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("runtime") == false;] 0 s
shouldExcludeArtifact[new ArtifactScopeExcluded(true, false, false, false).passes("runtime+system") == false;] 0.001 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

should_newDependency_get_pom_declared_as_module 1.053 s
should_newDependency_get_default_virtual_dependency 0.004 s
should_newDependency_get_pom_from_base_dir 0.004 s

ArtifactTypeExcludedTest

testPasses 0.013 s