Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
165 0 0 2 98.8% 4.904 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 120 0 0 2 98.3% 4.224 s
org.apache.maven.surefire.booter.spi 45 0 0 0 100% 0.680 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 0 0 0 0 0% 0.436 s
PpidCheckerTest 20 0 0 1 95.0% 1.174 s
BooterDeserializerTest 1 0 0 0 100% 0.015 s
ForkedBooterTest 12 0 0 0 100% 0.037 s
SystemUtilsTest$MockTest 2 0 0 0 100% 0.424 s
ClasspathTest 15 0 0 0 100% 0.007 s
PropertiesWrapperTest 5 0 0 0 100% 0.002 s
ForkedBooterMockTest 13 0 0 0 100% 1.581 s
SurefireReflectorTest 24 0 0 0 100% 0.038 s
IsolatedClassLoaderTest 1 0 0 0 100% 0.005 s
SystemUtilsTest$PlainUnitTests 21 0 0 1 95.2% 0.008 s
CommandReaderTest 6 0 0 0 100% 0.497 s

org.apache.maven.surefire.booter.spi

- Class Tests Errors Failures Skipped Success Rate Time
CommandChannelDecoderTest 16 0 0 0 100% 0.069 s
EventChannelEncoderTest 29 0 0 0 100% 0.611 s

Test Cases

[Summary] [Package List] [Test Cases]

PpidCheckerTest

shouldBeTypeNull 0.001 s
shouldBeTypePing 0.001 s
shouldBeEmptyDump 0.026 s
shouldHaveSystemPathToPowerShellOnWindows 0 s
- skipped -
shouldStartedProcessThrowInterruptedIOException 0.005 s
shouldStartedProcessThrowInterruptedException 0.004 s
shouldBeTypeAll 0.001 s
canExecuteUnixPs 0.001 s
shouldNotFindSuchPID 0.003 s
shouldHavePidAtBegin 0.030 s
shouldParseBusyboxHoursEtime 0.001 s
shouldHavePid 1.036 s
shouldBeStoppedCheckerWithError 0.023 s
shouldBeTypeNative 0 s
shouldBeException 0.001 s
shouldNotBeAlive 0.016 s
shouldNotBeValid 0 s
shouldStartedProcessThrowIOException 0.005 s
shouldParseEtime 0.001 s
shouldBeStopped 0.001 s

BooterDeserializerTest

testStartupConfiguration 0.015 s

ForkedBooterTest

testThreadDump 0.006 s
shouldGenerateThreadDump 0.001 s
testPropsNotExist 0 s
testPropsExist 0.015 s
testBarrier1 0.002 s
testBarrier2 0.001 s
shouldNotBeDebugMode 0.001 s
shouldReadSurefireProperties 0.007 s
shouldFindCurrentProcessName 0.002 s
testScheduler 0.001 s
shouldCreateScheduler 0 s
testIsDebug 0 s

CommandChannelDecoderTest

testDecoderRunClass 0.030 s
shouldIgnoreDamagedHeader 0 s
shouldNotDecodeCorruptedCommand 0.023 s
shouldIgnoreDamagedStream 0 s
shouldDecodeTwoCommands 0.001 s
testDecoderShutdownWithExit 0.002 s
testDecoderShutdownWithKill 0.001 s
testDecoderTestsetFinished 0.001 s
testIncompleteCommandStart 0.001 s
testIncompleteCommand 0.001 s
testDecoderByeAck 0.001 s
testBinaryCommandStream 0.002 s
testDecoderNoop 0 s
shouldSkipCorruptedCommand 0.001 s
testDecoderSkipSinceNextTest 0.001 s
testDecoderShutdownWithDefault 0 s

SystemUtilsTest$MockTest

shouldBeDifferentJdk9 0.421 s
shouldBeSameJdk9 0.001 s

ClasspathTest

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

PropertiesWrapperTest

testAddList 0.001 s
testWriteToProperties 0 s
testRoundtrip 0.001 s
testReadFromPropertiesWithEmptyProperties 0 s
testReadFromProperties 0 s

ForkedBooterMockTest

shouldCheckNewPingMechanism 0.668 s
testMain 0.030 s
testMainWithError 0.011 s
shouldNotCloseChannelProcessorFactory 0.002 s
shouldCloseChannelProcessorFactory 0.001 s
shouldFailOnCloseChannelProcessorFactory 0.003 s
shouldLookupLegacyDecoderFactory 0.021 s
shouldScheduleFlushes 0.762 s
shouldLookupSurefireDecoderFactory 0.017 s
shouldAuthenticate 0.022 s
testFlushEventChannelOnExit 0.029 s
shouldParseUUID 0.001 s
shouldNotParseUUID 0.001 s

SurefireReflectorTest

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

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.004 s

SystemUtilsTest$PlainUnitTests

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

CommandReaderTest

twoIterators 0.286 s
stopBeforeReadInThread 0.033 s
shouldAwaitReaderUp 0.021 s
readTwoClassesInThread 0.033 s
readJustOneClass 0.026 s
manyClasses 0.030 s

EventChannelEncoderTest

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

Failure Details

[Summary] [Package List] [Test Cases]


shouldHaveSystemPathToPowerShellOnWindows
- skipped: skipped
shouldBePidStatusOnBSD
- skipped: skipped