Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
159 0 0 0 100% 8.942

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 113 0 0 0 100% 8.651
org.apache.maven.surefire.booter.spi 46 0 0 0 100% 0.291

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
CommandReaderTest 6 0 0 0 100% 0.865
PpidCheckerTest 15 0 0 0 100% 2.512
SystemUtilsTest$MockTest 2 0 0 0 100% 2.177
SystemUtilsTest$PlainUnitTests 23 0 0 0 100% 0.032
IsolatedClassLoaderTest 1 0 0 0 100% 0.023
ForkedBooterTest 12 0 0 0 100% 0.656
ForkedBooterMockTest 9 0 0 0 100% 2.333
BooterDeserializerTest 1 0 0 0 100% 0.01
ClasspathTest 15 0 0 0 100% 0.007
PropertiesWrapperTest 5 0 0 0 100% 0.001
SurefireReflectorTest 24 0 0 0 100% 0.035

org.apache.maven.surefire.booter.spi

Class Tests Errors Failures Skipped Success Rate Time
LegacyMasterProcessChannelDecoderTest 15 0 0 0 100% 0.017
LegacyMasterProcessChannelEncoderTest 31 0 0 0 100% 0.274

Test Cases

[Summary] [Package List] [Test Cases]

CommandReaderTest

twoIterators 0.356
stopBeforeReadInThread 0.108
shouldAwaitReaderUp 0.042
readTwoClassesInThread 0.102
readJustOneClass 0.13
manyClasses 0.127

PpidCheckerTest

shouldBeTypeNull 0.027
shouldBeTypePing 0.003
shouldBeTypeAll 0
canExecuteUnixPs 0.028
shouldNotFindSuchPID 0.02
shouldHavePidAtBegin 0.609
shouldHaveSystemPathToWmicOnWindows 0.009
shouldParseBusyboxHoursEtime 0.004
shouldHavePid 1.615
shouldBeTypeNative 0
shouldBeException 0.001
shouldNotBeAlive 0.195
shouldNotBeValid 0
shouldParseEtime 0.001
shouldBeStopped 0

SystemUtilsTest$MockTest

shouldBeSameJdk9 2.168
shouldBeDifferentJdk9 0.009

SystemUtilsTest$PlainUnitTests

shouldBePidOnJMX 0.002
shouldMatchJavaSpecVersion 0.003
shouldBePidStatusOnBSD 0
shouldBeMockPidStatusOnBSD 0.003
shouldBeJavaVersion 0.001
shouldFindClassLoader 0.003
shouldBePlatformClassLoader 0.001
shouldExtractJdkHomeFromJreExec 0.002
shouldNotHaveJavaPath 0.001
shouldExtractJdkHomeFromJdk 0.003
shouldExtractJdkHomeFromJre 0
shouldBePid 0
shouldBePidOnJigsaw 0.002
shouldParseProprietaryReleaseFile 0.005
shouldHaveJavaPath 0
shouldNotExtractJdkHomeFromJreExec 0.002
shouldBePidStatusOnLinux 0
shouldBeMockPidStatusOnLinux 0.003
shouldExtractJdkHomeFromRealPath 0.001
shouldExtractJdkHomeFromJavaExec 0
shouldNotExtractJdkHomeFromJavaExec 0
incorrectJdkPath 0
shouldNotFindClassLoader 0

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.023

ForkedBooterTest

testThreadDump 0.008
shouldGenerateThreadDump 0.001
testPropsNotExist 0.001
testPropsExist 0.606
testBarrier1 0.01
testBarrier2 0
shouldNotBeDebugMode 0
shouldReadSurefireProperties 0.009
shouldFindCurrentProcessName 0.004
testScheduler 0.017
shouldCreateScheduler 0
testIsDebug 0

ForkedBooterMockTest

testFlushEventChannelOnExit 2.088
testMainWithError 0.07
shouldLookupLegacyDecoderFactory 0.053
shouldCheckNewPingMechanism 0.006
shouldNotCloseChannelProcessorFactory 0.003
shouldLookupSurefireDecoderFactory 0.094
shouldCloseChannelProcessorFactory 0.003
shouldFailOnCloseChannelProcessorFactory 0.004
testMain 0.012

BooterDeserializerTest

testStartupConfiguration 0.01

ClasspathTest

testShouldJoinTwoNullClasspaths 0.001
testShouldNotBeAbleToRemoveElement 0
testDontLoadInNewClassLoader 0.001
testCompactLog 0
testLog 0
testShouldWriteSeparatedElementsAsSystemProperty 0
testShouldNotAddNullAsClassPathElementUrl 0
testShouldAddNoDuplicateElements 0
testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths 0.001
testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements 0
testLoadInNewClassLoader 0.003
testShouldWriteEmptyPropertyForEmptyClasspath 0
testCloneShouldBeEqual 0.001
testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl 0
testIterator 0

PropertiesWrapperTest

testAddList 0.001
testWriteToProperties 0
testRoundtrip 0
testReadFromPropertiesWithEmptyProperties 0
testReadFromProperties 0

LegacyMasterProcessChannelDecoderTest

testDecoderRunClass 0.006
shouldIgnoreDamagedHeader 0.001
shouldNotDecodeCorruptedCommand 0.001
shouldIgnoreDamagedStream 0
shouldDecodeTwoCommands 0.001
testDecoderShutdownWithExit 0.002
testDecoderShutdownWithKill 0
testDecoderTestsetFinished 0
testIncompleteCommandStart 0.002
testIncompleteCommand 0.004
testDecoderByeAck 0
testDecoderNoop 0
shouldSkipCorruptedCommand 0
testDecoderSkipSinceNextTest 0
testDecoderShutdownWithDefault 0

LegacyMasterProcessChannelEncoderTest

testAssumptionFailure 0.213
testStdErrStreamLn 0
testBye 0
testError 0.006
testConsoleWarning 0.001
shouldBeFailSafe 0
testAcquireNextTest 0
testSendOpcode 0
reportEntry 0.009
shouldHaveSystemProperty 0.001
testStdErrStream 0
nullSafeThrowable 0.001
shouldHandleExit 0.001
shouldHandleExitWithTrimmedTrace 0.001
safeThrowableShouldBeEncoded 0.001
testStopOnNextTest 0.001
emptySafeThrowable 0.002
testConsoleErrorLog1 0.006
testConsoleErrorLog2 0.001
testConsoleErrorLog3 0.002
testSetCompleted 0.004
testFailed 0.003
testStdOutStream 0.001
testConsoleDebug 0
testConsoleError 0.001
testConsoleInfo 0
testSkipped 0.004
shouldCountSameNumberOfSystemProperties 0.005
testStdOutStreamLn 0
testStarting 0.005
testSuccess 0.005

SurefireReflectorTest

testNullTestSuiteDefinition 0.014
testNullArtifactInfo 0
testSetDirectoryScannerParameters 0.003
testTestClassLoader 0
testInstantiateProvider 0.002
testReporterFactory 0.001
testConvertIfRunResult 0.001
testArtifactInfoAware 0
testSetTestSuiteDefinitionAware 0
testSetProviderPropertiesAware 0
testReporterFactoryAware 0.002
testSetSkipAfterFailureCount 0
testReporterConfiguration 0
testSetMainCliOptions 0.002
testArtifactInfo 0
testSetIfDirScannerAware 0
testProviderProperties 0
testNullRunOrderParameters 0
testTestClassLoaderAware 0
testShouldCreateFactoryWithoutException 0.002
testRunOrderParameters 0
testSetSystemExitTimeout 0
testTestSuiteDefinition 0.008
testNullSetDirectoryScannerParameters 0