org.testng.SuiteRunState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng;
import java.io.Serializable;
/**
* A state object that records the status of the suite run. Mainly used to
* figure out if there are any @BeforeSuite failures.
*
* @author Alexandru Popescu
*/
public class SuiteRunState implements Serializable {
/**
*
*/
private static final long serialVersionUID = -2716934905049123874L;
private boolean m_hasFailures;
public synchronized void failed() {
m_hasFailures= true;
}
public synchronized boolean isFailed() {
return m_hasFailures;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy