All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.SuiteRunState Maven / Gradle / Ivy

There is a newer version: 7.10.2
Show newest version
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