Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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

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.567
PpidCheckerTest 20 0 0 0 100% 1.354
SystemUtilsTest$MockTest 2 0 0 0 100% 1.289
SystemUtilsTest$PlainUnitTests 22 0 0 0 100% 0.01
IsolatedClassLoaderTest 1 0 0 0 100% 0.004
ForkedBooterTest 12 0 0 0 100% 0.047
ForkedBooterMockTest 13 0 0 0 100% 2.265
BooterDeserializerTest 1 0 0 0 100% 0.004
ClasspathTest 15 0 0 0 100% 0.003
PropertiesWrapperTest 5 0 0 0 100% 0
SurefireReflectorTest 25 0 0 0 100% 0.023

org.apache.maven.surefire.booter.spi

Class Tests Errors Failures Skipped Success Rate Time
CommandChannelDecoderTest 16 0 0 0 100% 0.026
EventChannelEncoderTest 29 0 0 0 100% 0.496

Test Cases

[Summary] [Package List] [Test Cases]

CommandReaderTest

twoIterators 0.335
stopBeforeReadInThread 0.039
shouldAwaitReaderUp 0.03
readTwoClassesInThread 0.056
readJustOneClass 0.061
manyClasses 0.046

PpidCheckerTest

shouldBeTypeNull 0.076
shouldBeTypePing 0.004
shouldBeEmptyDump 0.106
shouldStartedProcessThrowInterruptedIOException 0.023
shouldStartedProcessThrowInterruptedException 0.014
shouldBeTypeAll 0.001
canExecuteUnixPs 0.004
shouldNotFindSuchPID 0.007
shouldHavePidAtBegin 0.03
shouldHaveSystemPathToWmicOnWindows 0.001
shouldParseBusyboxHoursEtime 0.001
shouldHavePid 1.035
shouldBeStoppedCheckerWithError 0.019
shouldBeTypeNative 0
shouldBeException 0.001
shouldNotBeAlive 0.015
shouldNotBeValid 0
shouldStartedProcessThrowIOException 0.016
shouldParseEtime 0.001
shouldBeStopped 0

SystemUtilsTest$MockTest

shouldBeDifferentJdk9 1.283
shouldBeSameJdk9 0.006

SystemUtilsTest$PlainUnitTests

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

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.004

ForkedBooterTest

testThreadDump 0.009
shouldGenerateThreadDump 0.001
testPropsNotExist 0.001
testPropsExist 0.014
testBarrier1 0.002
testBarrier2 0.001
shouldNotBeDebugMode 0
shouldReadSurefireProperties 0.017
shouldFindCurrentProcessName 0
testScheduler 0.001
shouldCreateScheduler 0.001
testIsDebug 0

ForkedBooterMockTest

testMain 1.292
testMainWithError 0.032
shouldScheduleFlushes 0.801
shouldAuthenticate 0.038
shouldParseUUID 0.002
shouldNotParseUUID 0.001
shouldCheckNewPingMechanism 0.004
shouldNotCloseChannelProcessorFactory 0.001
shouldCloseChannelProcessorFactory 0.002
shouldFailOnCloseChannelProcessorFactory 0.004
shouldLookupLegacyDecoderFactory 0.036
shouldLookupSurefireDecoderFactory 0.006
testFlushEventChannelOnExit 0.046

BooterDeserializerTest

testStartupConfiguration 0.004

ClasspathTest

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

PropertiesWrapperTest

testAddList 0
testWriteToProperties 0
testRoundtrip 0
testReadFromPropertiesWithEmptyProperties 0
testReadFromProperties 0

CommandChannelDecoderTest

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

EventChannelEncoderTest

testAssumptionFailure 0.148
testStdErrStreamLn 0
testBye 0
testError 0.004
testConsoleWarning 0
testAcquireNextTest 0
testSendOpcode 0.002
reportEntry 0.032
testStdErrStream 0
testStdErrStreamEmptyMessageNullRunMode 0
testInterruptHandling 0
shouldHandleExit 0.001
shouldHandleExitWithTrimmedTrace 0.001
testStopOnNextTest 0
testConsoleErrorLog1 0.002
testConsoleErrorLog2 0.001
testConsoleErrorLog3 0
testSetCompleted 0.006
testFailed 0.002
testStdOutStream 0
testConsoleDebug 0
testConsoleError 0
testConsoleInfo 0
testSkipped 0.002
shouldCountSameNumberOfSystemProperties 0.291
testStdErrStreamEmptyMessageNullTestId 0
testStdOutStreamLn 0
testStarting 0.002
testSuccess 0.002

SurefireReflectorTest

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