Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
67 0 0 0 100% 1.226 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
au.com.acegi.xmlformat 64 0 0 0 100% 1.202 s
com.github.hazendaz.maven.xml_format_maven_plugin 3 0 0 0 100% 0.024 s

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

au.com.acegi.xmlformat

- Class Tests Errors Failures Skipped Success Rate Time
AbstractXmlPluginMojoRuleTest 16 0 0 0 100% 0.315 s
FormatUtilTest 18 0 0 0 100% 0.110 s
IOTest 6 0 0 0 100% 0.024 s
LineEndingTest 9 0 0 0 100% 0.009 s
XmlCheckPluginTest 4 0 0 0 100% 0.684 s
XmlFormatPluginTest 4 0 0 0 100% 0.054 s
XmlOutputFormatTest 7 0 0 0 100% 0.006 s

com.github.hazendaz.maven.xml_format_maven_plugin

- Class Tests Errors Failures Skipped Success Rate Time
HelpMojoTest 3 0 0 0 100% 0.024 s

Test Cases

[Summary] [Package List] [Test Cases]

AbstractXmlPluginMojoRuleTest

xmlFormatEmptyFileIsIgnored 0.095 s
xmlFormatWithCrlfLineEnding 0.052 s
xmlFormatWithTabIndent 0.014 s
xmlFormatSkipDoesNotModifyFiles 0.008 s
xmlCheckMojoCanBeInstantiated 0.004 s
xmlCheckSkipDoesNotFailOnUnformattedFiles 0.006 s
xmlFormatWithDefaultSettings 0.009 s
xmlCheckFailsOnUnformattedFile 0.011 s
xmlFormatWithOmitEncoding 0.008 s
xmlFormatWithCrLineEnding 0.009 s
xmlCheckPassesOnAlreadyFormattedFile 0.011 s
xmlFormatWithKeepBlankLines 0.013 s
xmlFormatWithExpandEmptyElements 0.009 s
xmlFormatWithCustomIndentSize 0.009 s
xmlFormatMojoCanBeInstantiated 0.002 s
xmlFormatWithSuppressedDeclaration 0.008 s

FormatUtilTest

unformattedWillChange 0.014 s
test2KeepBlankLines 0.007 s
test5KeepBlankLines 0.005 s
needsFormattingReturnsFalseForEmptyFile 0.003 s
testWithExternalDoctypeDoesNotResolveNetworkEntity 0.005 s
formatInPlaceReturnsFalseForEmptyFile 0.004 s
needsFormattingReturnsFalseForFormattedFile 0.009 s
test1 0.003 s
test2 0.004 s
test3 0.005 s
test4 0.004 s
test5 0.004 s
test6 0.005 s
test1KeepBlankLines 0.004 s
test4KeepBlankLines 0.004 s
needsFormattingReturnsTrueForUnformattedFile 0.009 s
testInvalid 0.005 s
formattedWillNotChange 0.010 s

IOTest

hashSameContentProducesSameHash 0.004 s
hashInvalid 0.004 s
hashFileMatchesStreamHash 0.004 s
hash1 0.002 s
hash2 0.002 s
hashDifferentContentProducesDifferentHash 0.004 s

LineEndingTest

valueOfSystem 0 s
lfEndingIsNewline 0.001 s
allValuesAreAccessible 0.001 s
valueOfCrlf 0 s
valueOfCr 0.001 s
valueOfLf 0 s
crlfEndingIsCarriageReturnNewline 0 s
systemEndingIsSystemSeparator 0 s
crEndingIsCarriageReturn 0.001 s

XmlCheckPluginTest

pluginReportsError 0.651 s
pluginSkip 0.009 s
pluginReportsFormattingNeeded 0.012 s
pluginSucceedsWhenAllFormatted 0.010 s

XmlFormatPluginTest

pluginSkipTargetFolder 0.016 s
pluginReportsError 0.014 s
pluginSkip 0.009 s
pluginExcludesError 0.012 s

XmlOutputFormatTest

setKeepBlankLinesToTrue 0.001 s
defaultIndentSizeIsTwo 0 s
defaultNewlinesIsTrue 0.001 s
setKeepBlankLinesToFalse 0 s
defaultTrimTextIsTrue 0 s
defaultKeepBlankLinesIsFalse 0.001 s
defaultPadTextIsTrue 0 s

HelpMojoTest

executeSupportsUnknownGoalWithoutFailure 0.011 s
executeSupportsSpecificGoalOutput 0.004 s
executeSupportsDetailedOutputWithInvalidSizing 0.009 s