blob: f7c7ea3bb9277f31c6565ed5c59e9379d6a512b7 [file] [log] [blame]
package test.alwaysrun;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
public class AlwaysRunAfter2 {
private static boolean m_success = true;
@BeforeClass
public void setUpShouldFail() {
throw new RuntimeException("Failing in setUp");
}
// Should not be run
@AfterClass
public void tearDown() {
m_success = false;
}
static public boolean success() {
return m_success;
}
}