Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
167 1 0 0 99.401% 8.924

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 1 0 0 99.18% 8.345
org.apache.maven.surefire.booter.spi 45 0 0 0 100% 0.579

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.94
PpidCheckerTest 20 0 0 0 100% 3.045
SystemUtilsTest$MockTest 2 0 0 0 100% 1.515
SystemUtilsTest$PlainUnitTests 22 0 0 0 100% 0.018
IsolatedClassLoaderTest 1 0 0 0 100% 0.01
ForkedBooterTest 12 1 0 0 91.667% 0.056
ForkedBooterMockTest 13 0 0 0 100% 2.704
BooterDeserializerTest 1 0 0 0 100% 0.007
ClasspathTest 15 0 0 0 100% 0.01
PropertiesWrapperTest 5 0 0 0 100% 0
SurefireReflectorTest 25 0 0 0 100% 0.04

org.apache.maven.surefire.booter.spi

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

Test Cases

[Summary] [Package List] [Test Cases]

CommandReaderTest

twoIterators 0.419
stopBeforeReadInThread 0.062
shouldAwaitReaderUp 0.061
readTwoClassesInThread 0.104
readJustOneClass 0.107
manyClasses 0.187

PpidCheckerTest

shouldBeTypeNull 0.308
shouldBeTypePing 0
shouldBeEmptyDump 0.326
shouldStartedProcessThrowInterruptedIOException 0.083
shouldStartedProcessThrowInterruptedException 0.068
shouldBeTypeAll 0
canExecuteUnixPs 0.012
shouldNotFindSuchPID 0.011
shouldHavePidAtBegin 0.401
shouldHaveSystemPathToWmicOnWindows 0.002
shouldParseBusyboxHoursEtime 0.001
shouldHavePid 1.475
shouldBeStoppedCheckerWithError 0.152
shouldBeTypeNative 0.002
shouldBeException 0.003
shouldNotBeAlive 0.156
shouldNotBeValid 0.001
shouldStartedProcessThrowIOException 0.041
shouldParseEtime 0.001
shouldBeStopped 0.002

SystemUtilsTest$MockTest

shouldBeSameJdk9 1.507
shouldBeDifferentJdk9 0.008

SystemUtilsTest$PlainUnitTests

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

IsolatedClassLoaderTest

shouldLoadIsolatedClass 0.01

ForkedBooterTest

testThreadDump 0.009
shouldGenerateThreadDump 0.002
testPropsNotExist 0
testPropsExist 0.025
testBarrier1 0.003
testBarrier2 0
shouldNotBeDebugMode 0
shouldReadSurefireProperties 0.013
Expecting value to be true but was false expected:<[tru]e> but was:<[fals]e>
shouldFindCurrentProcessName 0.001
testScheduler 0.003
shouldCreateScheduler 0
testIsDebug 0

ForkedBooterMockTest

shouldFailOnCloseChannelProcessorFactory 1.275
shouldNotCloseChannelProcessorFactory 0.003
shouldLookupSurefireDecoderFactory 0.383
shouldCloseChannelProcessorFactory 0.01
testMain 0.054
shouldParseUUID 0.002
testFlushEventChannelOnExit 0.134
shouldScheduleFlushes 0.782
testMainWithError 0.031
shouldCheckNewPingMechanism 0.004
shouldLookupLegacyDecoderFactory 0.013
shouldNotParseUUID 0.001
shouldAuthenticate 0.012

BooterDeserializerTest

testStartupConfiguration 0.007

ClasspathTest

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

PropertiesWrapperTest

testAddList 0
testWriteToProperties 0
testRoundtrip 0
testReadFromPropertiesWithEmptyProperties 0
testReadFromProperties 0

CommandChannelDecoderTest

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

EventChannelEncoderTest

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

SurefireReflectorTest

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

Failure Details

[Summary] [Package List] [Test Cases]


shouldReadSurefireProperties
org.junit.ComparisonFailure: Expecting value to be true but was false expected:<[tru]e> but was:<[fals]e>