Class ForkedBooterMockTest

java.lang.Object
org.apache.maven.surefire.booter.ForkedBooterMockTest

@PrepareForTest({org.apache.maven.surefire.booter.PpidChecker.class,org.apache.maven.surefire.booter.ForkedBooter.class,org.apache.maven.surefire.booter.spi.EventChannelEncoder.class,org.apache.maven.surefire.shared.utils.cli.ShutdownHookUtils.class}) @PowerMockIgnore({"org.jacoco.agent.rt.*","com.vladium.emma.rt.*"}) public class ForkedBooterMockTest extends Object
PowerMock tests for ForkedBooter.
  • Field Details

    • errorCollector

      public final org.junit.rules.ErrorCollector errorCollector
  • Constructor Details

    • ForkedBooterMockTest

      public ForkedBooterMockTest()
  • Method Details

    • shouldCheckNewPingMechanism

      public void shouldCheckNewPingMechanism() throws Exception
      Throws:
      Exception
    • testMain

      public void testMain() throws Exception
      Throws:
      Exception
    • testMainWithError

      public void testMainWithError() throws Exception
      Throws:
      Exception
    • shouldNotCloseChannelProcessorFactory

      public void shouldNotCloseChannelProcessorFactory() throws Exception
      Throws:
      Exception
    • shouldCloseChannelProcessorFactory

      public void shouldCloseChannelProcessorFactory() throws Exception
      Throws:
      Exception
    • shouldFailOnCloseChannelProcessorFactory

      public void shouldFailOnCloseChannelProcessorFactory() throws Exception
      Throws:
      Exception
    • shouldLookupLegacyDecoderFactory

      public void shouldLookupLegacyDecoderFactory() throws Exception
      Throws:
      Exception
    • shouldScheduleFlushes

      public void shouldScheduleFlushes() throws Exception
      Throws:
      Exception
    • shouldLookupSurefireDecoderFactory

      public void shouldLookupSurefireDecoderFactory() throws Exception
      Throws:
      Exception
    • shouldAuthenticate

      public void shouldAuthenticate() throws Exception
      Throws:
      Exception
    • testFlushEventChannelOnExit

      public void testFlushEventChannelOnExit() throws Exception
      Throws:
      Exception
    • shouldParseUUID

      public void shouldParseUUID() throws Exception
      Throws:
      Exception
    • shouldNotParseUUID

      public void shouldNotParseUUID() throws Exception
      Throws:
      Exception