|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inria.peerunit.base.TestCaseWrapper
public class TestCaseWrapper
| Constructor Summary | |
|---|---|
TestCaseWrapper(TesterImpl t)
|
|
| Method Summary | |
|---|---|
java.lang.reflect.Method |
getMethod(MethodDescription md)
Get the method following methodDescription |
java.util.Map<MethodDescription,java.lang.reflect.Method> |
getMethods()
|
java.lang.Object |
getTestcase()
|
void |
invoke(MethodDescription md)
Execute the given method description |
boolean |
isLastMethod()
Verifies if no more methods remain. |
java.util.List<MethodDescription> |
register(java.lang.Class<?> klass)
Parse the test case to extract the methods to be executed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestCaseWrapper(TesterImpl t)
| Method Detail |
|---|
public java.lang.reflect.Method getMethod(MethodDescription md)
md - Method Description
public void invoke(MethodDescription md)
throws java.lang.Throwable
md - : method description to execute
java.lang.Throwable - if any exception is thrownpublic boolean isLastMethod()
public java.util.List<MethodDescription> register(java.lang.Class<?> klass)
class -
public java.lang.Object getTestcase()
public java.util.Map<MethodDescription,java.lang.reflect.Method> getMethods()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||