@PrepareForTest(value={org.apache.maven.surefire.booter.PpidChecker.class,org.apache.maven.surefire.booter.ForkedBooter.class,org.apache.maven.surefire.booter.spi.LegacyMasterProcessChannelEncoder.class,org.apache.maven.surefire.shared.utils.cli.ShutdownHookUtils.class}) @PowerMockIgnore(value={"org.jacoco.agent.rt.*","com.vladium.emma.rt.*"}) public class ForkedBooterMockTest extends Object
ForkedBooter
.Modifier and Type | Field and Description |
---|---|
org.junit.rules.ErrorCollector |
errorCollector |
Constructor and Description |
---|
ForkedBooterMockTest() |
Modifier and Type | Method and Description |
---|---|
void |
shouldCheckNewPingMechanism() |
void |
shouldCloseChannelProcessorFactory() |
void |
shouldFailOnCloseChannelProcessorFactory() |
void |
shouldLookupLegacyDecoderFactory() |
void |
shouldLookupSurefireDecoderFactory() |
void |
shouldNotCloseChannelProcessorFactory() |
void |
testFlushEventChannelOnExit() |
void |
testMain() |
void |
testMainWithError() |
public void shouldCheckNewPingMechanism() throws Exception
Exception
public void shouldNotCloseChannelProcessorFactory() throws Exception
Exception
public void shouldCloseChannelProcessorFactory() throws Exception
Exception
public void shouldFailOnCloseChannelProcessorFactory() throws Exception
Exception
public void shouldLookupLegacyDecoderFactory() throws Exception
Exception
public void shouldLookupSurefireDecoderFactory() throws Exception
Exception
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.