Package org.apache.maven.surefire.booter
Class PpidCheckerTest
java.lang.Object
org.apache.maven.surefire.booter.PpidCheckerTest
Testing
PpidChecker
on a platform.- Since:
- 2.20.1
- Author:
- Tibor Digana (tibor17)
-
Field Summary
Modifier and TypeFieldDescriptionfinal org.junit.rules.ExpectedException
final org.junit.rules.TemporaryFolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
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
- Throws:
Exception
-
shouldBeStopped
public void shouldBeStopped() -
shouldBeStoppedCheckerWithError
- Throws:
Exception
-
shouldBeEmptyDump
- Throws:
Exception
-
shouldStartedProcessThrowInterruptedException
- Throws:
Exception
-
shouldStartedProcessThrowInterruptedIOException
- Throws:
Exception
-
shouldStartedProcessThrowIOException
- Throws:
Exception
-
shouldNotFindSuchPID
public void shouldNotFindSuchPID() -
shouldNotBeAlive
public void shouldNotBeAlive() -
shouldParseEtime
public void shouldParseEtime() -
shouldParseBusyboxHoursEtime
public void shouldParseBusyboxHoursEtime() -
shouldHaveSystemPathToWmicOnWindows
- 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()
-