From: David S. <ds...@us...> - 2006-10-17 19:01:05
|
Update of /cvsroot/junit/junit/org/junit/internal/runners In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15727/org/junit/internal/runners Added Files: Tag: saff_r41_runner_refactoring JavaTestInterpreter.java Log Message: InterpretWith allows a delegation-style, rather than inheritance-style, extension mechanism --- NEW FILE: JavaTestInterpreter.java --- package org.junit.internal.runners; import java.lang.reflect.InvocationTargetException; public class JavaTestInterpreter { // TODO: push out /* (non-Javadoc) * @see org.junit.internal.runners.IJavaTestInterpreter#executeMethodBody(java.lang.Object, org.junit.internal.runners.JavaMethod) */ public void executeMethodBody(Object test, JavaMethod javaMethod) throws IllegalAccessException, InvocationTargetException { javaMethod.invoke(test); } } |