Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
305 0 0 0 100% 11.475

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.plexus.util.reflection 3 0 0 0 100% 0.001
org.codehaus.plexus.util.dag 6 0 0 0 100% 0.002
org.codehaus.plexus.util.cli 38 0 0 0 100% 1.621
org.codehaus.plexus.util.xml.pull 9 0 0 0 100% 0.023
org.codehaus.plexus.util.introspection 15 0 0 0 100% 0.034
org.codehaus.plexus.util.cli.shell 8 0 0 0 100% 0.006
org.codehaus.plexus.util.xml 71 0 0 0 100% 0.074
org.codehaus.plexus.util 155 0 0 0 100% 9.714

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

org.codehaus.plexus.util.reflection

Class Tests Errors Failures Skipped Success Rate Time
ReflectorTest 3 0 0 0 100% 0.001

org.codehaus.plexus.util.dag

Class Tests Errors Failures Skipped Success Rate Time
CycleDetectedExceptionTest 1 0 0 0 100% 0
CycleDetectorTest 1 0 0 0 100% 0.001
DAGTest 2 0 0 0 100% 0.001
TopologicalSorterTest 1 0 0 0 100% 0
VertexTest 1 0 0 0 100% 0

org.codehaus.plexus.util.cli

Class Tests Errors Failures Skipped Success Rate Time
CommandlineTest 22 0 0 0 100% 1.372
CommandLineUtilsTest 4 0 0 0 100% 0.003
DefaultConsumerTest 1 0 0 0 100% 0
EnhancedStringTokenizerTest 6 0 0 0 100% 0.006
StreamPumperTest 5 0 0 0 100% 0.24

org.codehaus.plexus.util.xml.pull

Class Tests Errors Failures Skipped Success Rate Time
MXParserTest 9 0 0 0 100% 0.023

org.codehaus.plexus.util.introspection

Class Tests Errors Failures Skipped Success Rate Time
ReflectionValueExtractorTest 15 0 0 0 100% 0.034

org.codehaus.plexus.util.cli.shell

Class Tests Errors Failures Skipped Success Rate Time
BourneShellTest 8 0 0 0 100% 0.006

org.codehaus.plexus.util.xml

Class Tests Errors Failures Skipped Success Rate Time
PrettyPrintXMLWriterTest 4 0 0 0 100% 0.006
XmlStreamReaderTest 13 0 0 0 100% 0.022
XmlStreamWriterTest 12 0 0 0 100% 0.004
XmlUtilTest 4 0 0 0 100% 0.03
XmlWriterUtilTest 16 0 0 0 100% 0.003
Xpp3DomBuilderTest 6 0 0 0 100% 0.003
Xpp3DomTest 13 0 0 0 100% 0.005
Xpp3DomUtilsTest 1 0 0 0 100% 0.001
Xpp3DomWriterTest 2 0 0 0 100% 0

org.codehaus.plexus.util

Class Tests Errors Failures Skipped Success Rate Time
CollectionUtilsTest 5 0 0 0 100% 0.002
DirectoryScannerTest 14 0 0 0 100% 0.045
DirectoryWalkerTest 1 0 0 0 100% 0.006
FileUtilsTest 57 0 0 0 100% 7.615
InterpolationFilterReaderTest 11 0 0 0 100% 0.001
IOUtilTest 17 0 0 0 100% 0.027
LineOrientedInterpolatingReaderTest 7 0 0 0 100% 0.003
MatchPatternsTest 1 0 0 0 100% 0
MatchPatternTest 1 0 0 0 100% 0
OsTest 3 0 0 0 100% 0
PathToolTest 5 0 0 0 100% 0.002
PerfTest 2 0 0 0 100% 0.004
ReflectionUtilsTest 4 0 0 0 100% 0.001
SelectorUtilsTest 3 0 0 0 100% 0
StringInputStreamTest 1 0 0 0 100% 0
StringUtilsTest 21 0 0 0 100% 0.003
SweeperPoolTest 2 0 0 0 100% 2.005

Test Cases

[Summary] [Package List] [Test Cases]

CommandlineTest

testOnlyQuotedPath 0.087
testGetShellCommandLineWindowsWithSeveralQuotes 0.002
testPathWithShellExpansionStrings 0.011
testExecute 0.005
testEnvironment 0.001
testQuotedPathWithQuotationMark 0.018
testQuotedPathWithQuotationMarkAndApostrophe 0.018
testEnvironmentWitOverrideSystemEnvironment 0.002
testGetShellCommandLineBash 0
testGetShellCommandLineBash_WithWorkingDirectory 0.001
testCommandlineWithoutCommandInConstructor 0
testCommandlineWithCommandInConstructor 0.001
testTimeOutException 1.008
testCreateCommandInReverseOrder 0
testQuotedPathWithSingleApostrophe 0.028
testDollarSignInArgumentPath 0.007
testGetShellCommandLineNonWindows 0
testGetShellCommandLineBash_WithSingleQuotedArg 0
testGetShellCommandLineWindows 0.001
testSetFile 0
testSetLine 0
testExecuteBinaryOnPath 0.182

CommandLineUtilsTest

testQuoteArguments 0.001
testGetSystemEnvVarsCaseInsensitive 0
testGetSystemEnvVarsWindows 0.001
testTranslateCommandline 0.001

DefaultConsumerTest

testConsumeLine 0

EnhancedStringTokenizerTest

testSimpleString 0.001
test1 0.001
test2 0.001
test3 0.001
testEmptyString 0.001
testMultipleDelim 0.001

BourneShellTest

testBourneShellQuotingCharacters 0.001
testEscapeSingleQuotesOnArgument 0
testAddSingleQuotesOnArgumentWithSpaces 0
testArgumentsWithsemicolon 0.001
testPreserveSingleQuotesOnArgument 0.003
testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes 0
testQuoteWorkingDirectoryAndExecutable_WDPathWithSingleQuotes_BackslashFileSep 0
testQuoteWorkingDirectoryAndExecutable 0.001

StreamPumperTest

testEnabled 0
testPumping 0
testPumpingWithPrintWriter 0.001
testPumperReadsInputStreamUntilEndEvenIfConsumerFails 0.239
testDisabled 0

CollectionUtilsTest

testMergeMaps 0
testIteratorToListWithAEmptyList 0
testMavenPropertiesLoading 0.001
testIteratorToListWithAPopulatedList 0
testMergeMapArray 0.001

CycleDetectedExceptionTest

testException 0

CycleDetectorTest

testCycyleDetection 0.001

DAGTest

testDAG 0
testGetPredecessors 0.001

TopologicalSorterTest

testDfs 0

VertexTest

testVertex 0

DirectoryScannerTest

testRegexIncludeWithExcludedPrefixDirs 0.006
testFollowSymlinksFalse 0.008
testCrossPlatformExcludesString 0.001
testIsParentSymbolicLink 0.001
testRegexExcludeWithNegativeLookahead 0.006
testRegexWithSlashInsideCharacterClass 0.004
testGeneral 0.003
testCrossPlatformIncludesString 0.002
testIncludesExcludesWithWhiteSpaces 0.004
testIsSymbolicLink 0
testAntExcludesOverrideIncludesWithExplicitAntPrefix 0.005
testFollowSymlinks 0.001
testDirectoriesWithHyphens 0.002
testAntExcludesOverrideIncludes 0.002

DirectoryWalkerTest

testDirectoryWalk 0.006

FileUtilsTest

testCopyFile1 0.008
testCopyFile2 0.002
testCopyFile3 0.001
testFileReadWithEncoding 0.002
testFileWriteWithEncoding 0.001
testDeleteDirectoryWithValidFileSymlink 0.006
testForceDeleteAFile1 0.001
testForceDeleteAFile2 0.001
testCreateTempFile 0.014
testToFileNull 0.001
testGetExtensionWithPaths 0.001
testMkdir 0.001
testCopyFile2ToDirIfModified 0.002
testCopyDirectoryStructureWithAEmptyDirectoryStructure 0.001
testFileUtils 0.003
testFileWrite 0.001
testCopyDirectoryStructureIfModified 0.006
testCopyFile1ToDirIfModified 0.004
testForceMkdir 0.001
testCopyFile1ToDir 0.002
testCopyFile2ToDir 0.001
testForceDeleteDir 0.004
testCopyDirectoryStructureToSelf 0.002
testGetPath 0.002
testCopyFileOnSameFile 0.001
testIsValidWindowsFileName 0.001
testResolveFileDot 0.001
testDeleteLongPathOnWindows 0.001
testFileRead 0.001
testCatPath 0.001
testDeleteDirectoryWithDanglingSymlink 0.005
testFilteredWithoutFilterAndOlderFileAndOverwrite 0.002
testCopyIfModifiedWhenSourceIsNewer 1.006
testCopyIfModifiedWhenSourceIsOlder 1.005
testRemovePath 0.002
testGetExtension 0.001
testRemoveExtensionWithPaths 0.001
testGetFilesFromExtension 0.001
testFileAppend 0.006
testWaitFor 5.469
testDeleteDirectoryWithValidDirSymlink 0.008
testCopyDirectoryStructureWithAPopulatedStructure 0.01
testSizeOfDirectory 0.004
testFileAppendWithEncoding 0.001
testNormalize 0.001
testContentEquals 0.004
testRemoveExtension 0.001
testcopyDirectoryLayoutWithExcludesIncludes 0.002
testFilteredFileCopy 0.003
testFilteredWithoutFilterAndOlderFile 0.001
testToFileBadProtocol 0.001
testResolveFileDotDot 0.001
testByteCountToDisplaySize 0.001
testToFile 0.001
testToURLs 0.001
testCopyURLToFile 0.002
testExtensions 0.001

InterpolationFilterReaderTest

testDefaultInterpolationWithInterpolatedValueAtEnd 0
testShouldNotInterpolateExpressionWithMissingEndToken 0
testShouldNotInterpolateWithMalformedEndToken 0
testInterpolationWithSpecifiedBoundaryTokensAndAdditionalTokenCharacter 0
testDefaultInterpolationWithNonInterpolatedValueAtEnd 0
testInterpolationWithMulticharDelimiters 0
testInterpolationWithSpecifiedBoundaryTokens 0
testShouldNotInterpolateWithMalformedStartToken 0.001
testInterpolationWithSpecifiedBoundaryTokensWithNonInterpolatedValueAtEnd 0
testInterpolationWithSpecifiedBoundaryTokensWithInterpolatedValueAtEnd 0
testShouldNotInterpolateExpressionAtEndOfDataWithInvalidEndToken 0

ReflectionValueExtractorTest

testArtifactMap 0.006
testMappedMissingDot 0.001
testIndexedMapped 0.001
testBadMappedSyntax 0
testMappedIndexed 0.001
testMappedDottedKey 0
testBadIndexedSyntax 0
testIndexedMissingDot 0.001
testIllegalIndexedType 0.003
testValueExtractorWithAInvalidExpression 0
testTrimRootToken 0
testDotDot 0
testIllegalMappedType 0
testRootPropertyRegression 0.02
testValueExtraction 0.001

IOUtilTest

testInputStreamToOutputStream 0.001
testCloseReader 0.001
testInputStreamToByteArray 0.012
testCloseWriter 0
testStringToByteArray 0
testStringToWriter 0.002
testStringToOutputStream 0.001
testByteArrayToOutputStream 0.001
testInputStreamToString 0.001
testInputStreamToWriter 0.001
testByteArrayToString 0
testCloseInputStream 0.001
testByteArrayToWriter 0.004
testCloseOutputStream 0
testReaderToString 0.001
testReaderToOutputStream 0
testReaderToWriter 0.001

LineOrientedInterpolatingReaderTest

testDefaultInterpolationWithInterpolatedValueAtEnd 0.002
testShouldInterpolateExpressionAtEndOfDataWithInvalidEndToken 0
testDefaultInterpolationWithNonInterpolatedValueAtEnd 0.001
testDefaultInterpolationWithEscapedExpression 0
testInterpolationWithSpecifiedBoundaryTokens 0
testInterpolationWithSpecifiedBoundaryTokensWithNonInterpolatedValueAtEnd 0
testInterpolationWithSpecifiedBoundaryTokensWithInterpolatedValueAtEnd 0

MatchPatternsTest

testMatches 0

MatchPatternTest

testMatchPath 0

OsTest

testUndefinedFamily 0
testOs 0
testValidList 0

PathToolTest

testGetDirectoryComponent 0.001
testGetRelativeWebPath 0
testCalculateLink 0
testGetRelativeFilePath 0.001
testGetRelativePath 0

PerfTest

testSubString 0
testResDir 0.004

ReflectorTest

testObjectPropertyFromField 0.001
testObjectPropertyFromBean 0
testObjectPropertyFromName 0

ReflectionUtilsTest

testSimpleVariableAccess 0
testSettingVariableValue 0
testComplexVariableAccess 0.001
testSuperClassVariableAccess 0

SelectorUtilsTest

testMatchPath_DefaultFileSeparator 0
testMatchPath_UnixFileSeparator 0
testMatchPath_WindowsFileSeparator 0

StringInputStreamTest

testFoo 0

StringUtilsTest

testRemoveAndHump 0
testLowerCaseFirstLetter 0
testCapitalizeFirstLetter 0
testQuote_WrapWithSingleQuotes 0
testQuote_EscapeEmbeddedSingleQuotesWithPattern 0
testSplit 0.001
testQuote_EscapeEmbeddedSingleQuotes 0
testIsNotBlank 0
testIsNotEmpty 0
testQuote_PreserveExistingQuotes 0
testQuote_DontQuoteIfUnneeded 0
testRemoveAndHumpTurkish 0
testLowerCaseFirstLetterTurkish 0
testIsBlank 0
testQuote_ShortVersion_SingleQuotesPreserved 0
testIsEmpty 0.001
testUnifyLineSeparators 0
testQuote_WrapExistingQuotesWhenForceIsTrue 0
testCapitalizeFirstLetterTurkish 0
testRemoveDuplicateWhitespace 0
testQuote_EscapeEmbeddedDoubleQuotesAndSpaces 0.001

SweeperPoolTest

testSweepAndTrim1 2.005
testMaxSize 0

PrettyPrintXMLWriterTest

testDefaultPrettyPrintXMLWriter 0.005
testPrettyPrintXMLWriterWithGivenLineSeparator 0
testEscapeXmlAttribute 0.001
testPrettyPrintXMLWriterWithGivenLineIndenter 0

MXParserTest

testCustomEntities 0.007
testDecimalEntities 0.001
testHexadecimalEntities 0
testPredefinedEntities 0
testSubsequentProcessingInstructionMoreThan8k 0.013
testUnicodeEntities 0
testEntityReplacementMap 0.002
testProcessingInstruction 0
testSubsequentProcessingInstructionShort 0

XmlStreamReaderTest

testLatin15Encoding 0.003
testInappropriateEncoding 0.001
testUTF16BEEncoding 0.001
testEUC_JPEncoding 0.011
testLatin1Encoding 0
testEBCDICEncoding 0.001
testNoXmlHeader 0
testDefaultEncoding 0.001
testEncodingAttribute 0.001
testUTF16Encoding 0.001
testUTF16LEEncoding 0.001
testLatin7Encoding 0.001
testUTF8Encoding 0

XmlStreamWriterTest

testLatin15Encoding 0
testUTF16BEEncoding 0.001
testEUC_JPEncoding 0
testLatin1Encoding 0.001
testEmpty 0
testEBCDICEncoding 0
testNoXmlHeader 0
testDefaultEncoding 0.001
testUTF16Encoding 0.001
testUTF16LEEncoding 0
testLatin7Encoding 0
testUTF8Encoding 0

XmlUtilTest

testPrettyFormatInputStreamOutputStream 0.009
testPrettyFormatString 0.004
testPrettyFormatReaderWriter2 0.009
testPrettyFormatReaderWriter 0.008

XmlWriterUtilTest

testWriteCommentTextXMLWriterStringInt 0.001
testWriteCommentXMLWriterStringInt 0
testWriteCommentXMLWriterString 0
testWriteCommentTextXMLWriterStringIntIntInt 0.001
testWriteCommentXMLWriterStringIntInt 0
testWriteCommentLineBreakXMLWriter 0
testWriteLineBreakXMLWriterIntInt 0
testWriteCommentShort 0
testWriteLineBreakXMLWriter 0
testWriteLineBreakXMLWriterInt 0
testWriteCommentLineBreakXMLWriterInt 0
testWriteLineBreakXMLWriterIntIntInt 0.001
testWriteCommentXMLWriterStringIntIntInt 0
testWriteCommentLong 0
testWriteCommentNull 0
testWriteCommentTextXMLWriterStringIntInt 0

Xpp3DomBuilderTest

testBuildTrimming 0.001
testUnclosedXml 0
testBuildFromReader 0
testEscapingInContent 0.001
testEscapingInAttributes 0.001
testBuildFromXpp3Dom 0

Xpp3DomTest

testShouldPerformSelfOverrideAtTopLevel 0
testNullAttributeNameOrValue 0.001
testShouldOverwritePluginConfigurationSubItemsByDefault 0
testShouldPerformAppendAtFirstSubElementLevel 0
testShouldMergeValuesAtTopLevel 0.001
testShouldCopyRecessiveChildrenNotPresentInTarget 0
testEqualsIsNullSafe 0
testDupeChildren 0.001
testShouldOverrideAppendAndDeepMerge 0.002
testShouldMergeValuesAtTopLevelByDefault 0
testEquals 0
testShouldNotChangeUponMergeWithItselfWhenFirstOrLastSubItemIsEmpty 0
testShouldMergePluginConfigurationSubItemsWithMergeAttributeSet 0

Xpp3DomUtilsTest

testCombineId 0.001

Xpp3DomWriterTest

testWriterNoEscape 0
testWriter 0