< prev index next >
src/com/sun/javatest/junit/JUnitAnnotationMultiTest.java
Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg
*** 80,90 ****
* Entry point for standalone mode.
*/
protected void setup(String executeClass) {
try {
! Class junitTestCaseClass = getClassLoader().loadClass(executeClass);
testCaseClass = junitTestCaseClass;
} catch (ClassNotFoundException e){
log.println("Cannot find test: " + executeClass + " (" + exceptionToString(e) + ")");
--- 80,90 ----
* Entry point for standalone mode.
*/
protected void setup(String executeClass) {
try {
! Class<?> junitTestCaseClass = getClassLoader().loadClass(executeClass);
testCaseClass = junitTestCaseClass;
} catch (ClassNotFoundException e){
log.println("Cannot find test: " + executeClass + " (" + exceptionToString(e) + ")");
*** 93,99 ****
protected void printStackTrace(Throwable t) {
t.printStackTrace(log);
}
! protected Class testCaseClass;
}
--- 93,99 ----
protected void printStackTrace(Throwable t) {
t.printStackTrace(log);
}
! protected Class<?> testCaseClass;
}
< prev index next >