Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
112000100%1.101

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.rat.header11000100%0.067
org.apache.rat.walker1000100%0.006
org.apache.rat.analysis5000100%0.012
org.apache.rat.report.xml.writer2000100%0.009
org.apache.rat.analysis.generation4000100%0.003
org.apache.rat.analysis.license9000100%0.031
org.apache.rat.document.impl2000100%0.003
org.apache.rat.report.xml.writer.impl.base27000100%0.027
org.apache.rat.document.impl.util1000100%0.014
org.apache.rat.document2000100%0.003
org.apache.rat.annotation26000100%0.098
org.apache.rat.analysis.util2000100%0.009
org.apache.rat.policy5000100%0.016
org.apache.rat2000100%0.736
org.apache.rat.document.impl.guesser11000100%0.025
org.apache.rat.report.xml2000100%0.042

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

org.apache.rat.header

ClassTestsErrors FailuresSkippedSuccess RateTime
HeaderMatcherTest5000100%0.004
ArrayCharFilterTest1000100%0.003
HeaderMatcherWithBeansTest2000100%0.057
FilteringSequenceFactoryTest3000100%0.003

org.apache.rat.walker

ClassTestsErrors FailuresSkippedSuccess RateTime
FileNameComparatorTest1000100%0.006

org.apache.rat.analysis

ClassTestsErrors FailuresSkippedSuccess RateTime
AnalyserFactoryTest4000100%0.011
HeaderCheckWorkerTest1000100%0.001

org.apache.rat.report.xml.writer

ClassTestsErrors FailuresSkippedSuccess RateTime
XmlWriterUtilsTest2000100%0.009

org.apache.rat.analysis.generation

ClassTestsErrors FailuresSkippedSuccess RateTime
JavaDocLicenseNotRequiredTest3000100%0.002
GeneratedLicenseNotRequiredTest1000100%0.001

org.apache.rat.analysis.license

ClassTestsErrors FailuresSkippedSuccess RateTime
OASISLicenseTest2000100%0.003
W3CLicenseTest1000100%0.001
MITLicenseTest2000100%0.012
ApacheSoftwareLicense20Test2000100%0.002
GPL123LicenseTest2000100%0.013

org.apache.rat.document.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
SingularFileDocumentTest2000100%0.003

org.apache.rat.report.xml.writer.impl.base

ClassTestsErrors FailuresSkippedSuccess RateTime
XmlWriterTest27000100%0.027

org.apache.rat.document.impl.util

ClassTestsErrors FailuresSkippedSuccess RateTime
DocumentAnalyserMultiplexerTest1000100%0.014

org.apache.rat.document

ClassTestsErrors FailuresSkippedSuccess RateTime
ToNameTransformerTest2000100%0.003

org.apache.rat.annotation

ClassTestsErrors FailuresSkippedSuccess RateTime
TestLicenceAppender26000100%0.098

org.apache.rat.analysis.util

ClassTestsErrors FailuresSkippedSuccess RateTime
MatcherMultiplexerTest2000100%0.009

org.apache.rat.policy

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultPolicyTest5000100%0.016

org.apache.rat

ClassTestsErrors FailuresSkippedSuccess RateTime
ReportTest1000100%0.643
ReportTransformerTest1000100%0.093

org.apache.rat.document.impl.guesser

ClassTestsErrors FailuresSkippedSuccess RateTime
GuessUtilsTest1000100%0.007
ArchiveGuesserTest2000100%0.002
NoteGuesserTest3000100%0.003
BinaryGuesserTest5000100%0.013

org.apache.rat.report.xml

ClassTestsErrors FailuresSkippedSuccess RateTime
XmlReportTest1000100%0.027
XmlReportFactoryTest1000100%0.015

Test Cases

[Summary] [Package List] [Test Cases]

OASISLicenseTest

match0.002
noMatch0

XmlWriterUtilsTest

writeTrue0.001
writeFalse0

FileNameComparatorTest

compare0

SingularFileDocumentTest

getName0.002
reader0

AnalyserFactoryTest

standardTypeAnalyser0.002
noteTypeAnalyser0
binaryTypeAnalyser0
archiveTypeAnalyser0.001

GuessUtilsTest

normalise0.005

W3CLicenseTest

match0

HeaderCheckWorkerTest

isFinished0

XmlWriterTest

openElement0.001
returnValues0
invalidElementName0
callOpenElementAfterLastElementClosed0
callCloseElementAfterLastElementClosed0
closeFirstElement0
closeElementWithContent0
closeElementBeforeFirstElement0
contentAfterElement0
contentAfterLastElement0.001
writeContentBeforeFirstElement0.007
contentEscaping0
attributeAfterLastElement0
attributeContentBeforeFirstElement0
invalidAttributeName0
escapeAttributeContent0.001
attributeInContent0
outOfRangeCharacter0
attributeAfterElementClosed0
closeDocumentBeforeOpen0
closeDocumentAfterRootElementClosed0
closeSimpleDocument0
closeComplexDocument0
writeProlog0
writeAfterElement0
writePrologTwo0
duplicateAttributes0

MITLicenseTest

testNegativeMatches0.001
testPositiveMatchInDocument0.005

ArchiveGuesserTest

matches0
isArchive0

NoteGuesserTest

testMatches0.001
isNote0
isNoteWithPath0.001

DocumentAnalyserMultiplexerTest

testAnalyse0.006

HeaderMatcherTest

simpleMatches0.001
filteredMatches0
noLines0.001
lines0
tooManyLines0

ArrayCharFilterTest

isFilteredOut0.001

XmlReportTest

baseReport0.024

JavaDocLicenseNotRequiredTest

matchIndexDoc0
matchClassDoc0
matchNonJavaDoc0

ToNameTransformerTest

transformLocation0.001
transformNull0

ApacheSoftwareLicense20Test

matches0
match0

XmlReportFactoryTest

standardReport0.014

HeaderMatcherWithBeansTest

matches0.003
nulls0

TestLicenceAppender

addLicenceToUnknownFile0.004
addLicenceToJava0.002
addLicenceToJavaWithoutPackage0.002
addLicenceToXML0.016
addLicenceToXMLWithoutDecl0.002
addLicenceToHTML0.002
addLicenceToCSS0.007
addLicenceToJavascript0.001
addLicenceToAPT0.001
addLicenceToProperties0.002
addLicenceToScala0.002
addLicenseToRubyWithoutHashBang0.001
addLicenseToRubyWithHashBang0.001
addLicenseToPerlWithoutHashBang0.001
addLicenseToPerlWithHashBang0.002
addLicenseToTclWithoutHashBang0.002
addLicenseToTclWithHashBang0.001
addLicenceToPHP0.001
addLicenceToCSharp0.002
addLicenceToGroovy0.001
addLicenceToCPlusPlus0.002
fileWithBOM0.007
addLicenceToVS2003solution0.001
addLicenceToVS2005solution0.001
addLicenceToVS2010ExpressSolution0.002
addLicenceToVS2010SolutionWithBlankLine0.015

GeneratedLicenseNotRequiredTest

match0

MatcherMultiplexerTest

testMatcherLine0.001
testReset0.007

BinaryGuesserTest

testMatches0.008
binaryWithMalformedInputRAT810.001
realBinaryContent0
textualContent0.001
emptyFile0

ReportTest

plainReport0.639

GPL123LicenseTest

testNegativeMatches0.001
testPositiveMatchInDocument0.003

ReportTransformerTest

testTransform0.092

FilteringSequenceFactoryTest

noFiltering0
filtering0
overCapacity0.001

DefaultPolicyTest

testASLFamily0.003
testOASISFamily0
testW3CFamily0
testW3CDocFamily0
testUnknownFamily0