frysk.hpd
Class TestKillCommand

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.hpd.TestLib
                      extended by frysk.hpd.TestKillCommand
All Implemented Interfaces:
Test

public class TestKillCommand
extends TestLib

This class tests the "kill" command basics.


Field Summary
 
Fields inherited from class frysk.hpd.TestLib
child, e, prompt
 
Fields inherited from class frysk.testbed.TestLib
host
 
Constructor Summary
TestKillCommand()
           
 
Method Summary
 void testKillByPID()
          Test killing of a single proc using the PID
 void testKillCommand()
           
 void testKillCommandTest()
           
 void testKillError()
          Test entering a non-integer as a PID
 void testKillErrorTwo()
          Test entering too many parameters
 void testKillHpd()
          Test kill using HPD notation ([1.0] kill)
 void testLoadKill()
          Test when all you have done is loaded/run the process and not have done a "go" on it.
 
Methods inherited from class frysk.hpd.TestLib
getChild, tearDown
 
Methods inherited from class frysk.testbed.TestLib
addToTearDown, addToTearDown, assertRunToFindProc, assertRunUntilStop, assertRunUntilStop, getExecPath, isChildOf, isChildOfMine, isDescendantOf, isDescendantOfMine, runPending, setUp
 
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
 

Constructor Detail

TestKillCommand

public TestKillCommand()
Method Detail

testKillCommand

public void testKillCommand()

testKillCommandTest

public void testKillCommandTest()

testLoadKill

public void testLoadKill()
Test when all you have done is loaded/run the process and not have done a "go" on it.


testKillByPID

public void testKillByPID()
Test killing of a single proc using the PID


testKillError

public void testKillError()
Test entering a non-integer as a PID


testKillErrorTwo

public void testKillErrorTwo()
Test entering too many parameters


testKillHpd

public void testKillHpd()
Test kill using HPD notation ([1.0] kill)