Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
239 0 0 0 100% 11.97 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 0 100% 1.918 s
org.codehaus.plexus.util.cli.shell 8 0 0 0 100% 0.003 s
org.codehaus.plexus.util 166 0 0 0 100% 10.01 s
org.codehaus.plexus.util.dag 6 0 0 0 100% 0.005 s
org.codehaus.plexus.util.introspection 15 0 0 0 100% 0.012 s
org.codehaus.plexus.util.io 3 0 0 0 100% 0.025 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.080 s
EnhancedStringTokenizerTest 6 0 0 0 100% 0.004 s
CommandlineTest 22 0 0 0 100% 1.833 s
DefaultConsumerTest 1 0 0 0 100% 0 s
CommandLineUtilsTest 4 0 0 0 100% 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.002 s
LineOrientedInterpolatingReaderTest 7 0 0 0 100% 0.005 s
ReflectionUtilsTest 4 0 0 0 100% 0.005 s
StringUtilsTest 22 0 0 0 100% 0.005 s
CollectionUtilsTest 5 0 0 0 100% 0.002 s
IOUtilTest 17 0 0 0 100% 0.036 s
DirectoryWalkerTest 1 0 0 0 100% 0.006 s
SelectorUtilsTest 8 0 0 0 100% 0.004 s
PerfTest 2 0 0 0 100% 0.003 s
MatchPatternsTest 1 0 0 0 100% 0.001 s
FileUtilsTest 61 0 0 0 100% 7.848 s
PathToolTest 5 0 0 0 100% 0.004 s
MatchPatternTest 2 0 0 0 100% 0.001 s
DirectoryScannerTest 15 0 0 0 100% 0.063 s
InterpolationFilterReaderTest 11 0 0 0 100% 0.013 s
SweeperPoolTest 2 0 0 0 100% 2.012 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 s
VertexTest 1 0 0 0 100% 0.001 s
DAGTest 2 0 0 0 100% 0 s

org.codehaus.plexus.util.introspection

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

org.codehaus.plexus.util.io

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

Test Cases

[Summary] [Package List] [Test Cases]

OsTest

testUndefinedFamily 0.001 s
testOs 0 s
testValidList 0 s

CachingWriterTest

testWriteNoExistingFile 0.020 s
testNoOverwriteWithFlush 0.002 s

StreamPumperTest

testEnabled 0 s
testPumping 0.001 s
testPumpingWithPrintWriter 0 s
testPumperReadsInputStreamUntilEndEvenIfConsumerFails 0.078 s
testDisabled 0 s

LineOrientedInterpolatingReaderTest

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

ReflectionUtilsTest

testSimpleVariableAccess 0.002 s
testSettingVariableValue 0.001 s
testComplexVariableAccess 0 s
testSuperClassVariableAccess 0 s

BourneShellTest

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

TopologicalSorterTest

testDfs 0.002 s

ReflectionValueExtractorTest

testArtifactMap 0.004 s
testMappedMissingDot 0.001 s
testIndexedMapped 0.002 s
testBadMappedSyntax 0.001 s
testMappedIndexed 0 s
testMappedDottedKey 0 s
testBadIndexedSyntax 0.001 s
testIndexedMissingDot 0 s
testIllegalIndexedType 0.001 s
testValueExtractorWithAInvalidExpression 0.001 s
testTrimRootToken 0 s
testDotDot 0 s
testIllegalMappedType 0 s
testRootPropertyRegression 0 s
testValueExtraction 0 s

EnhancedStringTokenizerTest

testSimpleString 0.001 s
test1 0.001 s
test2 0 s
test3 0 s
testEmptyString 0 s
testMultipleDelim 0 s

StringUtilsTest

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

CollectionUtilsTest

testMergeMaps 0.001 s
testIteratorToListWithAEmptyList 0 s
testMavenPropertiesLoading 0 s
testIteratorToListWithAPopulatedList 0 s
testMergeMapArray 0.001 s

IOUtilTest

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

CycleDetectedExceptionTest

testException 0.001 s

DirectoryWalkerTest

testDirectoryWalk 0.005 s

SelectorUtilsTest

testPatternMatchSingleWildcardWindows 0.001 s
testPatternMatchSingleWildcardPosix 0 s
testMatchPath_DefaultFileSeparator 0 s
testMatchPath_UnixFileSeparator 0 s
testPatternMatchDoubleWildcardWindows 0.001 s
testPatternMatchDoubleWildcardPosix 0 s
testMatchPath_WindowsFileSeparator 0 s
testPatternMatchDoubleWildcardCaseInsensitivePosix 0 s

PerfTest

testSubString 0.002 s
testResDir 0.001 s

MatchPatternsTest

testMatches 0.001 s

CycleDetectorTest

testCycyleDetection 0 s

CommandlineTest

testOnlyQuotedPath 0.118 s
testGetShellCommandLineWindowsWithSeveralQuotes 0.002 s
testPathWithShellExpansionStrings 0.018 s
testExecute 0.022 s
testEnvironment 0.001 s
testQuotedPathWithQuotationMark 0.027 s
testQuotedPathWithQuotationMarkAndApostrophe 0.028 s
testEnvironmentWitOverrideSystemEnvironment 0.001 s
testGetShellCommandLineBash 0 s
testGetShellCommandLineBash_WithWorkingDirectory 0.001 s
testCommandlineWithoutCommandInConstructor 0 s
testCommandlineWithCommandInConstructor 0 s
testTimeOutException 1.007 s
testCreateCommandInReverseOrder 0 s
testQuotedPathWithSingleApostrophe 0.022 s
testDollarSignInArgumentPath 0.021 s
testGetShellCommandLineNonWindows 0 s
testGetShellCommandLineBash_WithSingleQuotedArg 0 s
testGetShellCommandLineWindows 0.001 s
testSetFile 0 s
testSetLine 0.001 s
testExecuteBinaryOnPath 0.553 s

DefaultConsumerTest

testConsumeLine 0 s

FileUtilsTest

testCopyFile1 0.027 s
testCopyFile2 0.003 s
testCopyFile3 0.002 s
testFileReadWithEncoding 0.007 s
testFileWriteWithEncoding 0.003 s
testDeleteDirectoryWithValidFileSymlink 0.027 s
testForceDeleteAFile1 0.001 s
testForceDeleteAFile2 0.001 s
testCreateTempFile 0.036 s
testToFileNull 0.002 s
testGetExtensionWithPaths 0.002 s
testMkdir 0.003 s
testCopyFile2ToDirIfModified 0.003 s
testLinkFile1 0.002 s
testLinkFile2 0.002 s
testLinkFile3 0.002 s
testCopyDirectoryStructureWithAEmptyDirectoryStructure 0.004 s
testFileUtils 0.005 s
testFileWrite 0.002 s
testCopyDirectoryStructureIfModified 0.006 s
testCopyFile1ToDirIfModified 0.004 s
testForceMkdir 0.003 s
testCopyFile1ToDir 0.002 s
testCopyFile2ToDir 0.002 s
testForceDeleteDir 0.003 s
testCopyDirectoryStructureToSelf 0.003 s
testGetPath 0.003 s
testCopyFileOnSameFile 0.003 s
testIsValidWindowsFileName 0.001 s
testResolveFileDot 0.002 s
testCopyIfModifiedWhenSourceHasZeroDate 0.003 s
testDeleteLongPathOnWindows 0.002 s
testFileRead 0.002 s
testCatPath 0.002 s
testDeleteDirectoryWithDanglingSymlink 0.011 s
testFilteredWithoutFilterAndOlderFileAndOverwrite 0.003 s
testCopyIfModifiedWhenSourceIsNewer 1.010 s
testCopyIfModifiedWhenSourceIsOlder 1.014 s
testRemovePath 0.002 s
testGetExtension 0.002 s
testRemoveExtensionWithPaths 0.001 s
testGetFilesFromExtension 0.001 s
testFileAppend 0.002 s
testWaitFor 5.520 s
testDeleteDirectoryWithValidDirSymlink 0.018 s
testCopyDirectoryStructureWithAPopulatedStructure 0.008 s
testSizeOfDirectory 0.005 s
testFileAppendWithEncoding 0.003 s
testNormalize 0.001 s
testContentEquals 0.005 s
testRemoveExtension 0.003 s
testcopyDirectoryLayoutWithExcludesIncludes 0.006 s
testFilteredFileCopy 0.004 s
testFilteredWithoutFilterAndOlderFile 0.002 s
testToFileBadProtocol 0.003 s
testResolveFileDotDot 0.001 s
testByteCountToDisplaySize 0.001 s
testToFile 0 s
testToURLs 0.001 s
testCopyURLToFile 0.002 s
testExtensions 0.002 s

VertexTest

testVertex 0.001 s

PathToolTest

testGetDirectoryComponent 0.002 s
testGetRelativeWebPath 0 s
testCalculateLink 0 s
testGetRelativeFilePath 0.001 s
testGetRelativePath 0 s

MatchPatternTest

testMatchPatternStart 0.001 s
testMatchPath 0 s

ReflectorTest

testObjectPropertyFromField 0 s
testObjectPropertyFromBean 0 s
testObjectPropertyFromName 0 s

DAGTest

testDAG 0 s
testGetPredecessors 0 s

DirectoryScannerTest

testRegexIncludeWithExcludedPrefixDirs 0.004 s
testFollowSymlinksFalse 0.002 s
testCrossPlatformExcludesString 0.001 s
testIsParentSymbolicLink 0.001 s
testRegexExcludeWithNegativeLookahead 0.002 s
testRegexWithSlashInsideCharacterClass 0.005 s
testGeneral 0.006 s
testCrossPlatformIncludesString 0.006 s
testDoNotScanUnnecesaryDirectories 0.006 s
testIncludesExcludesWithWhiteSpaces 0.007 s
testIsSymbolicLink 0.002 s
testAntExcludesOverrideIncludesWithExplicitAntPrefix 0.002 s
testFollowSymlinks 0.005 s
testDirectoriesWithHyphens 0.001 s
testAntExcludesOverrideIncludes 0.004 s

CommandLineUtilsTest

testQuoteArguments 0.001 s
testGetSystemEnvVarsCaseInsensitive 0 s
testGetSystemEnvVarsWindows 0 s
testTranslateCommandline 0 s

CachingOutputStreamTest

testWriteNoExistingFile 0.003 s

InterpolationFilterReaderTest

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

SweeperPoolTest

testSweepAndTrim1 2.007 s
testMaxSize 0.004 s