Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
167 0 0 0 100% 8.008

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 122 0 0 0 100% 7.631
org.apache.maven.surefire.booter.spi 45 0 0 0 100% 0.377

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.609
PpidCheckerTest 20 0 0 0 100% 2.631
SystemUtilsTest$MockTest 2 0 0 0 100% 1.288
SystemUtilsTest$PlainUnitTests 22 0 0 0 100% 0.021
IsolatedClassLoaderTest 1 0 0 0 100% 0.006
ForkedBooterTest 12 0 0 0 100% 0.057
ForkedBooterMockTest 13 0 0 0 100% 2.981
BooterDeserializerTest 1 0 0 0 100% 0.008
ClasspathTest 15 0 0 0 100% 0.006
PropertiesWrapperTest 5 0 0 0 100% 0
SurefireReflectorTest 25 0 0 0 100% 0.024

org.apache.maven.surefire.booter.spi

Class Tests Errors Failures Skipped Success Rate Time
CommandChannelDecoderTest 16 0 0 0 100% 0.033
EventChannelEncoderTest 29 0 0 0 100% 0.344

Test Cases

[Summary] [Package List] [Test Cases]

CommandReaderTest

twoIterators 0.354
stopBeforeReadInThread 0.052
shouldAwaitReaderUp 0.051
readTwoClassesInThread 0.061
readJustOneClass 0.047
manyClasses 0.044

PpidCheckerTest

shouldBeTypeNull 0.189
shouldBeTypePing 0.005
shouldBeEmptyDump 0.269
shouldStartedProcessThrowInterruptedIOException 0.037
shouldStartedProcessThrowInterruptedException 0.032
shouldBeTypeAll 0.001
canExecuteUnixPs 0.006
shouldNotFindSuchPID 0.008
shouldHavePidAtBegin 0.274
shouldHaveSystemPathToWmicOnWindows 0.003
shouldParseBusyboxHoursEtime 0.001
shouldHavePid 1.48
shouldBeStoppedCheckerWithError 0.14
shouldBeTypeNative 0.001
shouldBeException 0.001
shouldNotBeAlive 0.148
shouldNotBeValid 0.001
shouldStartedProcessThrowIOException 0.033
shouldParseEtime 0.001
shouldBeStopped 0.001

SystemUtilsTest$MockTest

shouldBeSameJdk9 1.282
shouldBeDifferentJdk9 0.006

SystemUtilsTest$PlainUnitTests

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

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.006

ForkedBooterTest

testThreadDump 0.005
shouldGenerateThreadDump 0.003
testPropsNotExist 0
testPropsExist 0.018
testBarrier1 0.003
testBarrier2 0.001
shouldNotBeDebugMode 0
shouldReadSurefireProperties 0.024
shouldFindCurrentProcessName 0
testScheduler 0.003
shouldCreateScheduler 0
testIsDebug 0

ForkedBooterMockTest

shouldCloseChannelProcessorFactory 1.787
shouldFailOnCloseChannelProcessorFactory 0.015
shouldNotCloseChannelProcessorFactory 0
shouldLookupSurefireDecoderFactory 0.255
shouldAuthenticate 0.019
shouldCheckNewPingMechanism 0.011
shouldLookupLegacyDecoderFactory 0.007
shouldNotParseUUID 0
testMainWithError 0.015
testFlushEventChannelOnExit 0.039
shouldScheduleFlushes 0.777
shouldParseUUID 0.003
testMain 0.053

BooterDeserializerTest

testStartupConfiguration 0.008

ClasspathTest

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

PropertiesWrapperTest

testAddList 0
testWriteToProperties 0
testRoundtrip 0
testReadFromPropertiesWithEmptyProperties 0
testReadFromProperties 0

CommandChannelDecoderTest

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

EventChannelEncoderTest

testAssumptionFailure 0.115
testStdErrStreamLn 0
testBye 0
testError 0.003
testConsoleWarning 0
testAcquireNextTest 0
testSendOpcode 0.002
reportEntry 0.025
testStdErrStream 0
testStdErrStreamEmptyMessageNullRunMode 0
testInterruptHandling 0
shouldHandleExit 0
shouldHandleExitWithTrimmedTrace 0.001
testStopOnNextTest 0
testConsoleErrorLog1 0.002
testConsoleErrorLog2 0
testConsoleErrorLog3 0
testSetCompleted 0.005
testFailed 0.002
testStdOutStream 0
testConsoleDebug 0
testConsoleError 0
testConsoleInfo 0
testSkipped 0.003
shouldCountSameNumberOfSystemProperties 0.181
testStdErrStreamEmptyMessageNullTestId 0
testStdOutStreamLn 0
testStarting 0.003
testSuccess 0.002

SurefireReflectorTest

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