Class LaunchSuite

java.lang.Object
org.testng.xml.LaunchSuite
Direct Known Subclasses:
LaunchSuite.CustomizedSuite, LaunchSuite.ExistingSuite

public abstract class LaunchSuite extends Object
This class is used to encapsulate a launch. Various synthetic XML files are created depending on whether the user is trying to launch a suite, a class, a method, etc...
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      This class's log4testng Logger.
    • m_temporary

      protected boolean m_temporary
  • Constructor Details

    • LaunchSuite

      protected LaunchSuite(boolean isTemp)
      Constructs a LaunchSuite
      Parameters:
      isTemp - the temporary status
  • Method Details

    • isTemporary

      public boolean isTemporary()
      Returns the temporary state.
      Returns:
      the temporary state.
    • save

      public abstract File save(File directory)
      Saves the suite file in the specified directory and returns the file pathname.
      Parameters:
      directory - the directory where the suite file is to be saved.
      Returns:
      the file pathname of the saved file.
    • getSuiteBuffer

      public abstract XMLStringBuffer getSuiteBuffer()