Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
35 0 0 2 94.3% 2.375 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.codehaus.mojo.spotbugs 35 0 0 2 94.3% 2.375 s

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

org.codehaus.mojo.spotbugs

- Class Tests Errors Failures Skipped Success Rate Time
BaseViolationCheckMojoTest 4 0 0 0 100% 0.196 s
CheckMojoTest 2 0 0 0 100% 0.610 s
PluginArtifactTest 1 0 0 0 100% 0.123 s
ResourceHelperTest 1 0 0 0 100% 0.309 s
SourceFileIndexerTest 2 0 0 0 100% 0.528 s
SpotBugsGuiTest 2 0 0 2 0% 0 s
SpotBugsInfoTest 5 0 0 0 100% 0.019 s
SpotBugsMojoTest 2 0 0 0 100% 0.148 s
SpotBugsPluginsTraitTest 5 0 0 0 100% 0.055 s
SpotbugsReportGeneratorTest 1 0 0 0 100% 0.198 s
VerifyMojoTest 2 0 0 0 100% 0.008 s
XDocsReporterTest 8 0 0 0 100% 0.181 s

Test Cases

[Summary] [Package List] [Test Cases]

BaseViolationCheckMojoTest

should extend AbstractMojo 0.131 s
should have default property values not injected 0.034 s
should allow setting properties 0.007 s
should not throw when execute is called 0.010 s

CheckMojoTest

should extend BaseViolationCheckMojo 0.004 s
should skip execution 0.605 s

PluginArtifactTest

should satisfy JavaBean contract 0.122 s

ResourceHelperTest

getResourceFile returns a file and logs debug info 0.309 s

SourceFileIndexerTest

buildListSourceFiles and searchActualFilesLocation work as expected 0.520 s
searchActualFilesLocation throws if not initialized 0.007 s

SpotBugsGuiTest

execute sets up AntBuilder and logs encoding 0 s
- Ignored via @Ignore -
execute uses default encoding if not set 0 s
- Ignored via @Ignore -

SpotBugsInfoTest

should have correct static constants 0.005 s
should have correct EOL 0.001 s
should have correct spotbugsEfforts map 0.010 s
should have correct spotbugsThresholds map 0.001 s
should have correct spotbugsPriority list 0.002 s

SpotBugsMojoTest

should extend AbstractMojo 0.009 s
should skip generate report 0.137 s

SpotBugsPluginsTraitTest

getEffortParameter returns correct effort string [effort: Max, expected: -effort:max, #0] 0.026 s
getEffortParameter returns correct effort string [effort: Min, expected: -effort:min, #1] 0.001 s
getEffortParameter returns correct effort string [effort: Normal, expected: -effort:default, #2] 0.001 s
getEffortParameter returns correct effort string [effort: null, expected: -effort:default, #3] 0.003 s
getEffortParameter returns correct effort string 0.053 s

SpotbugsReportGeneratorTest

generateReport calls all main report sections 0.198 s

VerifyMojoTest

should extend BaseViolationCheckMojo 0.002 s
should skip execution 0.006 s

XDocsReporterTest

evaluateThresholdParameter returns correct threshold name [input: 1, expected: High, #0] 0.035 s
evaluateThresholdParameter returns correct threshold name [input: 2, expected: Normal, #1] 0 s
evaluateThresholdParameter returns correct threshold name [input: 3, expected: Low, #2] 0 s
evaluateThresholdParameter returns correct threshold name [input: 4, expected: Exp, #3] 0.001 s
evaluateThresholdParameter returns correct threshold name [input: 5, expected: Ignore, #4] 0 s
evaluateThresholdParameter returns correct threshold name [input: 99, expected: Invalid Priority, #5] 0.001 s
evaluateThresholdParameter returns correct threshold name 0.039 s
generateReport writes XML output 0.141 s

Failure Details

[Summary] [Package List] [Test Cases]


execute sets up AntBuilder and logs encoding
- skipped: Ignored via @Ignore
execute uses default encoding if not set
- skipped: Ignored via @Ignore