Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
239 0 0 0 100% 11.46 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.543 s
org.codehaus.plexus.util.cli.shell 8 0 0 0 100% 0.002 s
org.codehaus.plexus.util 166 0 0 0 100% 9.890 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.009 s
org.codehaus.plexus.util.io 3 0 0 0 100% 0.007 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.050 s
EnhancedStringTokenizerTest 6 0 0 0 100% 0.001 s
CommandlineTest 22 0 0 0 100% 1.491 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.002 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.008 s
StringUtilsTest 22 0 0 0 100% 0.004 s
CollectionUtilsTest 5 0 0 0 100% 0.002 s
IOUtilTest 17 0 0 0 100% 0.020 s
DirectoryWalkerTest 1 0 0 0 100% 0.002 s
SelectorUtilsTest 8 0 0 0 100% 0.004 s
PerfTest 2 0 0 0 100% 0.001 s
MatchPatternsTest 1 0 0 0 100% 0.001 s
FileUtilsTest 61 0 0 0 100% 7.780 s
PathToolTest 5 0 0 0 100% 0.002 s
MatchPatternTest 2 0 0 0 100% 0.001 s
DirectoryScannerTest 15 0 0 0 100% 0.039 s
InterpolationFilterReaderTest 11 0 0 0 100% 0.009 s
SweeperPoolTest 2 0 0 0 100% 2.011 s

org.codehaus.plexus.util.dag

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

org.codehaus.plexus.util.io

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

Test Cases

[Summary] [Package List] [Test Cases]

OsTest

testUndefinedFamily 0 s
testOs 0 s
testValidList 0.001 s

CachingWriterTest

testWriteNoExistingFile 0.004 s
testNoOverwriteWithFlush 0.001 s

StreamPumperTest

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

LineOrientedInterpolatingReaderTest

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

ReflectionUtilsTest

testSimpleVariableAccess 0.003 s
testSettingVariableValue 0.002 s
testComplexVariableAccess 0.001 s
testSuperClassVariableAccess 0.001 s

BourneShellTest

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

TopologicalSorterTest

testDfs 0.001 s

ReflectionValueExtractorTest

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

EnhancedStringTokenizerTest

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

StringUtilsTest

testRemoveAndHump 0.001 s
testLowerCaseFirstLetter 0 s
testCapitalizeFirstLetter 0 s
testQuote_WrapWithSingleQuotes 0 s
testQuote_EscapeEmbeddedSingleQuotesWithPattern 0 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.001 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.002 s
testCloseReader 0 s
testInputStreamToByteArray 0.003 s
testCloseWriter 0.001 s
testStringToByteArray 0.001 s
testStringToWriter 0.002 s
testStringToOutputStream 0.001 s
testByteArrayToOutputStream 0.002 s
testInputStreamToString 0.001 s
testInputStreamToWriter 0.001 s
testByteArrayToString 0.001 s
testCloseInputStream 0 s
testByteArrayToWriter 0.001 s
testCloseOutputStream 0 s
testReaderToString 0.001 s
testReaderToOutputStream 0.001 s
testReaderToWriter 0.001 s

CycleDetectedExceptionTest

testException 0 s

DirectoryWalkerTest

testDirectoryWalk 0.002 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.001 s
testResDir 0 s

MatchPatternsTest

testMatches 0 s

CycleDetectorTest

testCycyleDetection 0 s

CommandlineTest

testOnlyQuotedPath 0.050 s
testGetShellCommandLineWindowsWithSeveralQuotes 0.001 s
testPathWithShellExpansionStrings 0.023 s
testExecute 0.007 s
testEnvironment 0 s
testQuotedPathWithQuotationMark 0.042 s
testQuotedPathWithQuotationMarkAndApostrophe 0.040 s
testEnvironmentWitOverrideSystemEnvironment 0 s
testGetShellCommandLineBash 0 s
testGetShellCommandLineBash_WithWorkingDirectory 0 s
testCommandlineWithoutCommandInConstructor 0 s
testCommandlineWithCommandInConstructor 0 s
testTimeOutException 1.008 s
testCreateCommandInReverseOrder 0.001 s
testQuotedPathWithSingleApostrophe 0.085 s
testDollarSignInArgumentPath 0.011 s
testGetShellCommandLineNonWindows 0.001 s
testGetShellCommandLineBash_WithSingleQuotedArg 0 s
testGetShellCommandLineWindows 0.001 s
testSetFile 0 s
testSetLine 0 s
testExecuteBinaryOnPath 0.215 s

DefaultConsumerTest

testConsumeLine 0 s

FileUtilsTest

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

VertexTest

testVertex 0.001 s

PathToolTest

testGetDirectoryComponent 0 s
testGetRelativeWebPath 0 s
testCalculateLink 0 s
testGetRelativeFilePath 0 s
testGetRelativePath 0 s

MatchPatternTest

testMatchPatternStart 0 s
testMatchPath 0.001 s

ReflectorTest

testObjectPropertyFromField 0 s
testObjectPropertyFromBean 0 s
testObjectPropertyFromName 0 s

DAGTest

testDAG 0 s
testGetPredecessors 0 s

DirectoryScannerTest

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

CommandLineUtilsTest

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

CachingOutputStreamTest

testWriteNoExistingFile 0.001 s

InterpolationFilterReaderTest

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

SweeperPoolTest

testSweepAndTrim1 2.009 s
testMaxSize 0.002 s