|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sofya.apps.dejavu.TestMapper
public abstract class TestMapper
A concrete implementation of this class is responsible for performing the mapping of dangerous edges to tests in the original test suite.
Constructor Summary | |
---|---|
TestMapper()
|
Method Summary | |
---|---|
abstract int |
getTotalNumberOfTests()
Returns the number of tests in the test history. |
abstract sofya.apps.dejavu.SelectionData |
selectTests(java.lang.String methodName,
Edge[] dangerousEdges)
Selects tests based on the dangerous edge list for a given method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestMapper()
Method Detail |
---|
public abstract sofya.apps.dejavu.SelectionData selectTests(java.lang.String methodName, Edge[] dangerousEdges) throws MethodNotFoundException
methodName
- Name of the method for which test selection is
occurring.dangerousEdges
- List of dangerous edges found in the method,
to be mapped to corresponding tests.
MethodNotFoundException
- If the method test descriptor references
a method that cannot be found in the test history file.public abstract int getTotalNumberOfTests()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |