frysk.debuginfo
Class TestAddress

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.debuginfo.TestAddress
All Implemented Interfaces:
Test

public class TestAddress
extends TestLib


Field Summary
 
Fields inherited from class frysk.testbed.TestLib
host
 
Constructor Summary
TestAddress()
           
 
Method Summary
private  Task getStoppedTask()
           
private  Task getStoppedTask(String process)
           
private  void testAddress(String variable, String address)
          Function that checks if a variable's location is evaluated correctly.
 void testAddrGlobalChar()
           
 void testAddrStaticInt()
           
 void testAddrVolatileInt()
           
 
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
 

Constructor Detail

TestAddress

public TestAddress()
Method Detail

testAddrStaticInt

public void testAddrStaticInt()
                       throws NameNotFoundException
Throws:
NameNotFoundException

testAddrVolatileInt

public void testAddrVolatileInt()
                         throws NameNotFoundException
Throws:
NameNotFoundException

testAddrGlobalChar

public void testAddrGlobalChar()
                        throws NameNotFoundException
Throws:
NameNotFoundException

testAddress

private void testAddress(String variable,
                         String address)
                  throws NameNotFoundException
Function that checks if a variable's location is evaluated correctly.

Parameters:
variable - - Variable name whose location is to be evaluated
address - - Variable name that contains the actual address of the variable
Throws:
NameNotFoundException

getStoppedTask

private Task getStoppedTask()

getStoppedTask

private Task getStoppedTask(String process)