Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
251 0 0 3 98.8% 6.184 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 38 0 0 1 97.4% 1.765 s
org.codehaus.plexus.util.cli.shell 8 0 0 0 100% 0.003 s
org.codehaus.plexus.util 178 0 0 2 98.9% 4.388 s
org.codehaus.plexus.util.dag 6 0 0 0 100% 0.008 s
org.codehaus.plexus.util.introspection 15 0 0 0 100% 0.010 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.071 s
EnhancedStringTokenizerTest 6 0 0 0 100% 0.004 s
CommandlineTest 22 0 0 0 100% 1.689 s
DefaultConsumerTest 1 0 0 0 100% 0 s
CommandLineUtilsTest 4 0 0 1 75.0% 0.001 s

org.codehaus.plexus.util.cli.shell

- Class Tests Errors Failures Skipped Success Rate Time
BourneShellTest 8 0 0 0 100% 0.003 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.004 s
ReflectionUtilsTest 4 0 0 0 100% 0.006 s
StringUtilsTest 22 0 0 0 100% 0.009 s
CollectionUtilsTest 5 0 0 0 100% 0.001 s
IOUtilTest 17 0 0 0 100% 0.029 s
DirectoryWalkerTest 1 0 0 0 100% 0.002 s
SelectorUtilsTest 11 0 0 0 100% 0.007 s
PerfTest 2 0 0 0 100% 0.002 s
MatchPatternsTest 2 0 0 0 100% 0.001 s
FileUtilsTest 61 0 0 1 98.4% 2.237 s
PathToolTest 6 0 0 1 83.3% 0.004 s
MatchPatternTest 4 0 0 0 100% 0.003 s
DirectoryScannerTest 16 0 0 0 100% 0.033 s
ExpandTest 4 0 0 0 100% 0.026 s
InterpolationFilterReaderTest 11 0 0 0 100% 0.010 s
SweeperPoolTest 2 0 0 0 100% 2.013 s

org.codehaus.plexus.util.dag

- Class Tests Errors Failures Skipped Success Rate Time
TopologicalSorterTest 1 0 0 0 100% 0.002 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.010 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 s

CachingWriterTest

writeNoExistingFile 0.005 s
noOverwriteWithFlush 0.001 s

StreamPumperTest

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

LineOrientedInterpolatingReaderTest

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

ReflectionUtilsTest

simpleVariableAccess 0.003 s
complexVariableAccess 0.001 s
settingVariableValue 0.002 s
superClassVariableAccess 0 s

BourneShellTest

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

TopologicalSorterTest

dfs 0.001 s

ReflectionValueExtractorTest

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

EnhancedStringTokenizerTest

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

StringUtilsTest

capitalizeFirstLetterTurkish 0 s
capitalizeFirstLetter 0 s
removeDuplicateWhitespace 0 s
unifyLineSeparators 0.001 s
quoteWrapWithSingleQuotes 0.001 s
lowerCaseFirstLetter 0 s
quotePreserveExistingQuotes 0 s
lowerCaseFirstLetterTurkish 0 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.001 s
isBlank 0 s
isEmpty 0 s
quoteWrapExistingQuotesWhenForceIsTrue 0 s
removeAndHumpTurkish 0 s
quoteEscapeEmbeddedSingleQuotesWithPattern 0.001 s

CollectionUtilsTest

mavenPropertiesLoading 0 s
mergeMapArray 0 s
iteratorToListWithAEmptyList 0 s
iteratorToListWithAPopulatedList 0 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.002 s
byteArrayToString 0.001 s
byteArrayToWriter 0.002 s
closeOutputStream 0.001 s
inputStreamToByteArray 0 s
closeReader 0.001 s
closeWriter 0.001 s
inputStreamToOutputStream 0.001 s
byteArrayToOutputStream 0.002 s
stringToWriter 0.002 s
stringToByteArray 0.001 s
stringToOutputStream 0.002 s

CycleDetectedExceptionTest

exception 0 s

DirectoryWalkerTest

directoryWalk 0.002 s

SelectorUtilsTest

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

PerfTest

resDir 0.001 s
subString 0 s

MatchPatternsTest

getSources 0 s
matches 0 s

CycleDetectorTest

cycyleDetection 0.003 s

CommandlineTest

environmentWitOverrideSystemEnvironment 0.002 s
quotedPathWithQuotationMark 0.028 s
getShellCommandLineBashWithSingleQuotedArg 0 s
execute 0.006 s
onlyQuotedPath 0.032 s
createCommandInReverseOrder 0 s
getShellCommandLineWindows 0.001 s
executeBinaryOnPath 0.522 s
commandlineWithCommandInConstructor 0.001 s
getShellCommandLineBashWithWorkingDirectory 0 s
getShellCommandLineBash 0 s
quotedPathWithQuotationMarkAndApostrophe 0.021 s
getShellCommandLineNonWindows 0 s
environment 0.001 s
getShellCommandLineWindowsWithSeveralQuotes 0 s
commandlineWithoutCommandInConstructor 0 s
pathWithShellExpansionStrings 0.010 s
timeOutException 1.008 s
dollarSignInArgumentPath 0.016 s
quotedPathWithSingleApostrophe 0.036 s
setFile 0.001 s
setLine 0 s

DefaultConsumerTest

consumeLine 0 s

FileUtilsTest

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

VertexTest

vertex 0.001 s

PathToolTest

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

MatchPatternTest

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

ReflectorTest

objectPropertyFromField 0 s
objectPropertyFromBean 0.001 s
objectPropertyFromName 0 s

DAGTest

dag 0.001 s
getPredecessors 0 s

DirectoryScannerTest

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

CommandLineUtilsTest

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

CachingOutputStreamTest

writeNoExistingFile 0.002 s

ExpandTest

testZipSlipVulnerabilityWithParentDirectory 0.018 s
testZipSlipVulnerabilityWithSimilarDirectoryName 0.002 s
testZipSlipVulnerabilityWithAbsolutePath 0.002 s
testNormalZipExtraction 0.002 s

InterpolationFilterReaderTest

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

SweeperPoolTest

sweepAndTrim1 2.010 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