frysk.bindir
Class TestFstack

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.bindir.TestFstack
All Implemented Interfaces:
Test

public class TestFstack
extends TestLib

This performs a "sniff" test of Fstack, confirming basic functionality.


Field Summary
 
Fields inherited from class frysk.testbed.TestLib
host
 
Constructor Summary
TestFstack()
           
 
Method Summary
private  TearDownExpect fstack(String program, String[] args)
          Start FSTACK with both a core file and an executable; avoids problems with Linux's bone-head COREFILE format storing only the first 50 characters of the executable.
private  String getCanonicalRootSrcDir()
           
 void testBackTrace()
           
 void testBackTraceWithDebugNamesAndParams()
           
 void testBackTraceWithFullPath()
           
 void testBackTraceWithInline()
           
 void testBackTraceWithLite()
           
 void testBackTraceWithLocals()
           
 void testBackTraceWithNumberFrames0()
           
 void testBackTraceWithNumberFrames4()
           
 void testBackTraceWithNumberFrames5()
           
 void testBackTraceWithNumberFramesAll()
           
 void testBackTraceWithParams()
           
 void testBackTraceWithRich()
           
 void testBackTraceWithRichNumberOfFrames()
           
 void testBackTraceWithRichWithoutInline()
           
 
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

TestFstack

public TestFstack()
Method Detail

fstack

private TearDownExpect fstack(String program,
                              String[] args)
Start FSTACK with both a core file and an executable; avoids problems with Linux's bone-head COREFILE format storing only the first 50 characters of the executable.


getCanonicalRootSrcDir

private String getCanonicalRootSrcDir()

testBackTrace

public void testBackTrace()

testBackTraceWithDebugNamesAndParams

public void testBackTraceWithDebugNamesAndParams()

testBackTraceWithFullPath

public void testBackTraceWithFullPath()

testBackTraceWithInline

public void testBackTraceWithInline()

testBackTraceWithLocals

public void testBackTraceWithLocals()

testBackTraceWithParams

public void testBackTraceWithParams()

testBackTraceWithRich

public void testBackTraceWithRich()

testBackTraceWithRichWithoutInline

public void testBackTraceWithRichWithoutInline()

testBackTraceWithLite

public void testBackTraceWithLite()

testBackTraceWithNumberFrames5

public void testBackTraceWithNumberFrames5()

testBackTraceWithNumberFrames4

public void testBackTraceWithNumberFrames4()

testBackTraceWithNumberFrames0

public void testBackTraceWithNumberFrames0()

testBackTraceWithNumberFramesAll

public void testBackTraceWithNumberFramesAll()

testBackTraceWithRichNumberOfFrames

public void testBackTraceWithRichNumberOfFrames()