Class LaunchSuite.ExistingSuite

java.lang.Object
org.testng.xml.LaunchSuite
org.testng.xml.LaunchSuite.ExistingSuite
Enclosing class:
LaunchSuite

public static class LaunchSuite.ExistingSuite extends LaunchSuite
ExistingSuite is a non-temporary LaunchSuite based on an existing file.
  • Field Details

    • m_suitePath

      private File m_suitePath
      The existing suite path (either relative to the project root or an absolute path)
  • Constructor Details

    • ExistingSuite

      public ExistingSuite(File path)
      Constructs a ExistingSuite based on an existing file
      Parameters:
      path - the path to the existing Launch suite.
  • Method Details

    • getSuiteBuffer

      public XMLStringBuffer getSuiteBuffer()
      Specified by:
      getSuiteBuffer in class LaunchSuite
    • save

      public File save(File directory)
      Trying to run an existing XML file: copy its content to where the plug-in expects it.
      Specified by:
      save in class LaunchSuite
      Parameters:
      directory - the directory where the suite file is to be saved.
      Returns:
      the file pathname of the saved file.