Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 5.279
org.apache.maven.surefire.booter.spi 45 0 0 0 100% 0.487

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.538
PpidCheckerTest 20 0 0 0 100% 1.478
SystemUtilsTest$MockTest 2 0 0 0 100% 1.126
SystemUtilsTest$PlainUnitTests 22 0 0 0 100% 0.011
IsolatedClassLoaderTest 1 0 0 0 100% 0.004
ForkedBooterTest 12 0 0 0 100% 0.057
ForkedBooterMockTest 13 0 0 0 100% 2.037
BooterDeserializerTest 1 0 0 0 100% 0.004
ClasspathTest 15 0 0 0 100% 0.004
PropertiesWrapperTest 5 0 0 0 100% 0
SurefireReflectorTest 25 0 0 0 100% 0.02

org.apache.maven.surefire.booter.spi

Class Tests Errors Failures Skipped Success Rate Time
CommandChannelDecoderTest 16 0 0 0 100% 0.035
EventChannelEncoderTest 29 0 0 0 100% 0.452

Test Cases

[Summary] [Package List] [Test Cases]

CommandReaderTest

twoIterators 0.315
stopBeforeReadInThread 0.045
shouldAwaitReaderUp 0.033
readTwoClassesInThread 0.051
readJustOneClass 0.045
manyClasses 0.049

PpidCheckerTest

shouldBeTypeNull 0.083
shouldBeTypePing 0.004
shouldBeEmptyDump 0.142
shouldStartedProcessThrowInterruptedIOException 0.028
shouldStartedProcessThrowInterruptedException 0.023
shouldBeTypeAll 0.001
canExecuteUnixPs 0.004
shouldNotFindSuchPID 0.008
shouldHavePidAtBegin 0.052
shouldHaveSystemPathToWmicOnWindows 0.003
shouldParseBusyboxHoursEtime 0.002
shouldHavePid 1.05
shouldBeStoppedCheckerWithError 0.024
shouldBeTypeNative 0.001
shouldBeException 0.001
shouldNotBeAlive 0.025
shouldNotBeValid 0.001
shouldStartedProcessThrowIOException 0.024
shouldParseEtime 0.002
shouldBeStopped 0

SystemUtilsTest$MockTest

shouldBeDifferentJdk9 1.125
shouldBeSameJdk9 0.001

SystemUtilsTest$PlainUnitTests

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

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.004

ForkedBooterTest

testThreadDump 0.008
shouldGenerateThreadDump 0.001
testPropsNotExist 0.001
testPropsExist 0.027
testBarrier1 0.003
testBarrier2 0
shouldNotBeDebugMode 0
shouldReadSurefireProperties 0.015
shouldFindCurrentProcessName 0
testScheduler 0.002
shouldCreateScheduler 0
testIsDebug 0

ForkedBooterMockTest

testMain 1.062
testMainWithError 0.027
shouldScheduleFlushes 0.81
shouldAuthenticate 0.034
shouldParseUUID 0.002
shouldNotParseUUID 0.001
shouldCheckNewPingMechanism 0.005
shouldNotCloseChannelProcessorFactory 0.002
shouldCloseChannelProcessorFactory 0.002
shouldFailOnCloseChannelProcessorFactory 0.004
shouldLookupLegacyDecoderFactory 0.036
shouldLookupSurefireDecoderFactory 0.007
testFlushEventChannelOnExit 0.045

BooterDeserializerTest

testStartupConfiguration 0.004

ClasspathTest

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

PropertiesWrapperTest

testAddList 0
testWriteToProperties 0
testRoundtrip 0
testReadFromPropertiesWithEmptyProperties 0
testReadFromProperties 0

CommandChannelDecoderTest

testDecoderRunClass 0.007
shouldIgnoreDamagedHeader 0.001
shouldNotDecodeCorruptedCommand 0.003
shouldIgnoreDamagedStream 0.002
shouldDecodeTwoCommands 0.001
testDecoderShutdownWithExit 0.003
testDecoderShutdownWithKill 0.001
testDecoderTestsetFinished 0.001
testIncompleteCommandStart 0.002
testIncompleteCommand 0.003
testDecoderByeAck 0.001
testBinaryCommandStream 0.004
testDecoderNoop 0.001
shouldSkipCorruptedCommand 0.003
testDecoderSkipSinceNextTest 0.001
testDecoderShutdownWithDefault 0.001

EventChannelEncoderTest

testAssumptionFailure 0.173
testStdErrStreamLn 0
testBye 0
testError 0.004
testConsoleWarning 0.001
testAcquireNextTest 0
testSendOpcode 0.001
reportEntry 0.03
testStdErrStream 0
testStdErrStreamEmptyMessageNullRunMode 0
testInterruptHandling 0.001
shouldHandleExit 0.001
shouldHandleExitWithTrimmedTrace 0.001
testStopOnNextTest 0
testConsoleErrorLog1 0.001
testConsoleErrorLog2 0.001
testConsoleErrorLog3 0.001
testSetCompleted 0.007
testFailed 0.003
testStdOutStream 0
testConsoleDebug 0
testConsoleError 0.001
testConsoleInfo 0
testSkipped 0.003
shouldCountSameNumberOfSystemProperties 0.217
testStdErrStreamEmptyMessageNullTestId 0
testStdOutStreamLn 0
testStarting 0.003
testSuccess 0.003

SurefireReflectorTest

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