Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
A
abort()
- Method in class org.quilt.cl.
ClassTransformer
Abort the class transformation.
above(Directed)
- Method in class org.quilt.graph.
Vertex
Is the graph a parent, grandparent of this vertex?
add(CodeVertex)
- Method in class org.quilt.cl.
SortedBlocks
Add a vertex at its bytecode position.
add(int, Edge)
- Method in class org.quilt.cl.
SortedBlocks
Add a vertex at bytecode offset pos along edge e.
add(Segment)
- Method in class org.quilt.cover.seg.
Segment
Add the visit count from another segment.
addBatchTest(BatchTest)
- Method in class org.quilt.frontend.ant.
Scheduler
Ant-compatible method for adding a batch test.
addClasspathEntry(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
addClassXformer(ClassXformer)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a class transformer.
addDelegated(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a class name prefix to the list of those to be delegated to the parent.
addEnv(Environment.Variable)
- Method in class org.quilt.frontend.ant.
TaskControl
addEnv(Environment.Variable)
- Method in class org.quilt.frontend.ant.
QuiltTask
addError(Test, Throwable)
- Method in class org.quilt.reports.
XMLFormatter
Method called when an unexpected error occurs.
addError(Test, Throwable)
- Method in class org.quilt.reports.
SummaryFormatter
An unexpected error occurred.
addError(Test, Throwable)
- Method in class org.quilt.reports.
PlainFormatter
addError(Test, Throwable)
- Method in class org.quilt.reports.
BriefFormatter
A test caused an unexpected error.
addError(Test, Throwable)
- Method in class org.quilt.reports.
BaseFormatter
A test caused an unexpected error.
addError(Test, Throwable)
- Method in class org.quilt.runner.
BaseTestRunner
An unexpected error occurred.
addError(Test, Throwable)
- Method in class org.quilt.runner.
Runner
An unexpected error has occurred.
addExcluded(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a class name prefix to the list of those to be excluded from instrumentation.
addFailure(Test, AssertionFailedError)
- Method in class org.quilt.reports.
XMLFormatter
Method called when a failure (or unexpected error) occurs.
addFailure(Test, AssertionFailedError)
- Method in class org.quilt.reports.
SummaryFormatter
A failure occurred.
addFailure(Test, AssertionFailedError)
- Method in class org.quilt.reports.
PlainFormatter
addFailure(Test, AssertionFailedError)
- Method in class org.quilt.reports.
BriefFormatter
A test failed - overrides BasicFormattter method.
addFailure(Test, AssertionFailedError)
- Method in class org.quilt.reports.
BaseFormatter
A test failed.
addFailure(Test, AssertionFailedError)
- Method in class org.quilt.runner.
BaseTestRunner
A test failure (or error) has occurred.
addFailure(Test, AssertionFailedError)
- Method in class org.quilt.runner.
Runner
A failure (or error) has occurred.
addFailure(Test, Throwable)
- Method in class org.quilt.reports.
XMLFormatter
Method called when a failure (or unexpected error) occurs.
addFailure(Test, Throwable)
- Method in class org.quilt.reports.
SummaryFormatter
A failure occurred.
addFailure(Test, Throwable)
- Method in class org.quilt.reports.
PlainFormatter
addFailure(Test, Throwable)
- Method in class org.quilt.reports.
BriefFormatter
A test failed - overrides BasicFormattter method.
addFailure(Test, Throwable)
- Method in class org.quilt.reports.
BaseFormatter
A test failed.
addFailure(Test, Throwable)
- Method in class org.quilt.runner.
BaseTestRunner
A test failure (or error) has occurred.
addFailure(Test, Throwable)
- Method in class org.quilt.runner.
Runner
A failure (or error) has occurred.
addFileSet(FileSet)
- Method in class org.quilt.frontend.ant.
BatchTest
Method used by Ant to add filesets.
addFormatter(FmtSelector)
- Method in class org.quilt.framework.
QuiltTest
addFormatter(FmtSelector)
- Method in class org.quilt.frontend.ant.
TaskControl
addFormatter(FmtSelector)
- Method in class org.quilt.frontend.ant.
QuiltTask
addFormatter(Formatter)
- Method in class org.quilt.runner.
BaseTestRunner
Add a result formatter
addFormatter(Formatter)
- Method in class org.quilt.runner.
Runner
Add a result formatter.
addFormattersTo(Vector)
- Method in class org.quilt.framework.
QuiltTest
Add this test's formatters to a vector.
addGraphXformer(GraphXformer)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a graph transformer.
addIncluded(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a class name prefix to the list of those to be instrumented.
addMethodXformer(MethodXformer)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a method transformer.
addPath(URL)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a path to the class loader's classpath.
addQuiltRegistry(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Add a new QuiltRegistry to the list.
addSysproperty(Environment.Variable)
- Method in class org.quilt.frontend.ant.
TaskControl
addSysproperty(Environment.Variable)
- Method in class org.quilt.frontend.ant.
QuiltTask
addTest(QuiltTest)
- Method in class org.quilt.frontend.ant.
TaskControl
addTest(QuiltTest)
- Method in class org.quilt.frontend.ant.
QuiltTask
addTest(QuiltTest)
- Method in class org.quilt.frontend.ant.
Scheduler
Ant-compatible method for adding test to queue.
anotherEdge(Edge)
- Method in class org.quilt.graph.
Directed
Step edge count.
anotherVertex(Vertex)
- Method in class org.quilt.graph.
Directed
Step count of vertices .
asBoolean()
- Method in class org.quilt.frontend.ant.
SummaryAttribute
B
banner(String)
- Method in class org.quilt.runner.
Msg
bannerAnd(String, String)
- Method in class org.quilt.runner.
Msg
BaseFormatter
- class org.quilt.reports.
BaseFormatter
.
Basic test result formatter for Ant/Quilt/JUnit.
BaseFormatter()
- Constructor for class org.quilt.reports.
BaseFormatter
BaseTestRunner
- class org.quilt.runner.
BaseTestRunner
.
Stand-along Quilt test runner, fully compatible with Ant's JUnit options.
BaseTestRunner(QuiltTest)
- Constructor for class org.quilt.runner.
BaseTestRunner
Constructor used by command line test runner.
BaseTestRunner(QuiltTest, ClassLoader)
- Constructor for class org.quilt.runner.
BaseTestRunner
Constructor used when not using Quilt class loader.
BatchTest
- class org.quilt.frontend.ant.
BatchTest
.
Stores Ant filesets and convert them to QuiltTests.
BatchTest(Project)
- Constructor for class org.quilt.frontend.ant.
BatchTest
One-arg constructor.
bigBanner(String)
- Method in class org.quilt.runner.
Msg
BinaryConnector
- class org.quilt.graph.
BinaryConnector
.
A Connector holding two edges.
BinaryConnector(Connector, Edge)
- Constructor for class org.quilt.graph.
BinaryConnector
BinaryConnector(Edge, Edge)
- Constructor for class org.quilt.graph.
BinaryConnector
BRANCH_COVERAGE
- Static variable in interface org.quilt.cover.
CoverageTypes
BriefFormatter
- class org.quilt.reports.
BriefFormatter
.
BriefFormatter()
- Constructor for class org.quilt.reports.
BriefFormatter
No-arg constructor.
BytecodeCollector
- class org.quilt.cl.
BytecodeCollector
.
Collects the bytecode for a method while walking the method control flow graph.
BytecodeCollector()
- Constructor for class org.quilt.cl.
BytecodeCollector
No-arg constructor.
C
CallTest
- class org.quilt.frontend.ant.
CallTest
.
Handles an individual QuiltTest suite by directly calling it rather than forking it.
CallTest()
- Constructor for class org.quilt.frontend.ant.
CallTest
No-arg constructor.
CatchData
- class org.quilt.cl.
CatchData
.
Data structure describing an exception handler.
CatchData(Vertex, Vertex, Vertex, ObjectType)
- Constructor for class org.quilt.cl.
CatchData
The information needed to set up an exception handler.
checkForNull(Object, String)
- Static method in class org.quilt.graph.
Edge
checkForNull(Object, String)
- Static method in class org.quilt.graph.
Directed
checkForNull(Object, String)
- Static method in class org.quilt.graph.
Vertex
Throw an exception if the argument is null.
ClassAction
- class org.quilt.cover.stmt.
ClassAction
.
Add instrumentation at the class level, creating <clinit> if necessary.
ClassAction()
- Constructor for class org.quilt.cover.stmt.
ClassAction
ClassAction(StmtRegistry)
- Constructor for class org.quilt.cover.stmt.
ClassAction
ClassFactory
- class org.quilt.cl.
ClassFactory
.
Class synthesizer.
classFileName(String)
- Static method in class org.quilt.cl.
QuiltClassLoader
Convert a class name into a file name by replacing dots with forward slashes and appending ".class".
CLASSPATH_DELIM_CHAR
- Static variable in class org.quilt.cl.
QuiltClassLoader
CLASSPATH_DELIM_STR
- Static variable in class org.quilt.cl.
QuiltClassLoader
ClassTransformer
- class org.quilt.cl.
ClassTransformer
.
Transform a JavaClass, if there are any class, method, or graph transformers.
ClassTransformer(List, List, List)
- Constructor for class org.quilt.cl.
ClassTransformer
Creates class transformer and lower-level transformers.
ClassXformer
- interface org.quilt.cl.
ClassXformer
.
Application-specific pre- and post-processors for Quilt classes.
clear()
- Method in class org.quilt.reg.
Registry
Remove all elements from the registry.
clone()
- Method in class org.quilt.framework.
QuiltTest
Clones, resetting the error/failure/run counts and runTime to zero.
clone()
- Method in class org.quilt.frontend.ant.
TaskControl
closestEntry(Directed)
- Method in class org.quilt.graph.
Directed
If the edge points towards a vertex in a graph which is enclosed within the current graph, return a reference to the closest Entry.
CodeVertex
- class org.quilt.cl.
CodeVertex
.
A Vertex extended to carry the initial bytecode offset, line number, and an instruction list.
CodeVertex(ControlFlowGraph)
- Constructor for class org.quilt.cl.
CodeVertex
Create a code vertex with default bytecode offset, line number, empty instruction list, and no label.
CodeVertex(ControlFlowGraph, int)
- Constructor for class org.quilt.cl.
CodeVertex
Create a code vertex, specifying a non-negative bytecode offset.
CodeVertex(ControlFlowGraph, String)
- Constructor for class org.quilt.cl.
CodeVertex
Create a code vertex, specifying a label
collapseGraph(ControlFlowGraph)
- Method in class org.quilt.cl.
GraphTransformer
Collapse a method control flow graph, writing bytecode back into the MethodGen data structures.
ComplexConnector
- class org.quilt.graph.
ComplexConnector
.
A Connector holding a single edge plus a fixed size array of edges.
ComplexConnector(Connector, int)
- Constructor for class org.quilt.graph.
ComplexConnector
ComplexConnector(Edge, int)
- Constructor for class org.quilt.graph.
ComplexConnector
Constructor for a Connector with a single edge plus a fixed-size array of edges.
connector
- Variable in class org.quilt.graph.
Vertex
Connects this vertex to one or more other vertices.
Connector
- class org.quilt.graph.
Connector
.
Connector holding one or more edges.
Connector()
- Constructor for class org.quilt.graph.
Connector
connectSubgraph(Directed, Edge, int)
- Static method in class org.quilt.graph.
Directed
Inserts a subgraph into an edge, putting the entry and exit points on the edge presented.
connInst_
- Variable in class org.quilt.cl.
CodeVertex
Instruction connecting this vertex to other(s).
containsKey(String[])
- Method in class org.quilt.reg.
Registry
ControlFlowGraph
- class org.quilt.cl.
ControlFlowGraph
.
Directed graph extended for use in analyzing method instruction lists.
ControlFlowGraph()
- Constructor for class org.quilt.cl.
ControlFlowGraph
Create a new top level control flow graph.
ControlFlowGraph(ControlFlowGraph)
- Constructor for class org.quilt.cl.
ControlFlowGraph
Create a control flow graph without connecting it to this parent graph but sharing protected data structures.
CounterVertex
- class org.quilt.cover.stmt.
CounterVertex
.
A CodeVertex which carries counter instrumentation and a label.
CounterVertex(ControlFlowGraph)
- Constructor for class org.quilt.cover.stmt.
CounterVertex
Create a code vertex with default bytecode offset, line number, empty instruction list, and no label.
CounterVertex(ControlFlowGraph, String)
- Constructor for class org.quilt.cover.stmt.
CounterVertex
Create a counter vertex, specifying a label
CoverageTypes
- interface org.quilt.cover.
CoverageTypes
.
String constants defining coverage types.
cpToURLs(String)
- Static method in class org.quilt.cl.
QuiltClassLoader
Convert classpath in normal form to URL[]
createBatchTest()
- Method in class org.quilt.frontend.ant.
QuiltTask
createClasspath()
- Method in class org.quilt.frontend.ant.
TaskControl
createClasspath()
- Method in class org.quilt.frontend.ant.
QuiltTask
createFormatter()
- Method in class org.quilt.reports.
FmtSelector
Ant-compatible method for creating formatters.
createJvmarg()
- Method in class org.quilt.frontend.ant.
TaskControl
createJvmarg()
- Method in class org.quilt.frontend.ant.
QuiltTask
cxf
- Variable in class org.quilt.reg.
QuiltRegistry
List of class transformers associated with this registry.
D
DEFAULT_TRACE_FILTERS
- Static variable in interface org.quilt.runner.
RunnerConst
Lines containing these substrings will be filtered if filtertrace == true
DELEGATED
- Static variable in class org.quilt.cl.
QuiltClassLoader
Names of classes which must be loaded by the parent.
Directed
- class org.quilt.graph.
Directed
.
A graph consisting of vertices connected by directed, weighted edges.
Directed()
- Constructor for class org.quilt.graph.
Directed
Builds a root directed graph with two vertices and two edges.
Directed(Directed)
- Constructor for class org.quilt.graph.
Directed
Subgraph constructor; will have depth one more than parent.
discoverEdge(Edge)
- Method in interface org.quilt.graph.
Visitor
Called when initially visiting edge.
discoverEdge(Edge)
- Method in class org.quilt.cl.
GraphTalker
discoverEdge(Edge)
- Method in class org.quilt.cl.
BytecodeCollector
Action taken upon first encountering an edge.
discoverGraph(Directed)
- Method in interface org.quilt.graph.
Visitor
Called at beginning of visiting a graph or subgraph.
discoverGraph(Directed)
- Method in class org.quilt.cl.
GraphTalker
discoverGraph(Directed)
- Method in class org.quilt.cl.
BytecodeCollector
Action taken upon beginning to visit the graph.
discoverVertex(Vertex)
- Method in interface org.quilt.graph.
Visitor
Called when beginning visit to vertex.
discoverVertex(Vertex)
- Method in class org.quilt.cl.
GraphTalker
discoverVertex(Vertex)
- Method in class org.quilt.cl.
BytecodeCollector
Action taken upon beginning to visit a graph vertex.
domainToFileName(String)
- Static method in class org.quilt.cl.
QuiltClassLoader
Convert a dotted domain name to its path form, allowing for leading ./ and ../ and terminating .jar
E
Edge
- class org.quilt.graph.
Edge
.
An edge in a Quilt graph.
Edge(Edge)
- Constructor for class org.quilt.graph.
Edge
Copy constructor.
Edge(Vertex, Vertex)
- Constructor for class org.quilt.graph.
Edge
An edge in a directed graph.
endHandles
- Variable in class org.quilt.cl.
ControlFlowGraph
Key code vertex, value handle on last instruction.
endLine_
- Variable in class org.quilt.cl.
CodeVertex
Line number in source code corresponding to the connecting instruction, or if there is no such instruction, to the last instruction in the block
endTest(Test)
- Method in class org.quilt.reports.
XMLFormatter
Method called when a JUnit test ends.
endTest(Test)
- Method in class org.quilt.reports.
SummaryFormatter
Called at end of JUnit test.
endTest(Test)
- Method in class org.quilt.reports.
PlainFormatter
endTest(Test)
- Method in class org.quilt.reports.
BaseFormatter
Method called at end of test.
endTest(Test)
- Method in class org.quilt.runner.
BaseTestRunner
Called at end of test suite.
endTest(Test)
- Method in class org.quilt.runner.
Runner
Method called at end of individual test run.
endTestSuite(QuiltTest)
- Method in class org.quilt.reports.
XMLFormatter
Method called at end of test run.
endTestSuite(QuiltTest)
- Method in class org.quilt.reports.
SummaryFormatter
Called at the end of the Ant/Quilt test run.
endTestSuite(QuiltTest)
- Method in class org.quilt.reports.
PlainFormatter
endTestSuite(QuiltTest)
- Method in class org.quilt.reports.
BriefFormatter
End the test suite: overrides basic mehod.
endTestSuite(QuiltTest)
- Method in class org.quilt.reports.
BaseFormatter
Called at end of Quilt/JUnit test run.
endTestSuite(QuiltTest)
- Method in interface org.quilt.reports.
Formatter
Called at end of test suite run.
Entry
- class org.quilt.graph.
Entry
.
The entry vertex in a directed graph.
Entry(Directed)
- Constructor for class org.quilt.graph.
Entry
equals(TaskControl)
- Method in class org.quilt.frontend.ant.
TaskControl
errorCount()
- Method in class org.quilt.framework.
QuiltTest
ERRORS
- Static variable in interface org.quilt.runner.
RunnerConst
An unexpected error occurred.
exception
- Variable in class org.quilt.cl.
CatchData
Type of exception handled.
execTest(QuiltTest, TaskControl)
- Method in class org.quilt.frontend.ant.
CallTest
Run the test suite in this Java virtual machine.
execTest(QuiltTest, TaskControl, ExecuteWatchdog)
- Method in class org.quilt.frontend.ant.
ForkTest
Fork an individual test, running it in a separate Java virtual machine.
execute()
- Method in class org.quilt.frontend.ant.
QuiltTask
execute(QuiltTest, TaskControl)
- Method in class org.quilt.frontend.ant.
TestExec
Run an individual test, in a separate JVM if appropriate.
exists(int)
- Method in class org.quilt.cl.
SortedBlocks
Does a vertex exist with this bytecode offset?
Exit
- class org.quilt.graph.
Exit
.
An exit vertex in a directed graph.
Exit(Directed)
- Constructor for class org.quilt.graph.
Exit
Constructor for the exit vertex for a Quilt directed graph.
F
failureCount()
- Method in class org.quilt.framework.
QuiltTest
FAILURES
- Static variable in interface org.quilt.runner.
RunnerConst
One or more tests failed (or an error occurred).
FILE_PATH_DELIM_CHAR
- Static variable in class org.quilt.cl.
QuiltClassLoader
Operating system specific
FILE_PATH_DELIM_STR
- Static variable in class org.quilt.cl.
QuiltClassLoader
filterStack(String, boolean)
- Static method in class org.quilt.runner.
Runner
Filters stack traces from Ant, Quilt, and JUnit classes.
filtertrace
- Variable in class org.quilt.reports.
BaseFormatter
find(int, ControlFlowGraph, Edge)
- Method in class org.quilt.cl.
SortedBlocks
Find or create a code vertex starting at a given position.
findClass(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Locate the class whose name is passed and define it.
finishEdge(Edge)
- Method in interface org.quilt.graph.
Visitor
Called at end of visit to edge.
finishEdge(Edge)
- Method in class org.quilt.cl.
GraphTalker
finishEdge(Edge)
- Method in class org.quilt.cl.
BytecodeCollector
Action taken before departing an edge.
finishGraph(Directed)
- Method in interface org.quilt.graph.
Visitor
Called at end of visiting a graph or subgraph.
finishGraph(Directed)
- Method in class org.quilt.cl.
GraphTalker
finishGraph(Directed)
- Method in class org.quilt.cl.
BytecodeCollector
Finish the graph.
finishVertex(Vertex)
- Method in interface org.quilt.graph.
Visitor
Called at end of vertex visit.
finishVertex(Vertex)
- Method in class org.quilt.cl.
GraphTalker
finishVertex(Vertex)
- Method in class org.quilt.cl.
BytecodeCollector
Action taken before leaving a vertex in the graph.
FmtSelector
- class org.quilt.reports.
FmtSelector
.
FmtSelector()
- Constructor for class org.quilt.reports.
FmtSelector
ForkTest
- class org.quilt.frontend.ant.
ForkTest
.
Run an individual test in a separate JVM.
ForkTest()
- Constructor for class org.quilt.frontend.ant.
ForkTest
No-arg constructor.
Formatter
- interface org.quilt.reports.
Formatter
.
Interface presented by all Ant/Quilt-compatible test result formatters.
G
get(int)
- Method in class org.quilt.cl.
SortedBlocks
Find the code vertex starting at a given bytecode offset.
get(String[])
- Method in class org.quilt.reg.
Registry
Get an object from the registry.
getAntRuntimeClasses()
- Method in class org.quilt.frontend.ant.
TaskControl
getCatchData()
- Method in class org.quilt.cl.
TryStacks
Return an array of CatchData, with vertices for the beginning and end of the try block, a vertex for the handler, and the exception handled.
getCEGs(CatchData[])
- Method in class org.quilt.cl.
BytecodeCollector
Given an array of exception handler descriptions, return an array of CodeExceptionGen.
getCheckCoverage()
- Method in class org.quilt.framework.
QuiltTest
getCheckExcludes()
- Method in class org.quilt.framework.
QuiltTest
getCheckExcludesArray()
- Method in class org.quilt.framework.
QuiltTest
getCheckIncludes()
- Method in class org.quilt.framework.
QuiltTest
getCheckIncludesArray()
- Method in class org.quilt.framework.
QuiltTest
getClassData(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Find a class along the class path and load it as a byte array.
getClassHash()
- Method in class org.quilt.cl.
ClassTransformer
getClassID(String)
- Method in class org.quilt.cover.stmt.
StmtRegistry
getClassname()
- Method in class org.quilt.reports.
FmtSelector
getClassPath()
- Method in class org.quilt.cl.
QuiltClassLoader
getCommandline()
- Method in class org.quilt.frontend.ant.
TaskControl
getComparator()
- Method in class org.quilt.cl.
TryStacks
Return the class TryStack uses to sort exception handlers.
getConnector()
- Method in class org.quilt.graph.
Exit
Get the connection, back to the entry vertex in a top-level graph.
getConnector()
- Method in class org.quilt.graph.
Vertex
getConnector()
- Method in class org.quilt.graph.
Entry
getConnInst()
- Method in class org.quilt.cl.
CodeVertex
Get connecting instruction.
getCounts(String)
- Method in class org.quilt.cover.stmt.
StmtRegistry
Get a reference to the hit count array for a class.
getDelegated()
- Method in class org.quilt.cl.
QuiltClassLoader
getDepth()
- Method in class org.quilt.graph.
Directed
getDir()
- Method in class org.quilt.frontend.ant.
TaskControl
getEdge()
- Method in class org.quilt.graph.
BinaryConnector
Get the preferred edge.
getEdge()
- Method in class org.quilt.graph.
UnaryConnector
Get the edge.
getEdge()
- Method in class org.quilt.graph.
Exit
Get the outgoing edge.
getEdge()
- Method in class org.quilt.graph.
MultiConnector
getEdge()
- Method in class org.quilt.graph.
ComplexConnector
Get the single edge.
getEdge()
- Method in class org.quilt.graph.
Connector
Get the outgoing edge.
getEdge()
- Method in class org.quilt.graph.
Vertex
getEdge()
- Method in class org.quilt.graph.
Entry
getEdge(int)
- Method in class org.quilt.graph.
MultiConnector
getEdge(int)
- Method in class org.quilt.graph.
ComplexConnector
Get the Nth edge from the array.
getEndHandles()
- Method in class org.quilt.cl.
ControlFlowGraph
Get a reference to the map of handles on last instructions.
getEndLine()
- Method in class org.quilt.cl.
CodeVertex
Get the line number in source code corresponding to the connecting instruction or last instruction in the block.
getEntry()
- Method in class org.quilt.graph.
Directed
getEnv()
- Method in class org.quilt.frontend.ant.
TaskControl
getErrorProperty()
- Method in class org.quilt.framework.
QuiltTest
getExceptionHandlers()
- Method in class org.quilt.cl.
GraphTransformer
Returns array of exception handlers, empty if the instruction list was null or there were no exception handlers.
getExcluded()
- Method in class org.quilt.cl.
QuiltClassLoader
getExit()
- Method in class org.quilt.graph.
Directed
getExtension()
- Method in class org.quilt.reports.
FmtSelector
Get the extension of the formatter output file.
getFailureProperty()
- Method in class org.quilt.framework.
QuiltTest
getFilteredTrace(Throwable, boolean)
- Static method in class org.quilt.runner.
Runner
getFiltertrace()
- Method in class org.quilt.framework.
QuiltTest
getFork()
- Method in class org.quilt.framework.
QuiltTest
getFormatters()
- Method in class org.quilt.framework.
QuiltTest
getFormatters()
- Method in class org.quilt.frontend.ant.
TaskControl
getFrom()
- Method in class org.quilt.cover.seg.
Segment
Get the 'from' value.
getGotoFixMeUps()
- Method in class org.quilt.cl.
ControlFlowGraph
Get a reference to the source/target vertex map where the connecting instruction is a GotoInstruction.
getGraph()
- Method in class org.quilt.graph.
Edge
getGraph()
- Method in class org.quilt.graph.
Vertex
Get the graph this vertex is in.
getHaltOnError()
- Method in class org.quilt.framework.
QuiltTest
getHaltOnFailure()
- Method in class org.quilt.framework.
QuiltTest
getIfProperty()
- Method in class org.quilt.framework.
QuiltTest
getIncludeAntRuntime()
- Method in class org.quilt.frontend.ant.
TaskControl
getIncluded()
- Method in class org.quilt.cl.
QuiltClassLoader
getIndex()
- Method in class org.quilt.graph.
Directed
getIndex()
- Method in class org.quilt.graph.
Vertex
getIndex()
- Method in class org.quilt.cover.seg.
Segment
Get the (ideally unique) index of the segment.
getInstance()
- Static method in class org.quilt.cl.
ClassFactory
Use this method to get to the ClassFactory singleton.
getInstance()
- Static method in class org.quilt.cover.stmt.
StmtRegistry
Returns a reference to the latest instance to announce itself.
getInstructionList()
- Method in class org.quilt.cl.
BytecodeCollector
Get the instruction list after completing walking the graph, that is, after calling visit.
getInstructionList()
- Method in class org.quilt.cl.
CodeVertex
Get a reference to the InstructionList carried by the vertex.
getInstructionList()
- Method in class org.quilt.cl.
ControlFlowGraph
Get a reference to the instruction list built while walking the graph.
getLabel()
- Method in class org.quilt.graph.
Vertex
getLoader()
- Method in class org.quilt.frontend.ant.
TaskControl
getMethodHash()
- Method in class org.quilt.cl.
MethodTransformer
Get a reference to the hash used to share data between this and other transformers.
getMockExec()
- Method in class org.quilt.frontend.ant.
TaskControl
getMockTestRun()
- Method in class org.quilt.framework.
QuiltTest
getName()
- Static method in class org.quilt.cl.
GraphTalker
getName()
- Method in interface org.quilt.cl.
ClassXformer
Get the preprocessor's report name.
getName()
- Method in interface org.quilt.cl.
MethodXformer
Get the report name for method processor.
getName()
- Method in class org.quilt.framework.
QuiltTest
getName()
- Static method in class org.quilt.cover.stmt.
GraphAction
Get the name for the transformation.
getName()
- Method in class org.quilt.cover.stmt.
ClassAction
Get the preprocessor's report name.
getName()
- Method in class org.quilt.cover.stmt.
MethodAction
Get the report name for method processor.
getNewEnvironment()
- Method in class org.quilt.frontend.ant.
TaskControl
getOtherEdge()
- Method in class org.quilt.graph.
BinaryConnector
Get the other edge.
getOtherTarget()
- Method in class org.quilt.graph.
BinaryConnector
Get the target of the other edge
getOutfile()
- Method in class org.quilt.framework.
QuiltTest
getParent()
- Method in class org.quilt.graph.
Directed
getPosition()
- Method in class org.quilt.cl.
CodeVertex
Get the bytecode offset of the first instruction.
getProperties()
- Method in class org.quilt.framework.
QuiltTest
getQuiltVersion(String)
- Method in class org.quilt.cover.stmt.
StmtRegistry
getRegistry(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Get a reference to a Quilt registry.
getReport()
- Method in class org.quilt.cl.
QuiltClassLoader
Get reports from any or all registries.
getReport()
- Method in class org.quilt.reg.
QuiltRegistry
Dumps the registry in a form appropriate to the application.
getReport()
- Method in class org.quilt.cover.stmt.
StmtRegistry
Dump the registry as plain text.
getResourceAsStream(String)
- Method in class org.quilt.cl.
ClassFactory
Get the bytecode for a synthesized class.
getRetCode()
- Method in class org.quilt.runner.
BaseTestRunner
Get status code from run.
getRetCode()
- Method in class org.quilt.runner.
Runner
getRunner()
- Method in class org.quilt.frontend.ant.
TaskControl
getRunTime()
- Method in class org.quilt.framework.
QuiltTest
getShowOutput()
- Method in class org.quilt.framework.
QuiltTest
getSource()
- Method in class org.quilt.graph.
Edge
getStartHandles()
- Method in class org.quilt.cl.
ControlFlowGraph
Get a reference to the map of handles on first instructions.
getStartLine()
- Method in class org.quilt.cl.
CodeVertex
Get the source code line number of the first instruction in a code vertex.
getSummary()
- Method in class org.quilt.frontend.ant.
TaskControl
getSummaryValue()
- Method in class org.quilt.frontend.ant.
TaskControl
getSynthEnabled()
- Method in class org.quilt.cl.
QuiltClassLoader
Get synthesizing-enabled flag.
getSynthPrefix()
- Method in class org.quilt.cl.
QuiltClassLoader
getTarget()
- Method in class org.quilt.graph.
BinaryConnector
Get the target of the preferred edge.
getTarget()
- Method in class org.quilt.graph.
UnaryConnector
Get the target of the connection.
getTarget()
- Method in class org.quilt.graph.
Exit
Get its target.
getTarget()
- Method in class org.quilt.graph.
MultiConnector
getTarget()
- Method in class org.quilt.graph.
ComplexConnector
Get the target of the single edge.
getTarget()
- Method in class org.quilt.graph.
Edge
getTarget()
- Method in class org.quilt.graph.
Connector
Get the target of the preferred edge.
getTarget()
- Method in class org.quilt.graph.
Vertex
getTarget()
- Method in class org.quilt.graph.
Entry
getTarget(int)
- Method in class org.quilt.graph.
MultiConnector
getTarget(int)
- Method in class org.quilt.graph.
ComplexConnector
Get the target of the Nth edge.
getTask()
- Method in class org.quilt.frontend.ant.
TaskControl
getTaskControl()
- Method in class org.quilt.frontend.ant.
Scheduler
Get a reference to the TaskControl object created by the constructor.
getTestName(Test)
- Static method in class org.quilt.reports.
XMLFormatter
Root around in a junit Test and find a name, should there be one.
getTestName(Test)
- Static method in class org.quilt.reports.
BaseFormatter
Root around in a junit Test and find a getName method.
getTests()
- Method in class org.quilt.frontend.ant.
TaskControl
getTimeout()
- Method in class org.quilt.frontend.ant.
TaskControl
getTo()
- Method in class org.quilt.cover.seg.
Segment
Get the 'to' value.
getTodir()
- Method in class org.quilt.framework.
QuiltTest
getUnlessProperty()
- Method in class org.quilt.framework.
QuiltTest
getUseFile()
- Method in class org.quilt.reports.
FmtSelector
getValue()
- Method in class org.quilt.frontend.ant.
SummaryAttribute
Return the value successfully set.
getVisits()
- Method in class org.quilt.cover.seg.
Segment
Get the number of visits so far.
gotoFixMeUps
- Variable in class org.quilt.cl.
ControlFlowGraph
Key source vertex, value target vertex where connecting instruction is GotoInstruction.
graph
- Variable in class org.quilt.graph.
Vertex
The graph this vertex belongs to.
GraphAction
- class org.quilt.cover.stmt.
GraphAction
.
Walk the control flow graph, adding counter vertices on all edges inbound to code vertices.
GraphAction()
- Constructor for class org.quilt.cover.stmt.
GraphAction
constructor.
GraphAction(StmtRegistry)
- Constructor for class org.quilt.cover.stmt.
GraphAction
GraphAction(StmtRegistry, ClassAction)
- Constructor for class org.quilt.cover.stmt.
GraphAction
Constructor used by StmtRegistry.
GraphBuildException
- exception org.quilt.cl.
GraphBuildException
.
An exception that occurs while building a control flow graph for a method.
GraphBuildException()
- Constructor for class org.quilt.cl.
GraphBuildException
GraphBuildException(String)
- Constructor for class org.quilt.cl.
GraphBuildException
GraphBuildException(String, Throwable)
- Constructor for class org.quilt.cl.
GraphBuildException
GraphBuildException(Throwable)
- Constructor for class org.quilt.cl.
GraphBuildException
graphIndex
- Static variable in class org.quilt.graph.
Directed
Index of most recently built graph.
GraphTalker
- class org.quilt.cl.
GraphTalker
.
Walks through a control flow graph, displaying information about each vertex and edge.
GraphTalker()
- Constructor for class org.quilt.cl.
GraphTalker
GraphTransformer
- class org.quilt.cl.
GraphTransformer
.
Build the control flow graph for a method, apply an arbitrary number of GraphXformers to it, and then collapse the graph back to an instruction list.
GraphTransformer(List)
- Constructor for class org.quilt.cl.
GraphTransformer
Creates method control flow graphs, applies application- specific transforms, and then collapses the graph to produce a new instruction list.
GraphXformer
- interface org.quilt.cl.
GraphXformer
.
Transform the graph, possibly using information from ClassGen and MethodGen.
gxf
- Variable in class org.quilt.reg.
QuiltRegistry
List of graph transformers associated with this registry.
H
handleArgs(String[])
- Method in class org.quilt.textui.
Textui
Called by main - pulls arguments off a command line to build a QuiltTest structure and formatter vector.
handleErrorFlush(String)
- Method in class org.quilt.runner.
BaseTestRunner
Flush error output.
handleErrorFlush(String)
- Method in class org.quilt.runner.
Runner
Flush the error output stream.
handleErrorOutput(String)
- Method in class org.quilt.runner.
BaseTestRunner
Process an error message.
handleErrorOutput(String)
- Method in class org.quilt.runner.
Runner
Process an error message
handleFlush(String)
- Method in class org.quilt.runner.
BaseTestRunner
Flush standard output.
handleFlush(String)
- Method in class org.quilt.runner.
Runner
Flush standard output.
handleOutput(String)
- Method in class org.quilt.runner.
BaseTestRunner
Handle a block of output.
handleOutput(String)
- Method in class org.quilt.runner.
Runner
Process a block of output.
handlerPC
- Variable in class org.quilt.cl.
CatchData
First code vertex in handler.
handleTheErrorFlush(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
handleTheErrorOutput(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
handleTheFlush(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
handleTheOutput(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
hasInbound(InstructionHandle)
- Static method in class org.quilt.cl.
GraphTransformer
Whether this instruction is target of branch instruction or starts catch block.
I
ilist
- Variable in class org.quilt.cl.
CodeVertex
the bytecode iteself
ilist
- Variable in class org.quilt.cl.
ControlFlowGraph
Instruction list built in walking the graph.
index
- Variable in class org.quilt.graph.
Vertex
Unique non-negative assigned to the Vertex; -1 means 'unassigned'
init()
- Method in class org.quilt.frontend.ant.
QuiltTask
insert(Vertex)
- Method in class org.quilt.graph.
Edge
Insert a vertex with a UnaryConnector into an edge.
insertCodeVertex(CodeVertex, Edge)
- Method in class org.quilt.cl.
ControlFlowGraph
Insert a pre-existing CodeVertex along an edge.
insertCodeVertex(Edge)
- Method in class org.quilt.cl.
ControlFlowGraph
Insert a code vertex along an edge, retargeting the edge to the vertex inserted.
insertVertex(Edge)
- Method in class org.quilt.graph.
Directed
Create a new Vertex with a Unary connector and insert into this graph's edge e.
insertVertex(Vertex, Edge)
- Method in class org.quilt.graph.
Directed
Insert a (new) Vertex into the graph along the edge provided.
isEmpty()
- Method in class org.quilt.reg.
Registry
isKnownType(String)
- Method in class org.quilt.reports.
FmtSelector
isTalking()
- Method in class org.quilt.runner.
Msg
K
keySet()
- Method in class org.quilt.reg.
Registry
XXX An overly powerful method.
L
label_
- Variable in class org.quilt.graph.
Vertex
Optional label.
LabeledNOP
- class org.quilt.bytecode.
LabeledNOP
.
An extension of the NOP which provides a label.
LabeledNOP(String)
- Constructor for class org.quilt.bytecode.
LabeledNOP
loadClass(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Class loader.
loader
- Variable in class org.quilt.frontend.ant.
TaskControl
LOOP_COVERAGE
- Static variable in interface org.quilt.cover.
CoverageTypes
M
main(String[])
- Static method in class org.quilt.textui.
MockTestRunner
main(String[])
- Static method in class org.quilt.textui.
TestRunner
makeBinary()
- Method in class org.quilt.graph.
Vertex
Convert the existing connector to a BinaryConnector.
makeClass(String, String)
- Method in class org.quilt.cl.
ClassFactory
Generate a class with a single no-arg constructor and a runTest method.
makeComplex(int)
- Method in class org.quilt.graph.
Vertex
Convert the exiting connector to a ComplexConnector, using the existing Edge as seed.
makeConstructor(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Creates the constructor for the synthesized class.
makeGraph(ClassGen, MethodGen)
- Method in class org.quilt.cl.
GraphTransformer
Build the graph for the method.
makeMethod(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Creates a method with bytecode determined by the name of the class.
makeMulti(int)
- Method in class org.quilt.graph.
Vertex
Convert the exiting connector to a MultiConnector, using the existing Edge as seed.
makePublic(ClassGen)
- Static method in class org.quilt.cl.
ClassTransformer
Make the class public.
MethodAction
- class org.quilt.cover.stmt.
MethodAction
.
Process a MethodGen method before and after graph creation and manipulation.
MethodAction()
- Constructor for class org.quilt.cover.stmt.
MethodAction
MethodAction(StmtRegistry)
- Constructor for class org.quilt.cover.stmt.
MethodAction
MethodTransformer
- class org.quilt.cl.
MethodTransformer
.
Optionally preprocesses a method, optionally transforms its control flow graph, optionally postprocesses it.
MethodTransformer(List, List)
- Constructor for class org.quilt.cl.
MethodTransformer
Sets up method transformer, saving MethodXformer vector here and passing GraphXformer vector to that transformer.
MethodXformer
- interface org.quilt.cl.
MethodXformer
.
Process a MethodGen method before and after graph creation and manipulation.
mgDefault(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Generates bytecode for a method which simply returns 2.
mgIfThen(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Generates instructions for a method consisting of a single if-then clause.
mgNPENoCatch(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Creates bytecode which will throw a NullPointerException without a catch block.
mgNPEWithCatch(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Returns bytecode which will throw a NullPointerException, but it will catch the NPE.
mgSelect(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Generates bytecode for a switch statement:
mgWhile(ClassGen)
- Method in class org.quilt.cl.
ClassFactory
Generates code for a while loop.
MockExec
- class org.quilt.frontend.ant.
MockExec
.
Echoes attributes for a given QuiltTest back to the Ant user.
MockExec()
- Constructor for class org.quilt.frontend.ant.
MockExec
No-arg constructor.
MockTestRunner
- class org.quilt.textui.
MockTestRunner
.
Minimal test runner; just echoes the test description.
MockTestRunner
- class org.quilt.runner.
MockTestRunner
.
Echoes parameters for a given QuiltTest back to the Ant user.
MockTestRunner()
- Constructor for class org.quilt.textui.
MockTestRunner
MockTestRunner()
- Constructor for class org.quilt.runner.
MockTestRunner
moveGoto(CodeVertex)
- Method in class org.quilt.cl.
CodeVertex
Move this code vertex's Goto to another code vertex.
Msg
- class org.quilt.runner.
Msg
.
Debug message module.
Msg(String)
- Constructor for class org.quilt.runner.
Msg
Msg(String, int)
- Constructor for class org.quilt.runner.
Msg
Msg(String, int, char)
- Constructor for class org.quilt.runner.
Msg
Msg(String, int, char, char)
- Constructor for class org.quilt.runner.
Msg
MultiConnector
- class org.quilt.graph.
MultiConnector
.
A Connector holding a array of edges, where the array has at least one member.
MultiConnector(Connector, int)
- Constructor for class org.quilt.graph.
MultiConnector
Constructor initialized from an existing UnaryConnector.
MultiConnector(Edge, int)
- Constructor for class org.quilt.graph.
MultiConnector
Constructor for fixed-size array of edges.
mxf
- Variable in class org.quilt.reg.
QuiltRegistry
List of method transformers associated with this registry.
N
nextTest()
- Method in class org.quilt.frontend.ant.
Scheduler
Returns the next test or batch test available.
numberFormat
- Variable in class org.quilt.reports.
BaseFormatter
O
org.quilt
- package org.quilt
org.quilt.bytecode
- package org.quilt.bytecode
org.quilt.cl
- package org.quilt.cl
org.quilt.cover
- package org.quilt.cover
org.quilt.cover.seg
- package org.quilt.cover.seg
org.quilt.cover.stmt
- package org.quilt.cover.stmt
org.quilt.exception
- package org.quilt.exception
org.quilt.framework
- package org.quilt.framework
org.quilt.frontend.ant
- package org.quilt.frontend.ant
org.quilt.graph
- package org.quilt.graph
org.quilt.reg
- package org.quilt.reg
org.quilt.reports
- package org.quilt.reports
org.quilt.runner
- package org.quilt.runner
org.quilt.textui
- package org.quilt.textui
out
- Variable in class org.quilt.reports.
BaseFormatter
output
- Variable in class org.quilt.reports.
BaseFormatter
P
PATH_COVERAGE
- Static variable in interface org.quilt.cover.
CoverageTypes
PlainFormatter
- class org.quilt.reports.
PlainFormatter
.
Plain text output of JUnit test results.
PlainFormatter()
- Constructor for class org.quilt.reports.
PlainFormatter
No-arg constructor.
pos
- Variable in class org.quilt.cl.
CodeVertex
initial offset of first instruction in bytecode
postGraph(ClassGen, MethodGen)
- Method in interface org.quilt.cl.
MethodXformer
Process method after graph generation and manipulation is complete.
postGraph(ClassGen, MethodGen)
- Method in class org.quilt.cover.stmt.
MethodAction
Process method after graph generation and manipulation is complete.
postMethods(ClassGen)
- Method in interface org.quilt.cl.
ClassXformer
Postprocessor applied to the class after looking at methods.
postMethods(ClassGen)
- Method in class org.quilt.cover.stmt.
ClassAction
Postprocessor applied to the class after looking at methods.
preGraph(ClassGen, MethodGen)
- Method in interface org.quilt.cl.
MethodXformer
Apply processing to method before graph is generated.
preGraph(ClassGen, MethodGen)
- Method in class org.quilt.cover.stmt.
MethodAction
Apply processing to method before graph is generated.
preMethods(ClassGen)
- Method in interface org.quilt.cl.
ClassXformer
Preprocessor applied to the class before looking at methods.
preMethods(ClassGen)
- Method in class org.quilt.cover.stmt.
ClassAction
Add a q$$q hit count field to the class using public static int [] q$$q; If there is already a field of this name, do not instrument the class.
put(String[], Object)
- Method in class org.quilt.reg.
Registry
Add an object to the registry, overwriting any existing value.
Q
q$$q
- Static variable in class org.quilt.cover.stmt.
StmtRunTest
qcl_
- Variable in class org.quilt.reg.
QuiltRegistry
The Quilt class loader using this registry.
QIC
- class org.quilt.
QIC
.
A stub.
QIC(int, int[])
- Constructor for class org.quilt.
QIC
QuiltClassLoader
- class org.quilt.cl.
QuiltClassLoader
.
Quilt's transforming class loader.
QuiltClassLoader(URL[], ClassLoader, String[], String[], String[])
- Constructor for class org.quilt.cl.
QuiltClassLoader
Constructor with full argument list.
QuiltClassLoader(URL[], String[])
- Constructor for class org.quilt.cl.
QuiltClassLoader
Constructor with abbreviated argument list.
QuiltException
- exception org.quilt.exception.
QuiltException
.
A superclass for all exceptions that can be thrown by Quilt.
QuiltException()
- Constructor for class org.quilt.exception.
QuiltException
QuiltException(String)
- Constructor for class org.quilt.exception.
QuiltException
quiltLoader
- Variable in class org.quilt.textui.
Textui
QuiltRegistry
- class org.quilt.reg.
QuiltRegistry
.
A registry for use by Quilt class loaders.
QuiltRegistry(QuiltClassLoader)
- Constructor for class org.quilt.reg.
QuiltRegistry
QuiltTask
- class org.quilt.frontend.ant.
QuiltTask
.
Ant task for running Quilt and JUnit.
QuiltTask()
- Constructor for class org.quilt.frontend.ant.
QuiltTask
QuiltTest
- class org.quilt.framework.
QuiltTest
.
Parameters for controlling an individual task.
QuiltTest()
- Constructor for class org.quilt.framework.
QuiltTest
No-arg constructor used by clone()
QuiltTest(String)
- Constructor for class org.quilt.framework.
QuiltTest
Single-arg constructor.
R
registerClass(String, QIC)
- Method in class org.quilt.cover.stmt.
StmtRegistry
STUB
registerCounts(String, int[])
- Method in class org.quilt.cover.stmt.
StmtRegistry
Register a class by passing a reference to its integer hit count array.
registerMethods(String, String[], int[])
- Method in class org.quilt.cover.stmt.
StmtRegistry
Registry
- class org.quilt.reg.
Registry
.
A registry for storing Quilt run-time options.
Registry()
- Constructor for class org.quilt.reg.
Registry
No-arg constructor.
regMap
- Variable in class org.quilt.cl.
QuiltClassLoader
Map of registries by String name.
RELATIONAL_COVERAGE
- Static variable in interface org.quilt.cover.
CoverageTypes
remove(String[])
- Method in class org.quilt.reg.
Registry
Remove an item from the registry.
reset()
- Method in class org.quilt.reg.
QuiltRegistry
Resets items in the registry in an application-specific manner.
reset()
- Method in class org.quilt.cover.seg.
Segment
Set the number of visits to zero.
reset()
- Method in class org.quilt.cover.stmt.
StmtRegistry
Clear counters associated with registry entries.
results
- Variable in class org.quilt.reports.
BaseFormatter
resultWriter
- Variable in class org.quilt.reports.
BaseFormatter
run()
- Method in class org.quilt.runner.
BaseTestRunner
run()
- Method in class org.quilt.runner.
Runner
run(QuiltTest)
- Method in class org.quilt.runner.
MockTestRunner
Set mockTestRunner="true" or mockExec="true" in the Quilt task line in build.xml to get this output on all tests run.
run(QuiltTest, TaskControl)
- Method in class org.quilt.frontend.ant.
MockExec
Dump the parameters for the task and the test.
runCount()
- Method in class org.quilt.framework.
QuiltTest
runMe(Project)
- Method in class org.quilt.framework.
QuiltTest
Run this test if project properties permit.
runner
- Variable in class org.quilt.reports.
BaseFormatter
Runner
- class org.quilt.runner.
Runner
.
Abstract class extended by Quilt test runners.
Runner()
- Constructor for class org.quilt.runner.
Runner
RunnerConst
- interface org.quilt.runner.
RunnerConst
.
RunTest
- interface org.quilt.cl.
RunTest
.
Interface implemented by all classes synthesized by ClassFactory.
runTest(int)
- Method in interface org.quilt.cl.
RunTest
Standard test method.
RunTest(int)
- Method in class org.quilt.cover.stmt.
StmtRunTest
S
schedule()
- Method in class org.quilt.frontend.ant.
Scheduler
Zero out indexes into lists of tests and batch tests.
Scheduler
- class org.quilt.frontend.ant.
Scheduler
.
Collects individual and batch tests during initial processing of the Ant build.xml file, then schedules tests for running.
Scheduler(QuiltTask)
- Constructor for class org.quilt.frontend.ant.
Scheduler
One-arg constructor called at beginning of run
Segment
- class org.quilt.cover.seg.
Segment
.
A segment for coverage purposes.
Segment()
- Constructor for class org.quilt.cover.seg.
Segment
No-arg constructor; creates a segment with -1 index.
Segment(int)
- Constructor for class org.quilt.cover.seg.
Segment
Constructor specifying a segment index.
setAntRuntimeClasses(Path)
- Method in class org.quilt.frontend.ant.
TaskControl
setCheckCoverage(boolean)
- Method in class org.quilt.framework.
QuiltTest
setCheckCoverage(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setCheckExcludes(String)
- Method in class org.quilt.framework.
QuiltTest
setCheckExcludes(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
setCheckIncludes(String)
- Method in class org.quilt.framework.
QuiltTest
setCheckIncludes(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
setClassname(String)
- Method in class org.quilt.reports.
FmtSelector
Ant-compatible method for selecting formatter by class name.
setClassPath(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Convert classpath in normal form to URL[] and sets loader classpath to the corresponding value.
setClassTransformer(ClassTransformer)
- Method in interface org.quilt.cl.
ClassXformer
setClassTransformer(ClassTransformer)
- Method in class org.quilt.cover.stmt.
ClassAction
Passes a reference to the controlling ClassTransformer.
setCommandline(CommandlineJava)
- Method in class org.quilt.frontend.ant.
TaskControl
setConnector(Connector)
- Method in class org.quilt.graph.
Vertex
setConnInst(Instruction)
- Method in class org.quilt.cl.
CodeVertex
Set the connecting instruction for this vertex.
setCounts(long, long, long)
- Method in class org.quilt.framework.
QuiltTest
setDir(File)
- Method in class org.quilt.frontend.ant.
TaskControl
setDir(File)
- Method in class org.quilt.frontend.ant.
QuiltTask
setEndLine(int)
- Method in class org.quilt.cl.
CodeVertex
Set the source line number of the connecting instruction, or of the last line number in the block if there is no connecting instruction.
setErrorProperty(String)
- Method in class org.quilt.framework.
QuiltTest
setErrorProperty(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
setExcluded(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Sets the list of classes to be excluded from instrumentation.
setExtension(String)
- Method in class org.quilt.reports.
FmtSelector
Ant-compatible method for setting the extension of the formatter output file.
setFailureProperty(String)
- Method in class org.quilt.framework.
QuiltTest
setFailureProperty(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
setFiltertrace(boolean)
- Method in class org.quilt.framework.
QuiltTest
setFiltertrace(boolean)
- Method in class org.quilt.reports.
XMLFormatter
Enable filtering of Ant/Quilt/JUnit lines from stack traces.
setFiltertrace(boolean)
- Method in class org.quilt.reports.
SummaryFormatter
Enable filtering of Ant/Quilt/JUnit lines from stack traces.
setFiltertrace(boolean)
- Method in class org.quilt.reports.
BaseFormatter
Whether to filter Ant/Quilt/JUnit lines from stack traces.
setFiltertrace(boolean)
- Method in interface org.quilt.reports.
Formatter
Enable filtering of Ant/Quilt/JUnit lines from stack traces.
setFiltertrace(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setFork(boolean)
- Method in class org.quilt.framework.
QuiltTest
setFork(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setFormatters(Vector)
- Method in class org.quilt.frontend.ant.
TaskControl
setFrom(int)
- Method in class org.quilt.cover.seg.
Segment
Set the 'from' value.
setHaltOnError(boolean)
- Method in class org.quilt.framework.
QuiltTest
setHaltOnError(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setHaltOnFailure(boolean)
- Method in class org.quilt.framework.
QuiltTest
setHaltOnFailure(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setIf(String)
- Method in class org.quilt.framework.
QuiltTest
setIncludeAntRuntime(boolean)
- Method in class org.quilt.frontend.ant.
TaskControl
setIncludeAntRuntime(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setIncluded(String)
- Method in class org.quilt.cl.
QuiltClassLoader
Sets the list of classes to be instrumented.
setIndex(int)
- Method in class org.quilt.cover.seg.
Segment
Set the segment index.
setJvm(String)
- Method in class org.quilt.frontend.ant.
TaskControl
setJvm(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
setLabel(String)
- Method in class org.quilt.graph.
Vertex
Assign a label to the Vertex.
setLoader(QuiltClassLoader)
- Method in class org.quilt.frontend.ant.
TaskControl
setMaxmemory(String)
- Method in class org.quilt.frontend.ant.
TaskControl
setMaxmemory(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
setMockExec(boolean)
- Method in class org.quilt.frontend.ant.
TaskControl
setMockExec(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setMockTestRun(boolean)
- Method in class org.quilt.framework.
QuiltTest
setMockTestRun(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setName(String)
- Static method in class org.quilt.cl.
GraphTalker
setName(String)
- Method in interface org.quilt.cl.
ClassXformer
Set the preprocessor's name for reports.
setName(String)
- Method in interface org.quilt.cl.
MethodXformer
Assign a name to the method processor.
setName(String)
- Method in class org.quilt.framework.
QuiltTest
setName(String)
- Static method in class org.quilt.cover.stmt.
GraphAction
Set a name for the transformation, to allow reports to refer to it.
setName(String)
- Method in class org.quilt.cover.stmt.
ClassAction
Set the preprocessor's name for reports.
setName(String)
- Method in class org.quilt.cover.stmt.
MethodAction
Assign a name to the method processor.
setNewenvironment(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setNewEnvironment(boolean)
- Method in class org.quilt.frontend.ant.
TaskControl
setOtherTarget(Vertex)
- Method in class org.quilt.graph.
BinaryConnector
Set the target of the other edge.
setOutfile(File)
- Method in class org.quilt.reports.
FmtSelector
Ant-compatible method for setting the base name of the output file.
setOutfile(String)
- Method in class org.quilt.framework.
QuiltTest
setOutput(OutputStream)
- Method in class org.quilt.reports.
XMLFormatter
Set the output file.
setOutput(OutputStream)
- Method in class org.quilt.reports.
SummaryFormatter
Where to direct output.
setOutput(OutputStream)
- Method in class org.quilt.reports.
BaseFormatter
Where to send the report output.
setOutput(OutputStream)
- Method in interface org.quilt.reports.
Formatter
setOutput(OutputStream)
- Method in class org.quilt.reports.
FmtSelector
setPos(int)
- Method in class org.quilt.cl.
CodeVertex
Set the bytecode offset for the first instruction.
setPrintsummary(String)
- Method in class org.quilt.frontend.ant.
QuiltTask
setPrintsummary(SummaryAttribute)
- Method in class org.quilt.frontend.ant.
TaskControl
setProperties(Hashtable)
- Method in class org.quilt.framework.
QuiltTest
Replace the test's Properties.
setRunner(Runner)
- Method in class org.quilt.reports.
XMLFormatter
Set the test runner to be used.
setRunner(Runner)
- Method in class org.quilt.reports.
SummaryFormatter
Select the runner to be used.
setRunner(Runner)
- Method in class org.quilt.reports.
BaseFormatter
Determines which test runner to use.
setRunner(Runner)
- Method in interface org.quilt.reports.
Formatter
Select test runner to use.
setRunner(Runner)
- Method in class org.quilt.frontend.ant.
TaskControl
setRunTime(long)
- Method in class org.quilt.framework.
QuiltTest
setShowOutput(boolean)
- Method in class org.quilt.framework.
QuiltTest
setShowOutput(boolean)
- Method in class org.quilt.frontend.ant.
TaskControl
setShowOutput(boolean)
- Method in class org.quilt.frontend.ant.
QuiltTask
setSource(Vertex)
- Method in class org.quilt.graph.
Edge
setStartLine(int)
- Method in class org.quilt.cl.
CodeVertex
Set the source code line number.
setSummary(boolean)
- Method in class org.quilt.frontend.ant.
TaskControl
setSummaryValue(String)
- Method in class org.quilt.frontend.ant.
TaskControl
setSynthEnabled(boolean)
- Method in class org.quilt.cl.
QuiltClassLoader
Enable class synthesizing.
setSystemError(String)
- Method in class org.quilt.reports.
XMLFormatter
Direct the error output.
setSystemError(String)
- Method in class org.quilt.reports.
SummaryFormatter
Where to send system error output.
setSystemError(String)
- Method in class org.quilt.reports.
BaseFormatter
Where to send system error output.
setSystemError(String)
- Method in interface org.quilt.reports.
Formatter
setSystemOutput(String)
- Method in class org.quilt.reports.
XMLFormatter
Direct standard output.
setSystemOutput(String)
- Method in class org.quilt.reports.
SummaryFormatter
Where to send standard output.
setSystemOutput(String)
- Method in class org.quilt.reports.
BaseFormatter
Where to send system output.
setSystemOutput(String)
- Method in interface org.quilt.reports.
Formatter
setTarget(Vertex)
- Method in class org.quilt.graph.
BinaryConnector
Change the target of the preferred edge.
setTarget(Vertex)
- Method in class org.quilt.graph.
UnaryConnector
Set the target of the connection.
setTarget(Vertex)
- Method in class org.quilt.graph.
Exit
Set its target.
setTarget(Vertex)
- Method in class org.quilt.graph.
MultiConnector
setTarget(Vertex)
- Method in class org.quilt.graph.
ComplexConnector
Change the target of the single edge.
setTarget(Vertex)
- Method in class org.quilt.graph.
Edge
Change the target of this edge.
setTarget(Vertex)
- Method in class org.quilt.graph.
Connector
Set the target of the connector's preferred edge.
setTarget(Vertex)
- Method in class org.quilt.graph.
Entry
setTarget(Vertex, int)
- Method in class org.quilt.graph.
MultiConnector
setTarget(Vertex, int)
- Method in class org.quilt.graph.
ComplexConnector
Change the target of the Nth edge.
setTask(QuiltTask)
- Method in class org.quilt.frontend.ant.
TaskControl
setTests(Vector)
- Method in class org.quilt.frontend.ant.
TaskControl
setTimeout(Long)
- Method in class org.quilt.frontend.ant.
TaskControl
setTimeout(Long)
- Method in class org.quilt.frontend.ant.
QuiltTask
setTo(int)
- Method in class org.quilt.cover.seg.
Segment
Set the 'to' value.
setTodir(File)
- Method in class org.quilt.framework.
QuiltTest
setTransformers()
- Method in class org.quilt.reg.
QuiltRegistry
Attaches transformers to the class loader; classes extending this class should call in the constructor after setting up the lists.
setType(String)
- Method in class org.quilt.reports.
FmtSelector
Routine called by Ant to set the formatter using an alias.
setUnless(String)
- Method in class org.quilt.framework.
QuiltTest
setUseFile(boolean)
- Method in class org.quilt.reports.
FmtSelector
Ant-compatible method for enabling output to a file.
setValue(String)
- Method in class org.quilt.frontend.ant.
SummaryAttribute
Ant-compatible set method.
setVisits(int)
- Method in class org.quilt.cover.seg.
Segment
Set the number of visits; may never be used.
setWithOutAndErr(boolean)
- Method in class org.quilt.reports.
SummaryFormatter
Ant-compatible method determining whether System.out and System.err should be echoed to the summary report.
size()
- Method in class org.quilt.graph.
BinaryConnector
size()
- Method in class org.quilt.graph.
UnaryConnector
size()
- Method in class org.quilt.graph.
MultiConnector
size()
- Method in class org.quilt.graph.
ComplexConnector
Returns the number of edges in the connector EXCLUDING the preferred edge.
size()
- Method in class org.quilt.graph.
Connector
Returns total number of edges in the connector.
size()
- Method in class org.quilt.graph.
Directed
size()
- Method in class org.quilt.cl.
SortedBlocks
How many code vertices are currently in the index?
size()
- Method in class org.quilt.reg.
Registry
SortedBlocks
- class org.quilt.cl.
SortedBlocks
.
Manages an index into the bytecode vertices in a method's control flow graph.
SortedBlocks()
- Constructor for class org.quilt.cl.
SortedBlocks
Creates an empty map.
source_
- Variable in class org.quilt.graph.
Edge
splitClassName(String)
- Method in class org.quilt.reg.
Registry
Convert a class or method name into a String array.
startHandles
- Variable in class org.quilt.cl.
ControlFlowGraph
Key code vertex, value handle on first instruction.
startLine_
- Variable in class org.quilt.cl.
CodeVertex
Line number in source code corresponding to first instruction, or if there is no such instruction, of the connecting instruction.
startTest(Test)
- Method in class org.quilt.reports.
XMLFormatter
Called at the beginning of a JUnit test.
startTest(Test)
- Method in class org.quilt.reports.
SummaryFormatter
Called at beginning of JUnit test.
startTest(Test)
- Method in class org.quilt.reports.
PlainFormatter
startTest(Test)
- Method in class org.quilt.reports.
BaseFormatter
Method called at beginning of test.
startTest(Test)
- Method in class org.quilt.runner.
BaseTestRunner
Called at start of test run.
startTest(Test)
- Method in class org.quilt.runner.
Runner
Method called at start of individual test suite.
startTestSuite(QuiltTest)
- Method in class org.quilt.reports.
XMLFormatter
Method called at the beginning of the test run.
startTestSuite(QuiltTest)
- Method in class org.quilt.reports.
SummaryFormatter
Called at start of Ant/Quilt test run.
startTestSuite(QuiltTest)
- Method in class org.quilt.reports.
BaseFormatter
Called at the start of the Ant/Quilt/JUnit test run.
startTestSuite(QuiltTest)
- Method in interface org.quilt.reports.
Formatter
Called at beginning of test suite run.
STATEMENT_COVERAGE
- Static variable in interface org.quilt.cover.
CoverageTypes
stmtReg
- Variable in class org.quilt.textui.
Textui
StmtRegistry
- class org.quilt.cover.stmt.
StmtRegistry
.
Registry for statement coverage information.
StmtRegistry(QuiltClassLoader)
- Constructor for class org.quilt.cover.stmt.
StmtRegistry
Constructor specifying Quilt class loader the registry is associated with.
StmtRunTest
- class org.quilt.cover.stmt.
StmtRunTest
.
StmtRunTest()
- Constructor for class org.quilt.cover.stmt.
StmtRunTest
subgraph(Edge, int)
- Method in class org.quilt.graph.
Directed
Constructs a subgraph and inserts it into the parent graph on the edge presented.
subgraph(Edge, int)
- Method in class org.quilt.cl.
ControlFlowGraph
Create a control flow graph, connecting it to this graph as its parent by inserting it along the directed edge e (the Entry first, followed by the subgraph Exit.
SUCCESS
- Static variable in interface org.quilt.runner.
RunnerConst
All tests in suite succeeded.
SummaryAttribute
- class org.quilt.frontend.ant.
SummaryAttribute
.
Accept a limited set of String values for the summary attribute.
SummaryAttribute(String)
- Constructor for class org.quilt.frontend.ant.
SummaryAttribute
Constructor.
SummaryFormatter
- class org.quilt.reports.
SummaryFormatter
.
SummaryFormatter()
- Constructor for class org.quilt.reports.
SummaryFormatter
SYNTH_PREFIX
- Static variable in class org.quilt.cl.
QuiltClassLoader
Prefix indicating that the class should be synthesized.
systemError
- Variable in class org.quilt.reports.
BaseFormatter
systemOutput
- Variable in class org.quilt.reports.
BaseFormatter
T
talk(boolean)
- Method in class org.quilt.runner.
Msg
Turns output off or on.
target_
- Variable in class org.quilt.graph.
Edge
TaskControl
- class org.quilt.frontend.ant.
TaskControl
.
Run control parameters from the Ant build.xml file.
TaskControl(QuiltTask)
- Constructor for class org.quilt.frontend.ant.
TaskControl
Constructor.
TestExec
- class org.quilt.frontend.ant.
TestExec
.
Manage the running of a single test suite.
TestExec()
- Constructor for class org.quilt.frontend.ant.
TestExec
No-arg constructor
TestRunner
- class org.quilt.textui.
TestRunner
.
Text-interface test runner for Quilt.
TestRunner()
- Constructor for class org.quilt.textui.
TestRunner
Textui
- class org.quilt.textui.
Textui
.
Template textui test runner.
Textui()
- Constructor for class org.quilt.textui.
Textui
THIS_DIR
- Static variable in class org.quilt.cl.
QuiltClassLoader
Convert domain name in classpath to file name, allowing for initial dots.
THIS_DIR_LEN
- Static variable in class org.quilt.cl.
QuiltClassLoader
toString()
- Method in class org.quilt.graph.
Exit
toString()
- Method in class org.quilt.graph.
Edge
toString()
- Method in class org.quilt.graph.
Vertex
toString()
- Method in class org.quilt.graph.
Entry
toString()
- Method in class org.quilt.cl.
SortedBlocks
Standard toString(), XXX needs some work.
toString()
- Method in class org.quilt.cl.
CodeVertex
Less verbose
toString.
toString()
- Method in class org.quilt.cl.
TryStacks
toString()
- Method in class org.quilt.framework.
QuiltTest
toString()
- Method in class org.quilt.cover.seg.
Segment
Format the segment for output as a String.
toString()
- Method in class org.quilt.cover.stmt.
CounterVertex
toString()
- Method in class org.quilt.reports.
FmtSelector
Converts some class information to String format.
toString()
- Method in class org.quilt.frontend.ant.
TaskControl
toString(boolean)
- Method in class org.quilt.cl.
CodeVertex
Optionally more verbose method.
toString(boolean)
- Method in class org.quilt.bytecode.
LabeledNOP
toString(boolean)
- Method in class org.quilt.cover.stmt.
CounterVertex
toXML(String)
- Method in class org.quilt.cover.seg.
Segment
Format the segment for XML output.
trace(String)
- Method in class org.quilt.runner.
Msg
tryEnd
- Variable in class org.quilt.cl.
CatchData
Last code Vertex in try block.
TryStacks
- class org.quilt.cl.
TryStacks
.
Manages try/catch blocks.
TryStacks(CodeExceptionGen[], SortedBlocks, ControlFlowGraph)
- Constructor for class org.quilt.cl.
TryStacks
Constructor setting up try/catch arrays.
tryStart
- Variable in class org.quilt.cl.
CatchData
First code vertex in try block.
U
UnaryConnector
- class org.quilt.graph.
UnaryConnector
.
A Connector holding a single edge.
UnaryConnector(Edge)
- Constructor for class org.quilt.graph.
UnaryConnector
unbatch()
- Method in class org.quilt.frontend.ant.
Scheduler
Pass through the list of batch tests, creating individual tests and passing these to the scheduler.
unbatch(Scheduler)
- Method in class org.quilt.frontend.ant.
BatchTest
Converts the fileset names into QuiltTests and adds them to the list of tests maintained by the scheduler.
UP_DIR
- Static variable in class org.quilt.cl.
QuiltClassLoader
UP_DIR_LEN
- Static variable in class org.quilt.cl.
QuiltClassLoader
urlsToString()
- Method in class org.quilt.cl.
QuiltClassLoader
usage()
- Method in class org.quilt.textui.
Textui
Command line usage message.
V
version
- Variable in class org.quilt.
QIC
Vertex
- class org.quilt.graph.
Vertex
.
A vertex in a directed graph.
Vertex()
- Constructor for class org.quilt.graph.
Vertex
Creates a vertex without an index and belonging to no graph.
Vertex(Directed)
- Constructor for class org.quilt.graph.
Vertex
Creates a vertex belonging to a graph, assigns an index unique within this graph.
visit()
- Method in class org.quilt.cover.seg.
Segment
Step the visit count.
visit(Directed, Visitor)
- Method in class org.quilt.graph.
Walker
Walk through the entire graph.
Visitor
- interface org.quilt.graph.
Visitor
.
Methods for visiting a Quilt directed graph.
W
Walker
- class org.quilt.graph.
Walker
.
Walks a Visitor through a Quilt directed graph, visiting each vertex and edge once and only once.
Walker()
- Constructor for class org.quilt.graph.
Walker
No-arg constructor.
X
xform(ClassGen, Method)
- Method in class org.quilt.cl.
MethodTransformer
Transform a specific method, first applying preprocessors, then transforming the graph, then applying method postprocessors.
xform(ClassGen, MethodGen)
- Method in class org.quilt.cl.
GraphTransformer
Build a control flow graph for a method's instruction list, apply any transformers to it, and collapse the graph into a new instruction list.
xform(ClassGen, MethodGen, ControlFlowGraph)
- Method in class org.quilt.cl.
GraphTalker
xform(ClassGen, MethodGen, ControlFlowGraph)
- Method in interface org.quilt.cl.
GraphXformer
Apply the transformation to the graph.
xform(ClassGen, MethodGen, ControlFlowGraph)
- Method in class org.quilt.cover.stmt.
GraphAction
xform(JavaClass)
- Method in class org.quilt.cl.
ClassTransformer
xformer
- Variable in class org.quilt.cl.
QuiltClassLoader
Responsible for instrumenting classes.
XMLFormatter
- class org.quilt.reports.
XMLFormatter
.
Produce an XML document containing the test data for the run.
XMLFormatter()
- Constructor for class org.quilt.reports.
XMLFormatter
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.