Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
108 0 0 0 100% 5.911

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
com.github.jasonmfehr.combiner.output 7 0 0 0 100% 0.234
com.github.jasonmfehr.combiner.pipeline 19 0 0 0 100% 0.303
com.github.jasonmfehr.combiner.transformer 8 0 0 0 100% 0.036
com.github.jasonmfehr.combiner.file 18 0 0 0 100% 0.947
com.github.jasonmfehr.combiner.logging 30 0 0 0 100% 0.194
com.github.jasonmfehr.combiner.combiner 6 0 0 0 100% 2.53
com.github.jasonmfehr.combiner.input 1 0 0 0 100% 0.496
com.github.jasonmfehr.combiner.factory 17 0 0 0 100% 1.053
com.github.jasonmfehr.combiner.mojo 2 0 0 0 100% 0.118

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

com.github.jasonmfehr.combiner.output

Class Tests Errors Failures Skipped Success Rate Time
FileOutputSourceWriterTest 7 0 0 0 100% 0.234

com.github.jasonmfehr.combiner.pipeline

Class Tests Errors Failures Skipped Success Rate Time
CombinationDefaultsManagerTest 4 0 0 0 100% 0.117
CombinationValidatorTest 13 0 0 0 100% 0.072
PipelineExecutorTest 2 0 0 0 100% 0.114

com.github.jasonmfehr.combiner.transformer

Class Tests Errors Failures Skipped Success Rate Time
EscapeDoubleQuotesTest 3 0 0 0 100% 0.031
StripNewlinesTest 5 0 0 0 100% 0.005

com.github.jasonmfehr.combiner.file

Class Tests Errors Failures Skipped Success Rate Time
FileLocatorTest 6 0 0 0 100% 0.305
FileValidatorTest 10 0 0 0 100% 0.137
MultiFileReaderTest 2 0 0 0 100% 0.505

com.github.jasonmfehr.combiner.logging

Class Tests Errors Failures Skipped Success Rate Time
ParameterizedLoggerTest 30 0 0 0 100% 0.194

com.github.jasonmfehr.combiner.combiner

Class Tests Errors Failures Skipped Success Rate Time
AppendingCombinerTest 3 0 0 0 100% 0.805
JSObjectCombinerTest 3 0 0 0 100% 1.725

com.github.jasonmfehr.combiner.input

Class Tests Errors Failures Skipped Success Rate Time
FileInputSourceReaderTest 1 0 0 0 100% 0.496

com.github.jasonmfehr.combiner.factory

Class Tests Errors Failures Skipped Success Rate Time
InputSourceReaderFactoryTest 2 0 0 0 100% 0.088
ObjectFactoryTest 9 0 0 0 100% 0.912
OutputSourceWriterFactoryTest 2 0 0 0 100% 0.016
ResourceCombinerFactoryTest 2 0 0 0 100% 0.019
ResourceTransformerFactoryTest 2 0 0 0 100% 0.018

com.github.jasonmfehr.combiner.mojo

Class Tests Errors Failures Skipped Success Rate Time
CombinerMojoTest 2 0 0 0 100% 0.118

Test Cases

[Summary] [Package List] [Test Cases]

AppendingCombinerTest

testDefaultNewlines 0.039
testNewlinesSpecified 0.001
testNonNumericNewline 0

JSObjectCombinerTest

testNullSettings 0.195
testObjectNameInSettings 0.001
testNoObjectNameSetting 0.001

InputSourceReaderFactoryTest

testDefaultPackage 0.04
testObjectInterface 0

ObjectFactoryTest

testListCreate 0.474
testInstantiateIface 0.015
testLoggerConstructor 0.01
testNullClassOrRoleName 0
testDoeNotImplementIface 0.001
testClassOnly 0.002
testRetrieveFromPlexusContainerInvalid 0.002
testRetrieveFromPlexusContainer 0.001
testFullPackage 0.002

OutputSourceWriterFactoryTest

testDefaultPackage 0.001
testObjectInterface 0.001

ResourceCombinerFactoryTest

testDefaultPackage 0.012
testObjectInterface 0

ResourceTransformerFactoryTest

testDefaultPackage 0
testObjectInterface 0.001

FileLocatorTest

testHappyPathWithExcludes 0.021
testNonReadableBaseDir 0.025
testEmptyBaseDir 0.02
testNullBaseDir 0.001
testNonExistantBaseDir 0.001
testHappyPathWithoutExcludes 0.003

FileValidatorTest

testWriteableBlankInput 0.053
testReadableBlankInput 0.001
testExistsReadable 0.011
testReadableNotExists 0.001
testReadableNullInput 0
testExistsWriteable 0.002
testWriteableExistsNotWriteable 0.003
testReadableExistsNotReadable 0.001
testWriteableNotExists 0.002
testWriteableNullInput 0.001

MultiFileReaderTest

testHappyPath 0.437
testFileNotFound 0.002

FileInputSourceReaderTest

testHappyPath 0.003

ParameterizedLoggerTest

testErrorContentException 0.001
testInfoContentOnly 0.001
testIsWarnEnabled 0
testInfoParameterizedContentDisabled 0.001
testWarnExceptionOnly 0
testDebugExceptionOnly 0.001
testDebugParameterizedContentExceptionDisabled 0
testWarnParameterizedContentDisabled 0
testInfoContentException 0.001
testDebugContentException 0
testInfoParameterizedContentEnabled 0.03
testLoggerNotSet 0
testWarnContentException 0
testDebugParameterizedContentOnlyEnabled 0.001
testErrorParameterizedContentDisabled 0.001
testWarnContentOnly 0
testWarnParameterizedContentEnabled 0.001
testErrorParameterizedContentEnabled 0.001
testDebugContentOnly 0
testIsErrorEnabled 0
testDebugParameterizedContentExceptionEnabled 0.001
testValidComboId 0
testIsInfoEnabled 0
testErrorExceptionOnly 0.001
testIsDebugEnabled 0
testDebugParameterizedContentOnlyDisabled 0.001
testEmptyComboId 0
testNullComboId 0
testInfoExceptionOnly 0.001
testErrorContentOnly 0

CombinerMojoTest

testSkipFalse 0.001
testSkipTrue 0.001

FileOutputSourceWriterTest

testParentDirExistsAndWriteable 0.003
testMakeParentDirSucceeds 0.002
testInvalidCharset 0.134
testMakeParentDirFails 0.002
testParentDirExistsNotWriteable 0.003
testFileExists 0.003
testFileAndParentDirectoryNotExists 0.003

CombinationDefaultsManagerTest

testNullFieldsAreSet 0.002
testEmptyStringFieldsAreSet 0.001
testDefaultsAreSet 0.001
testUserValuesNotOverwritten 0

CombinationValidatorTest

testNullOutputSourceWriter 0.004
testInvalidCharset 0.001
testNullInputSourcesIncludes 0.001
testNullInputSourceReader 0
testBlankInputSourceReader 0
testNullOutputDestination 0.001
testBlankOutputSourceWriter 0.001
testBlankOutputDestination 0.001
testEmptyInputSourcesIncludes 0.001
testBlankCharset 0
testEverythingValid 0.001
testNullCharset 0.001
testNullInputSources 0.001

PipelineExecutorTest

testHappyPath 0.013
testNoInputResourcesFound 0.002

EscapeDoubleQuotesTest

testNoEscapeQuotes 0.027
testEscapeQuotes 0
testSkipAlreadyEscapedQuotes 0

StripNewlinesTest

testNull 0
testStripLineFeedsOnly 0
testStripCRLF 0
testStripCarriageReturnsOnly 0
testNoNewlines 0