Class PpidCheckerTest

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

public class PpidCheckerTest extends Object
Testing PpidChecker on a platform.
Since:
2.20.1
Author:
Tibor Digana (tibor17)
  • Field Details

    • exceptions

      public final org.junit.rules.ExpectedException exceptions
    • tempFolder

      public final org.junit.rules.TemporaryFolder tempFolder
  • Constructor Details

    • PpidCheckerTest

      public PpidCheckerTest()
  • Method Details

    • initTmpFile

      public void initTmpFile()
    • deleteTmpFiles

      public void deleteTmpFiles()
    • canExecuteUnixPs

      public void canExecuteUnixPs()
    • shouldHavePidAtBegin

      public void shouldHavePidAtBegin()
    • shouldHavePid

      public void shouldHavePid() throws Exception
      Throws:
      Exception
    • shouldBeStopped

      public void shouldBeStopped()
    • shouldBeStoppedCheckerWithError

      public void shouldBeStoppedCheckerWithError() throws Exception
      Throws:
      Exception
    • shouldBeEmptyDump

      public void shouldBeEmptyDump() throws Exception
      Throws:
      Exception
    • shouldStartedProcessThrowInterruptedException

      public void shouldStartedProcessThrowInterruptedException() throws Exception
      Throws:
      Exception
    • shouldStartedProcessThrowInterruptedIOException

      public void shouldStartedProcessThrowInterruptedIOException() throws Exception
      Throws:
      Exception
    • shouldStartedProcessThrowIOException

      public void shouldStartedProcessThrowIOException() throws Exception
      Throws:
      Exception
    • shouldNotFindSuchPID

      public void shouldNotFindSuchPID()
    • shouldNotBeAlive

      public void shouldNotBeAlive()
    • shouldParseEtime

      public void shouldParseEtime()
    • shouldParseBusyboxHoursEtime

      public void shouldParseBusyboxHoursEtime()
    • shouldHaveSystemPathToWmicOnWindows

      public void shouldHaveSystemPathToWmicOnWindows() throws Exception
      Throws:
      Exception
    • shouldBeTypeNull

      public void shouldBeTypeNull()
    • shouldBeException

      public void shouldBeException()
    • shouldNotBeValid

      public void shouldNotBeValid()
    • shouldBeTypePing

      public void shouldBeTypePing()
    • shouldBeTypeNative

      public void shouldBeTypeNative()
    • shouldBeTypeAll

      public void shouldBeTypeAll()