frysk.proc
Class StressAttachDetachRapidlyForkingMainTask

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by frysk.junit.TestCase
              extended by frysk.testbed.TestLib
                  extended by frysk.proc.StressAttachDetachRapidlyForkingMainTask
All Implemented Interfaces:
Test

public class StressAttachDetachRapidlyForkingMainTask
extends TestLib

Check that the observer TaskObserver.Forked works.


Field Summary
private static Log fine
           
(package private) static int numberOfForks
           
(package private) static int numberOfForksResident
           
 
Fields inherited from class frysk.testbed.TestLib
host
 
Constructor Summary
StressAttachDetachRapidlyForkingMainTask()
           
 
Method Summary
 void testTaskForkedObserver()
          Test that the fork count from a sub-program that, in turn, creates lots and lots of sub-processes matches the expected.
 
Methods inherited from class frysk.testbed.TestLib
addToTearDown, addToTearDown, assertRunToFindProc, assertRunUntilStop, assertRunUntilStop, getExecPath, isChildOf, isChildOfMine, isDescendantOf, isDescendantOfMine, runPending, setUp, tearDown
 
Methods inherited from class frysk.junit.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, getTimeoutMilliseconds, getTimeoutSeconds, missing32or64, unresolved, unresolvedOffUtrace, unresolvedOn32On64, unresolvedOnIA32, unresolvedOnPPC, unresolvedOnUtrace, unresolvedOnx8664, unsupported
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fine

private static final Log fine

numberOfForks

static int numberOfForks

numberOfForksResident

static int numberOfForksResident
Constructor Detail

StressAttachDetachRapidlyForkingMainTask

public StressAttachDetachRapidlyForkingMainTask()
Method Detail

testTaskForkedObserver

public void testTaskForkedObserver()
Test that the fork count from a sub-program that, in turn, creates lots and lots of sub-processes matches the expected.