public class T1 extends
junit.framework.TestCase {
public void testOK() {}
public void testBad() {throw new RuntimeException("failed");}
}
import org.junit.Test;
public class T2 {
@Test
public void ok() {}
@Test
public void bad() {
throw new RuntimeException("failed");}
}