Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
263 0 0 3 98.9% 6.421 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.plexus.util.reflection 3 0 0 0 100% 0.001 s
org.codehaus.plexus.util.cli 45 0 0 1 97.8% 1.827 s
org.codehaus.plexus.util.cli.shell 8 0 0 0 100% 0.005 s
org.codehaus.plexus.util 183 0 0 2 98.9% 4.539 s
org.codehaus.plexus.util.dag 6 0 0 0 100% 0.009 s
org.codehaus.plexus.util.introspection 15 0 0 0 100% 0.031 s
org.codehaus.plexus.util.io 3 0 0 0 100% 0.009 s

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 s

org.codehaus.plexus.util.cli

- Class Tests Errors Failures Skipped Success Rate Time
StreamPumperTest 5 0 0 0 100% 0.074 s
EnhancedStringTokenizerTest 6 0 0 0 100% 0.010 s
StreamPollFeederTest 5 0 0 0 100% 0.230 s
CommandlineTest 22 0 0 0 100% 1.510 s
DefaultConsumerTest 1 0 0 0 100% 0.001 s
CommandLineUtilsTest 6 0 0 1 83.3% 0.002 s

org.codehaus.plexus.util.cli.shell

- Class Tests Errors Failures Skipped Success Rate Time
BourneShellTest 8 0 0 0 100% 0.005 s

org.codehaus.plexus.util

- Class Tests Errors Failures Skipped Success Rate Time
OsTest 3 0 0 0 100% 0.001 s
LineOrientedInterpolatingReaderTest 7 0 0 0 100% 0.005 s
ReflectionUtilsTest 4 0 0 0 100% 0.009 s
StringUtilsTest 22 0 0 0 100% 0.013 s
CollectionUtilsTest 5 0 0 0 100% 0.006 s
IOUtilTest 17 0 0 0 100% 0.026 s
DirectoryWalkerTest 1 0 0 0 100% 0.003 s
SelectorUtilsTest 11 0 0 0 100% 0.006 s
PerfTest 2 0 0 0 100% 0.002 s
MatchPatternsTest 2 0 0 0 100% 0.002 s
FileUtilsTest 66 0 0 1 98.5% 2.371 s
PathToolTest 6 0 0 1 83.3% 0.005 s
MatchPatternTest 4 0 0 0 100% 0.002 s
DirectoryScannerTest 16 0 0 0 100% 0.040 s
ExpandTest 4 0 0 0 100% 0.030 s
InterpolationFilterReaderTest 11 0 0 0 100% 0.004 s
SweeperPoolTest 2 0 0 0 100% 2.014 s

org.codehaus.plexus.util.dag

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

org.codehaus.plexus.util.introspection

- Class Tests Errors Failures Skipped Success Rate Time
ReflectionValueExtractorTest 15 0 0 0 100% 0.031 s

org.codehaus.plexus.util.io

- Class Tests Errors Failures Skipped Success Rate Time
CachingWriterTest 2 0 0 0 100% 0.007 s
CachingOutputStreamTest 1 0 0 0 100% 0.002 s

Test Cases

[Summary] [Package List] [Test Cases]

OsTest

undefinedFamily 0 s
validList 0 s
os 0.001 s

CachingWriterTest

writeNoExistingFile 0.004 s
noOverwriteWithFlush 0.002 s

StreamPumperTest

enabled 0 s
pumping 0 s
pumpingWithPrintWriter 0.001 s
disabled 0.001 s
pumperReadsInputStreamUntilEndEvenIfConsumerFails 0.071 s

LineOrientedInterpolatingReaderTest

defaultInterpolationWithEscapedExpression 0.003 s
interpolationWithSpecifiedBoundaryTokensWithInterpolatedValueAtEnd 0 s
defaultInterpolationWithNonInterpolatedValueAtEnd 0 s
shouldInterpolateExpressionAtEndOfDataWithInvalidEndToken 0 s
interpolationWithSpecifiedBoundaryTokensWithNonInterpolatedValueAtEnd 0.001 s
defaultInterpolationWithInterpolatedValueAtEnd 0 s
interpolationWithSpecifiedBoundaryTokens 0 s

ReflectionUtilsTest

simpleVariableAccess 0.004 s
complexVariableAccess 0.001 s
settingVariableValue 0.001 s
superClassVariableAccess 0 s

BourneShellTest

bourneShellQuotingCharacters 0 s
addSingleQuotesOnArgumentWithSpaces 0 s
escapeSingleQuotesOnArgument 0.001 s
argumentsWithsemicolon 0.001 s
quoteWorkingDirectoryAndExecutable 0 s
quoteWorkingDirectoryAndExecutableWDPathWithSingleQuotesBackslashFileSep 0 s
preserveSingleQuotesOnArgument 0 s
quoteWorkingDirectoryAndExecutableWDPathWithSingleQuotes 0 s

TopologicalSorterTest

dfs 0.002 s

ReflectionValueExtractorTest

valueExtraction 0.012 s
illegalIndexedType 0.001 s
indexedMissingDot 0 s
dotDot 0.001 s
artifactMap 0 s
trimRootToken 0 s
badMappedSyntax 0.001 s
mappedMissingDot 0 s
illegalMappedType 0.002 s
mappedDottedKey 0 s
badIndexedSyntax 0.001 s
valueExtractorWithAInvalidExpression 0.003 s
indexedMapped 0 s
mappedIndexed 0 s
rootPropertyRegression 0.001 s

EnhancedStringTokenizerTest

simpleString 0.003 s
multipleDelim 0.003 s
test1 0 s
test2 0 s
test3 0 s
emptyString 0.001 s

StringUtilsTest

capitalizeFirstLetterTurkish 0 s
capitalizeFirstLetter 0 s
removeDuplicateWhitespace 0.002 s
unifyLineSeparators 0.001 s
quoteWrapWithSingleQuotes 0 s
lowerCaseFirstLetter 0 s
quotePreserveExistingQuotes 0 s
lowerCaseFirstLetterTurkish 0.001 s
quoteEscapeEmbeddedDoubleQuotesAndSpaces 0 s
split 0 s
removeAndHump 0 s
isNotBlank 0 s
isNotEmpty 0 s
quoteShortVersionSingleQuotesPreserved 0 s
quoteDontQuoteIfUnneeded 0 s
isNotEmptyNegatesIsEmpty 0 s
quoteEscapeEmbeddedSingleQuotes 0 s
isBlank 0.001 s
isEmpty 0.001 s
quoteWrapExistingQuotesWhenForceIsTrue 0 s
removeAndHumpTurkish 0 s
quoteEscapeEmbeddedSingleQuotesWithPattern 0.001 s

CollectionUtilsTest

mavenPropertiesLoading 0.001 s
mergeMapArray 0.001 s
iteratorToListWithAEmptyList 0.001 s
iteratorToListWithAPopulatedList 0.001 s
mergeMaps 0 s

IOUtilTest

closeInputStream 0.001 s
inputStreamToString 0.001 s
inputStreamToWriter 0.002 s
readerToString 0.002 s
readerToWriter 0.003 s
readerToOutputStream 0.001 s
byteArrayToString 0 s
byteArrayToWriter 0.002 s
closeOutputStream 0 s
inputStreamToByteArray 0 s
closeReader 0.001 s
closeWriter 0.002 s
inputStreamToOutputStream 0.001 s
byteArrayToOutputStream 0.001 s
stringToWriter 0.001 s
stringToByteArray 0 s
stringToOutputStream 0.002 s

StreamPollFeederTest

executeCommandLineDoesNotWaitForIdleSystemIn 0.036 s
executeCommandLineStillDeliversEndOfInputToFiniteStream 0.006 s
waitUntilDoneWithIdleInput 0.156 s
dataIsCopied 0.024 s
waitUntilDoneWithContinuousData 0.002 s

CycleDetectedExceptionTest

exception 0 s

DirectoryWalkerTest

directoryWalk 0.003 s

SelectorUtilsTest

isRegexPrefixedPattern 0.001 s
patternMatchSingleWildcardWindows 0 s
matchPathWindowsFileSeparator 0.001 s
patternMatchDoubleWildcardPosix 0 s
isAntPrefixedPattern 0.001 s
extractPattern 0 s
matchPathUnixFileSeparator 0.001 s
patternMatchDoubleWildcardWindows 0 s
patternMatchDoubleWildcardCaseInsensitivePosix 0.001 s
patternMatchSingleWildcardPosix 0 s
matchPathDefaultFileSeparator 0 s

PerfTest

resDir 0.001 s
subString 0.001 s

MatchPatternsTest

getSources 0 s
matches 0.001 s

CycleDetectorTest

cycyleDetection 0.003 s

CommandlineTest

environmentWitOverrideSystemEnvironment 0.003 s
quotedPathWithQuotationMark 0.025 s
getShellCommandLineBashWithSingleQuotedArg 0.001 s
execute 0.006 s
onlyQuotedPath 0.038 s
createCommandInReverseOrder 0.001 s
getShellCommandLineWindows 0 s
executeBinaryOnPath 0.343 s
commandlineWithCommandInConstructor 0.001 s
getShellCommandLineBashWithWorkingDirectory 0 s
getShellCommandLineBash 0 s
quotedPathWithQuotationMarkAndApostrophe 0.024 s
getShellCommandLineNonWindows 0.001 s
environment 0 s
getShellCommandLineWindowsWithSeveralQuotes 0.001 s
commandlineWithoutCommandInConstructor 0 s
pathWithShellExpansionStrings 0.012 s
timeOutException 1.008 s
dollarSignInArgumentPath 0.013 s
quotedPathWithSingleApostrophe 0.028 s
setFile 0 s
setLine 0.001 s

DefaultConsumerTest

consumeLine 0 s

FileUtilsTest

deleteDirectoryDoesNotFollowDirSymlink 0.038 s
fileWriteWithEncoding 0.004 s
filteredFileCopy 0.017 s
extensions 0.011 s
linkFile1 0.010 s
linkFile2 0.021 s
linkFile3 0.004 s
forceDeleteNonExistingFile 0.002 s
getExtensionWithPaths 0.001 s
fileUtils 0.003 s
fileWrite 0.001 s
copyIfModifiedWhenSourceIsNewer 1.009 s
copyIfModifiedWhenSourceIsOlder 1.009 s
copyFile2ToDirIfModified 0.006 s
toFile 0.003 s
toURLs 0.002 s
copyDirectoryStructureFailsWhenSourceCannotBeListed 0.004 s
toFileNull 0.003 s
fileRead 0.003 s
contentEquals 0.005 s
getExtension 0.002 s
copyIfModifiedWhenSourceHasZeroDate 0.003 s
toFileBadProtocol 0.002 s
fileReadWithEncoding 0.002 s
copyFile1ToDirIfModified 0.002 s
createTempFile 0.018 s
resolveFileDotDot 0.001 s
isValidWindowsFileName 0.002 s
copyURLToFile 0.001 s
getPath 0.001 s
filteredWithoutFilterAndOlderFileAndOverwrite 0.003 s
deleteLongPathOnWindows 0 s
- Disabled on operating system: Mac OS X -
copyDirectoryStructureToSelf 0.003 s
deleteDirectoryWithDanglingSymlink 0.008 s
mkdir 0.001 s
forceMkdir 0.002 s
normalize 0.001 s
getFilesFromExtension 0.001 s
copyDirectoryStructureWithAPopulatedStructure 0.003 s
catPath 0.003 s
deleteDirectoryWithValidDirSymlink 0.007 s
forceDeleteAFile1 0.001 s
forceDeleteAFile2 0.001 s
copyDirectoryStructureIfModified 0.005 s
removeExtensionWithPaths 0.003 s
copyFile1ToDir 0.001 s
forceDeleteOnExitDoesNotFollowDirSymlink 0.042 s
copyFile2ToDir 0.001 s
forceDeleteDanglingSymlink 0.007 s
forceDeleteDir 0.003 s
fileAppendWithEncoding 0.001 s
sizeOfDirectory 0.001 s
copyDirectoryStructureWithAEmptyDirectoryStructure 0.002 s
removePath 0.001 s
waitFor 0.002 s
resolveFileDot 0.001 s
copyFileOnSameFile 0.001 s
fileAppend 0.002 s
testcopyDirectoryLayoutWithExcludesIncludes 0.003 s
copyFile1 0.001 s
copyFile2 0.001 s
copyFile3 0.001 s
removeExtension 0.001 s
filteredWithoutFilterAndOlderFile 0.003 s
byteCountToDisplaySize 0.001 s
deleteDirectoryWithValidFileSymlink 0.006 s

VertexTest

vertex 0.001 s

PathToolTest

getDirectoryComponent 0.002 s
getRelativeFilePath 0 s
calculateLink 0.001 s
getRelativeWebPath 0 s
getRelativeFilePathOnWindows 0 s
- Disabled on operating system: Mac OS X -
getRelativePath 0 s

MatchPatternTest

matchPatternStart 0.001 s
tokenizePathToString 0 s
matchPath 0.001 s
getSource 0 s

ReflectorTest

objectPropertyFromField 0 s
objectPropertyFromBean 0 s
objectPropertyFromName 0 s

DAGTest

dag 0.001 s
getPredecessors 0 s

DirectoryScannerTest

isSymbolicLink 0.001 s
crossPlatformExcludesString 0 s
regexIncludeWithExcludedPrefixDirs 0.002 s
crossPlatformIncludesString 0.002 s
followSymlinks 0.001 s
regexWithSlashInsideCharacterClass 0.002 s
includesExcludesWithWhiteSpaces 0.003 s
antExcludesOverrideIncludesWithExplicitAntPrefix 0.002 s
regexExcludeWithNegativeLookahead 0.003 s
defaultExcludes 0.002 s
general 0.002 s
followSymlinksFalse 0.001 s
doNotScanUnnecesaryDirectories 0.002 s
isParentSymbolicLink 0.004 s
antExcludesOverrideIncludes 0.002 s
directoriesWithHyphens 0.003 s

CommandLineUtilsTest

translateCommandlineSplitsAtTabsAndLineBreaks 0 s
translateCommandline 0 s
quoteArguments 0 s
translateCommandlineKeepsWhitespaceInsideQuotes 0.001 s
getSystemEnvVarsWindows 0 s
- Disabled on operating system: Mac OS X -
getSystemEnvVarsCaseInsensitive 0 s

CachingOutputStreamTest

writeNoExistingFile 0.002 s

ExpandTest

testZipSlipVulnerabilityWithParentDirectory 0.022 s
testZipSlipVulnerabilityWithSimilarDirectoryName 0.003 s
testZipSlipVulnerabilityWithAbsolutePath 0.002 s
testNormalZipExtraction 0.002 s

InterpolationFilterReaderTest

interpolationWithSpecifiedBoundaryTokensAndAdditionalTokenCharacter 0 s
shouldNotInterpolateExpressionWithMissingEndToken 0 s
shouldNotInterpolateExpressionAtEndOfDataWithInvalidEndToken 0 s
shouldNotInterpolateWithMalformedStartToken 0 s
interpolationWithSpecifiedBoundaryTokensWithInterpolatedValueAtEnd 0 s
defaultInterpolationWithNonInterpolatedValueAtEnd 0 s
shouldNotInterpolateWithMalformedEndToken 0 s
interpolationWithSpecifiedBoundaryTokensWithNonInterpolatedValueAtEnd 0 s
defaultInterpolationWithInterpolatedValueAtEnd 0 s
interpolationWithMulticharDelimiters 0 s
interpolationWithSpecifiedBoundaryTokens 0 s

SweeperPoolTest

sweepAndTrim1 2.009 s
maxSize 0.002 s

Failure Details

[Summary] [Package List] [Test Cases]


deleteLongPathOnWindows
- skipped: Disabled on operating system: Mac OS X
getRelativeFilePathOnWindows
- skipped: Disabled on operating system: Mac OS X
getSystemEnvVarsWindows
- skipped: Disabled on operating system: Mac OS X