Package frysk.testbed

This package exports methods that can be used when testing.

See:
          Description

Interface Summary
LocalMemory.StackBuilder Callback or builder describing the constructed stack.
 

Class Summary
CoredumpAction CoredumpAction Utility class to take a pid.
CoredumpAction.InterruptEvent Static class to define the behaviour of CoredumpAction on interrupt
CorefileFactory  
DaemonBlockedAtEntry Creates an attached process halted at it's entry point address (i.e., the program's first instruction).
DaemonBlockedAtEntry.ExecBlockingObserver  
DaemonBlockedAtSignal Creates an attached process that is blocked at a signal.
ExecCommand Create a command line for invoking funit-exec.
ExecCommand.Executable  
ExecOffspring Create a process running funit-exec as described by ExecCommand.
Fibonacci Compute the Fibonacci number of N.
ForkFactory Create a copy of this process running as a daemon.
FryskAsm The file "include/frysk-asm.h" describes a simple abstract load-store architecture implemented using native assembler.
FunitThreadsOffspring Create a program that contains a large number of threads.
FunitThreadsOffspring.Type  
IsaTestbed Return the ISA being used by the testbed.
LegacyOffspring XXX: Create a process running the funit-legacy program.
LocalMemory Provide access to known local areas of memory.
Offspring A generic test process created by this testbed.
OffspringType  
PidCounter Watch for events involving the specified PID process; count the number of events seen.
RegsCase A base class for test-cases that need to check all register values.
RegsCase.BigIntegerValue Compare the register against the BigInteger (the register is converted to an unsigned big integer using the native byte order).
RegsCase.ByteValue  
RegsCase.MaskedValue  
RegsCase.SymbolValue  
RegsCase.Value Possible register values;; package private.
RegsCase.Values Possible register values; package private.
SignalWaiter Installs signal-handlers for, and then runs the event loop until the specified set of signals have all been received.
SlaveOffspring Create a process running the funit slave (a.k.a., funit-child).
StatState Class for directly tracking /proc/$$/stat.
StatState.Probe  
StopEventLoopWhenProcTerminated An observer that stops the eventloop when the process with the given pid generates a terminated event.
SynchronizedOffspring Create an offspring that has synchronized with this test-framework using a signal.
TaskObserverBase A base class for implementing TaskObservers.
TaskSet A Task set.
TearDownExpect Framework for cleaning up temporary processes created as part of a test run.
TearDownFile A class for managing and manipulating a temporary file.
TearDownProcess Framework for cleaning up temporary processes created as part of a test run.
TestCorefileFactory  
TestDaemonBlockedAtSignal  
TestfileTokenScanner  
TestForkFactory  
TestFryskAsm frysk-asm.h provides a simple macro language for writing assembler; this class provides corresponding local definitions that match that assembler.
TestIsa Test IsaTestbed.
TestLib Utility for JUnit tests.
TestLocalMemory Check that LocalMemory addresses are pointing where expected.
TestRegs Sanity check of the RegsCase - that everything needed is present.
TestSignalWaiter Checks simple signal wait operation.
TestStatState Class for directly tracking /proc/$$/stat.
TestStopEventLoopWhenProcTerminates Test an observer that stops the eventloop when the process with the given pid terminates.
TestTearDownExpect  
TestTearDownFile  
TestTearDownProcess  
 

Package frysk.testbed Description

This package exports methods that can be used when testing.

Overview

The frysk.testbed package provides a collection of methods and classes that can be used to test frysk internals.