expectedException = annotation.expected();
timeout = annotation.timeout();
}
final AnnotatedTestCase at = new AnnotatedTestCase(m, expectedException, timeout);
testCase = at;
protectable = new Protectable() {
public void protect() throws Throwable {
at.runTest();
}
};
} else {
this.testCase = (TestCase) this.testObject;
final Object theClazz = this.testObject; // Must be final to create instance
protectable = new Protectable() {
public void protect() throws Throwable {
try {
m.invoke(theClazz,new Object[0]);
} catch (InvocationTargetException e) {
/*