Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
169 0 0 1 99.4% 13.45 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.apache.maven.surefire.booter 124 0 0 1 99.2% 9.119 s
org.apache.maven.surefire.booter.spi 45 0 0 0 100% 4.329 s

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

org.apache.maven.surefire.booter

- Class Tests Errors Failures Skipped Success Rate Time
SystemUtilsTest$MockTest 2 0 0 0 100% 1.364 s
SystemUtilsTest$PlainUnitTests 21 0 0 1 95.2% 0.084 s
ForkedBooterMockTest 2 0 0 0 100% 1.334 s
ClasspathTest 1 0 0 0 100% 0.003 s
ForkedBooterTest 12 0 0 0 100% 0.097 s
ProcessHandleCheckerTest 1 0 0 0 100% 0.334 s
ClasspathTest 6 0 0 0 100% 0.299 s
SurefireReflectorTest 5 0 0 0 100% 0.024 s
ProcessCheckerTest 6 0 0 0 100% 0.025 s
ProcessHandleCheckerTest 3 0 0 0 100% 0.027 s
ForkedBooterMockTest 1 0 0 0 100% 0.224 s
PropertiesWrapperTest 5 0 0 0 100% 0.165 s
ClasspathTest 2 0 0 0 100% 0.050 s
SurefireReflectorTest 2 0 0 0 100% 0.096 s
ProcessCheckerTest 3 0 0 0 100% 0.347 s
ForkedBooterMockTest 8 0 0 0 100% 2.704 s
SurefireReflectorTest 2 0 0 0 100% 0.332 s
ProcessCheckerTest 4 0 0 0 100% 0.029 s
ProcessHandleCheckerTest 6 0 0 0 100% 0.034 s
IsolatedClassLoaderTest 1 0 0 0 100% 0.259 s
SurefireReflectorTest 15 0 0 0 100% 0.073 s
ClasspathTest 6 0 0 0 100% 0.131 s
ProcessHandleCheckerTest 1 0 0 0 100% 0.194 s
ProcessCheckerTest 2 0 0 0 100% 0.197 s
BooterDeserializerTest 1 0 0 0 100% 0.195 s
CommandReaderTest 6 0 0 0 100% 0.498 s

org.apache.maven.surefire.booter.spi

- Class Tests Errors Failures Skipped Success Rate Time
EventChannelEncoderTest 3 0 0 0 100% 1.648 s
CommandChannelDecoderTest 14 0 0 0 100% 0.423 s
CommandChannelDecoderTest 2 0 0 0 100% 0.221 s
EventChannelEncoderTest 26 0 0 0 100% 2.037 s

Test Cases

[Summary] [Package List] [Test Cases]

SystemUtilsTest$MockTest

shouldBeDifferentJdk9 1.348 s
shouldBeSameJdk9 0.016 s

SystemUtilsTest$PlainUnitTests

shouldBePidOnJMX 0.004 s
shouldBePidStatusOnBSD 0 s
- skipped -
shouldBeMockPidStatusOnBSD 0.015 s
shouldBeJavaVersion 0.004 s
shouldFindClassLoader 0.002 s
shouldBePlatformClassLoader 0.004 s
shouldExtractJdkHomeFromJreExec 0.015 s
shouldNotHaveJavaPath 0.006 s
shouldExtractJdkHomeFromJdk 0.003 s
shouldExtractJdkHomeFromJre 0.005 s
shouldBePid 0.003 s
shouldBePidOnJigsaw 0.001 s
shouldParseProprietaryReleaseFile 0.004 s
shouldHaveJavaPath 0.002 s
shouldNotExtractJdkHomeFromJreExec 0.001 s
shouldBePidStatusOnLinux 0.003 s
shouldBeMockPidStatusOnLinux 0.001 s
shouldExtractJdkHomeFromRealPath 0.003 s
shouldExtractJdkHomeFromJavaExec 0.001 s
shouldNotExtractJdkHomeFromJavaExec 0.003 s
shouldNotFindClassLoader 0.004 s

ForkedBooterMockTest

shouldCloseChannelProcessorFactory 1.310 s
shouldAuthenticate 0.024 s

EventChannelEncoderTest

testAssumptionFailure 1.633 s
testStdErrStreamLn 0.013 s
testBye 0.002 s

ClasspathTest

testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths 0.003 s

ForkedBooterTest

testThreadDump 0.014 s
shouldGenerateThreadDump 0.004 s
testPropsNotExist 0.002 s
testPropsExist 0.035 s
testBarrier1 0.002 s
testBarrier2 0.001 s
shouldNotBeDebugMode 0.004 s
shouldReadSurefireProperties 0.015 s
shouldFindCurrentProcessName 0.002 s
testScheduler 0.002 s
shouldCreateScheduler 0.001 s
testIsDebug 0 s

ProcessHandleCheckerTest

shouldDestroyActiveCommands 0.003 s

CommandChannelDecoderTest

shouldNotDecodeCorruptedCommand 0.093 s
shouldIgnoreDamagedStream 0.002 s
shouldDecodeTwoCommands 0.002 s
testDecoderShutdownWithExit 0.002 s
testDecoderShutdownWithKill 0.004 s
testDecoderTestsetFinished 0.002 s
testIncompleteCommandStart 0.003 s
testIncompleteCommand 0.002 s
testDecoderByeAck 0.002 s
testBinaryCommandStream 0.005 s
testDecoderNoop 0.002 s
shouldSkipCorruptedCommand 0.003 s
testDecoderSkipSinceNextTest 0.001 s
testDecoderShutdownWithDefault 0.003 s

ClasspathTest

testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements 0.003 s
testLoadInNewClassLoader 0.009 s
testShouldWriteEmptyPropertyForEmptyClasspath 0.002 s
testCloneShouldBeEqual 0.003 s
testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl 0.002 s
testIterator 0.003 s

SurefireReflectorTest

testNullRunOrderParameters 0.008 s
testTestClassLoaderAware 0.003 s
testShouldCreateFactoryWithoutException 0.006 s
testRunOrderParameters 0.003 s
testSetSystemExitTimeout 0.004 s

ProcessCheckerTest

exceptionCallIsProcessAlive 0.011 s
shouldCreateCheckerForCurrentProcess 0.004 s
shouldBeTypeAll 0.002 s
shouldHandleNonExistentProcess 0.002 s
shouldReturnNullForNullPpid 0.002 s
shouldStopChecker 0.004 s

ProcessHandleCheckerTest

shouldReturnMeaningfulToString 0.021 s
shouldThrowOnInvalidPpidFormat 0.003 s
shouldReturnToStringWithStartInstantAfterCanUse 0.003 s

CommandChannelDecoderTest

testDecoderRunClass 0.217 s
shouldIgnoreDamagedHeader 0.004 s

ForkedBooterMockTest

shouldLookupSurefireDecoderFactory 0.224 s

PropertiesWrapperTest

testAddList 0.080 s
testWriteToProperties 0.002 s
testRoundtrip 0.002 s
testReadFromPropertiesWithEmptyProperties 0.002 s
testReadFromProperties 0.002 s

ClasspathTest

testShouldJoinTwoNullClasspaths 0.048 s
testShouldNotBeAbleToRemoveElement 0.002 s

SurefireReflectorTest

testNullTestSuiteDefinition 0.092 s
testNullArtifactInfo 0.004 s

ProcessCheckerTest

shouldNotBeValid 0.001 s
shouldDestroyActiveCommands 0.003 s
shouldBeStopped 0.003 s

ForkedBooterMockTest

shouldScheduleFlushes 0.762 s
shouldCheckNewPingMechanism 0.097 s
shouldNotParseUUID 0.003 s
shouldLookupLegacyDecoderFactory 0.007 s
testFlushEventChannelOnExit 0.168 s
shouldParseUUID 0.004 s
shouldFailOnCloseChannelProcessorFactory 0.010 s
shouldNotCloseChannelProcessorFactory 0.004 s

SurefireReflectorTest

testTestSuiteDefinition 0.028 s
testNullSetDirectoryScannerParameters 0.004 s

ProcessCheckerTest

shouldSelectProcessHandleCheckerOnJava9Plus 0.006 s
shouldHavePidAtBegin 0.020 s
shouldBeTypeNative 0.001 s
shouldBeException 0.002 s

ProcessHandleCheckerTest

shouldReturnProcessInfoAfterCanUse 0.023 s
shouldDetectNonExistentProcessAsNotUsable 0.003 s
shouldStopChecker 0.001 s
shouldDetectCurrentProcessAsAlive 0.004 s
shouldReturnNullFromFactoryForNullPpid 0.001 s
shouldReportAvailableOnJava9Plus 0.002 s

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.196 s

SurefireReflectorTest

testSetDirectoryScannerParameters 0.012 s
testTestClassLoader 0.004 s
testInstantiateProvider 0.004 s
testReporterFactory 0.004 s
testConvertIfRunResult 0.007 s
testArtifactInfoAware 0.004 s
testSetProviderPropertiesAware 0.013 s
testReporterFactoryAware 0.003 s
testSetSkipAfterFailureCount 0.005 s
testReporterConfiguration 0.003 s
testSetMainCliOptions 0.003 s
testArtifactInfo 0.002 s
testSetIfDirScannerAware 0.001 s
testProviderProperties 0.002 s
testRunOrderParametersWithRunOrderRandomSeed 0.006 s

ClasspathTest

testDontLoadInNewClassLoader 0.117 s
testCompactLog 0.003 s
testLog 0.003 s
testShouldWriteSeparatedElementsAsSystemProperty 0.002 s
testShouldNotAddNullAsClassPathElementUrl 0.003 s
testShouldAddNoDuplicateElements 0.003 s

ProcessHandleCheckerTest

shouldCreateViaFactoryMethod 0.194 s

ProcessCheckerTest

shouldBeTypeNull 0.194 s
shouldBeTypePing 0.003 s

BooterDeserializerTest

testStartupConfiguration 0.195 s

CommandReaderTest

twoIterators 0.402 s
stopBeforeReadInThread 0.005 s
shouldAwaitReaderUp 0.011 s
readTwoClassesInThread 0.006 s
readJustOneClass 0.002 s
manyClasses 0.005 s

EventChannelEncoderTest

testError 0.012 s
testConsoleWarning 0.004 s
testAcquireNextTest 0.004 s
testSendOpcode 0.005 s
reportEntry 0.085 s
testStdErrStream 0.002 s
testStdErrStreamEmptyMessageNullRunMode 0.002 s
testInterruptHandling 0.002 s
shouldHandleExit 0.004 s
shouldHandleExitWithTrimmedTrace 0.003 s
testStopOnNextTest 0.001 s
testConsoleErrorLog1 0.003 s
testConsoleErrorLog2 0.003 s
testConsoleErrorLog3 0.002 s
testSetCompleted 0.017 s
testFailed 0.009 s
testStdOutStream 0.003 s
testConsoleDebug 0.001 s
testConsoleError 0.001 s
testConsoleInfo 0.002 s
testSkipped 0.006 s
shouldCountSameNumberOfSystemProperties 0.116 s
testStdErrStreamEmptyMessageNullTestId 0.002 s
testStdOutStreamLn 0.001 s
testStarting 0.003 s
testSuccess 0.004 s

Failure Details

[Summary] [Package List] [Test Cases]


shouldBePidStatusOnBSD
- skipped: skipped