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% 7.288 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% 5.030 s
org.apache.maven.surefire.booter.spi 45 0 0 0 100% 2.258 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
PropertiesWrapperTest 5 0 0 0 100% 0.080 s
SurefireReflectorTest 3 0 0 0 100% 0.050 s
ClasspathTest 2 0 0 0 100% 0.043 s
ProcessCheckerTest 1 0 0 0 100% 0.146 s
BooterDeserializerTest 1 0 0 0 100% 0.112 s
SurefireReflectorTest 13 0 0 0 100% 0.016 s
ClasspathTest 8 0 0 0 100% 0.034 s
IsolatedClassLoaderTest 1 0 0 0 100% 0.085 s
ProcessCheckerTest 2 0 0 0 100% 0.085 s
ProcessHandleCheckerTest 1 0 0 0 100% 0.086 s
ForkedBooterMockTest 8 0 0 0 100% 1.748 s
ForkedBooterTest 12 0 0 0 100% 0.050 s
CommandReaderTest 6 0 0 0 100% 0.329 s
SurefireReflectorTest 3 0 0 0 100% 0.130 s
ProcessCheckerTest 4 0 0 0 100% 0.005 s
ProcessHandleCheckerTest 3 0 0 0 100% 0.010 s
SystemUtilsTest$MockTest 2 0 0 0 100% 0.758 s
SystemUtilsTest$PlainUnitTests 21 0 0 1 95.2% 0.042 s
ForkedBooterMockTest 2 0 0 0 100% 0.704 s
ClasspathTest 5 0 0 0 100% 0.117 s
SurefireReflectorTest 5 0 0 0 100% 0.006 s
ProcessCheckerTest 3 0 0 0 100% 0.006 s
IsolatedClassLoaderTest 0 0 0 0 0% 0.111 s
ProcessHandleCheckerTest 7 0 0 0 100% 0.145 s
ProcessCheckerTest 5 0 0 0 100% 0.018 s
ForkedBooterMockTest 1 0 0 0 100% 0.114 s

org.apache.maven.surefire.booter.spi

- Class Tests Errors Failures Skipped Success Rate Time
CommandChannelDecoderTest 14 0 0 0 100% 0.205 s
CommandChannelDecoderTest 2 0 0 0 100% 0.101 s
EventChannelEncoderTest 1 0 0 0 100% 0.876 s
EventChannelEncoderTest 28 0 0 0 100% 1.076 s

Test Cases

[Summary] [Package List] [Test Cases]

PropertiesWrapperTest

testAddList 0.039 s
testWriteToProperties 0.001 s
testRoundtrip 0.004 s
testReadFromPropertiesWithEmptyProperties 0.002 s
testReadFromProperties 0.001 s

SurefireReflectorTest

testNullTestSuiteDefinition 0.041 s
testNullArtifactInfo 0.004 s
testSetDirectoryScannerParameters 0.005 s

ClasspathTest

testShouldJoinTwoNullClasspaths 0.042 s
testShouldNotBeAbleToRemoveElement 0.001 s

ProcessCheckerTest

shouldBeStopped 0.001 s

BooterDeserializerTest

testStartupConfiguration 0.086 s

SurefireReflectorTest

testTestClassLoader 0.002 s
testInstantiateProvider 0.002 s
testReporterFactory 0.002 s
testConvertIfRunResult 0.002 s
testArtifactInfoAware 0.001 s
testSetProviderPropertiesAware 0.001 s
testReporterFactoryAware 0.002 s
testSetSkipAfterFailureCount 0.002 s
testReporterConfiguration 0.001 s
testSetMainCliOptions 0.001 s
testArtifactInfo 0 s
testSetIfDirScannerAware 0 s
testProviderProperties 0 s

ClasspathTest

testDontLoadInNewClassLoader 0.032 s
testCompactLog 0.001 s
testLog 0.001 s
testShouldWriteSeparatedElementsAsSystemProperty 0 s
testShouldNotAddNullAsClassPathElementUrl 0 s
testShouldAddNoDuplicateElements 0 s
testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths 0 s
testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements 0 s

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.085 s

ProcessCheckerTest

shouldBeTypeNull 0.085 s
shouldBeTypePing 0 s

ProcessHandleCheckerTest

shouldCreateViaFactoryMethod 0.086 s

ForkedBooterMockTest

shouldScheduleFlushes 0.756 s
shouldCheckNewPingMechanism 0.051 s
shouldNotParseUUID 0.002 s
shouldLookupLegacyDecoderFactory 0.003 s
testFlushEventChannelOnExit 0.073 s
shouldParseUUID 0.001 s
shouldFailOnCloseChannelProcessorFactory 0.004 s
shouldNotCloseChannelProcessorFactory 0.001 s

CommandChannelDecoderTest

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

ForkedBooterTest

testThreadDump 0.008 s
shouldGenerateThreadDump 0.003 s
testPropsNotExist 0.002 s
testPropsExist 0.018 s
testBarrier1 0.001 s
testBarrier2 0.001 s
shouldNotBeDebugMode 0.002 s
shouldReadSurefireProperties 0.003 s
shouldFindCurrentProcessName 0.002 s
testScheduler 0.001 s
shouldCreateScheduler 0.001 s
testIsDebug 0.001 s

CommandReaderTest

twoIterators 0.288 s
stopBeforeReadInThread 0.002 s
shouldAwaitReaderUp 0.005 s
readTwoClassesInThread 0.002 s
readJustOneClass 0.005 s
manyClasses 0.001 s

SurefireReflectorTest

testSetSystemExitTimeout 0 s
testTestSuiteDefinition 0.007 s
testNullSetDirectoryScannerParameters 0.001 s

ProcessCheckerTest

shouldHandleNonExistentProcess 0.002 s
shouldReturnNullForNullPpid 0.001 s
shouldStopChecker 0.001 s
shouldSelectProcessHandleCheckerOnJava9Plus 0.001 s

ProcessHandleCheckerTest

shouldReturnMeaningfulToString 0.008 s
shouldThrowOnInvalidPpidFormat 0.001 s
shouldReturnToStringWithStartInstantAfterCanUse 0.001 s

CommandChannelDecoderTest

testDecoderRunClass 0.099 s
shouldIgnoreDamagedHeader 0.002 s

SystemUtilsTest$MockTest

shouldBeDifferentJdk9 0.755 s
shouldBeSameJdk9 0.003 s

SystemUtilsTest$PlainUnitTests

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

ForkedBooterMockTest

shouldCloseChannelProcessorFactory 0.698 s
shouldAuthenticate 0.006 s

EventChannelEncoderTest

testAssumptionFailure 0.876 s

ClasspathTest

testLoadInNewClassLoader 0.002 s
testShouldWriteEmptyPropertyForEmptyClasspath 0.001 s
testCloneShouldBeEqual 0.001 s
testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl 0 s
testIterator 0 s

SurefireReflectorTest

testRunOrderParametersWithRunOrderRandomSeed 0.001 s
testNullRunOrderParameters 0.002 s
testTestClassLoaderAware 0 s
testShouldCreateFactoryWithoutException 0.002 s
testRunOrderParameters 0.001 s

ProcessCheckerTest

exceptionCallIsProcessAlive 0.003 s
shouldCreateCheckerForCurrentProcess 0.001 s
shouldBeTypeAll 0.002 s

EventChannelEncoderTest

testStdErrStreamLn 0.008 s
testBye 0.001 s
testError 0.005 s
testConsoleWarning 0.001 s
testAcquireNextTest 0.001 s
testSendOpcode 0.002 s
reportEntry 0.047 s
testStdErrStream 0.002 s
testStdErrStreamEmptyMessageNullRunMode 0.001 s
testInterruptHandling 0.001 s
shouldHandleExit 0.002 s
shouldHandleExitWithTrimmedTrace 0.002 s
testStopOnNextTest 0 s
testConsoleErrorLog1 0.002 s
testConsoleErrorLog2 0.001 s
testConsoleErrorLog3 0.001 s
testSetCompleted 0.006 s
testFailed 0.003 s
testStdOutStream 0.001 s
testConsoleDebug 0.001 s
testConsoleError 0.001 s
testConsoleInfo 0.001 s
testSkipped 0.003 s
shouldCountSameNumberOfSystemProperties 0.059 s
testStdErrStreamEmptyMessageNullTestId 0.001 s
testStdOutStreamLn 0.001 s
testStarting 0.003 s
testSuccess 0.002 s

ProcessHandleCheckerTest

shouldReturnProcessInfoAfterCanUse 0.009 s
shouldDetectNonExistentProcessAsNotUsable 0.001 s
shouldStopChecker 0.004 s
shouldDetectCurrentProcessAsAlive 0.001 s
shouldReturnNullFromFactoryForNullPpid 0.001 s
shouldReportAvailableOnJava9Plus 0.001 s
shouldDestroyActiveCommands 0.001 s

ProcessCheckerTest

shouldHavePidAtBegin 0.015 s
shouldBeTypeNative 0.001 s
shouldBeException 0.001 s
shouldNotBeValid 0.001 s
shouldDestroyActiveCommands 0 s

ForkedBooterMockTest

shouldLookupSurefireDecoderFactory 0.114 s

Failure Details

[Summary] [Package List] [Test Cases]


shouldBePidStatusOnBSD
- skipped: skipped