|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.testbed.Offspring
public abstract class Offspring
A generic test process created by this testbed.
Method Summary | |
---|---|
void |
assertIs(StatState state)
The Offspring's main thread is in (or transitions to) the specified state. |
Proc |
assertRunToFindProc()
Find/return the child's Proc by running the event-loop. |
void |
assertRunUntil(StatState state)
Run the event-loop until the offspring's main thread is in the specified state. |
void |
assertSendStop()
Stop a Task with a SIGSTOP and then wait until it has stopped.. |
Task |
findTaskUsingRefresh(boolean mainTask)
Find the child's Proc's main or non-main Task, polling /proc if necessary. |
abstract ProcessIdentifier |
getPid()
Return the process's system identifier. |
boolean |
kill()
Attempt to kill the child. |
void |
signal(Signal sig)
Send the child the sig. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract ProcessIdentifier getPid()
public void signal(Signal sig)
public boolean kill()
public Proc assertRunToFindProc()
public Task findTaskUsingRefresh(boolean mainTask)
public void assertIs(StatState state)
public void assertRunUntil(StatState state)
public void assertSendStop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |