|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.testbed.Offspring frysk.testbed.SynchronizedOffspring frysk.testbed.LegacyOffspring
public class LegacyOffspring
XXX: Create a process running the funit-legacy program. Some tests require querks only implemented by that program.
Field Summary | |
---|---|
static Signal |
CHILD_ACK
|
static Signal |
PARENT_ACK
|
Fields inherited from class frysk.testbed.SynchronizedOffspring |
---|
START_ACK |
Method Summary | |
---|---|
LegacyOffspring |
assertSendAddClonesWaitForAcks(int count)
Add many Tasks; wait for acknowledgement. |
void |
assertSendAddCloneWaitForAcks()
Add a Task; wait for acknowledgement. |
void |
assertSendAddForkWaitForAcks()
Add a child Proc; wait for acknowledgement |
void |
assertSendDelCloneWaitForAcks()
Delete a Task. |
void |
assertSendDelForkWaitForAcks()
Delete a child Proc. |
void |
assertSendExecCloneWaitForAcks()
Request that the cloned task perform an exec. |
void |
assertSendExecWaitForAcks()
Request that the main task perform an exec; wait for the acknowledge. |
void |
assertSendFryParentWaitForAcks()
Kill the parent, expect an ack from the child (there had better be a child). |
void |
assertSendZombieForkWaitForAcks()
Terminate a fork Proc (creates zombie). |
static LegacyOffspring |
createAttachedChild()
Create an attached slave-process that is a child of this process. |
static LegacyOffspring |
createChild()
Create a slave-process that is a child of this process. |
static LegacyOffspring |
createDaemon()
Create a slave-process that is a child of this process. |
static LegacyOffspring |
createDaemon(boolean busy)
Create a slave-process that is a child of this process. |
static File |
getExecutable()
Return the program executable that will be run. |
void |
reap()
Reap the process.. |
Signal[] |
requestClone()
Request that a task be added. |
Signal[] |
requestExec()
Request that the main task perform an exec. |
Signal[] |
requestFork()
Request that a child Proc be added. |
Methods inherited from class frysk.testbed.SynchronizedOffspring |
---|
getPid |
Methods inherited from class frysk.testbed.Offspring |
---|
assertIs, assertRunToFindProc, assertRunUntil, assertSendStop, findTaskUsingRefresh, kill, signal |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Signal CHILD_ACK
public static final Signal PARENT_ACK
Method Detail |
---|
public void assertSendAddCloneWaitForAcks()
public Signal[] requestClone()
public LegacyOffspring assertSendAddClonesWaitForAcks(int count)
public void assertSendDelCloneWaitForAcks()
public void assertSendAddForkWaitForAcks()
public Signal[] requestFork()
public void assertSendDelForkWaitForAcks()
public void assertSendZombieForkWaitForAcks()
public void assertSendFryParentWaitForAcks()
public void assertSendExecWaitForAcks()
public Signal[] requestExec()
public void assertSendExecCloneWaitForAcks()
public void reap()
public static LegacyOffspring createChild()
public static LegacyOffspring createDaemon()
public static LegacyOffspring createDaemon(boolean busy)
public static LegacyOffspring createAttachedChild()
public static File getExecutable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |