Package org.testng.xml
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.testng.xml.LaunchSuite
LaunchSuite.ExistingSuite
-
-
Field Summary
-
Fields inherited from class org.testng.xml.LaunchSuite
m_temporary
-
-
Constructor Summary
Constructors Constructor Description ExistingSuite(java.io.File path)
Constructs aExistingSuite
based on an existing file
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLStringBuffer
getSuiteBuffer()
java.io.File
save(java.io.File directory)
Trying to run an existing XML file: copy its content to where the plug-in expects it.-
Methods inherited from class org.testng.xml.LaunchSuite
isTemporary
-
-
-
-
Method Detail
-
getSuiteBuffer
public XMLStringBuffer getSuiteBuffer()
- Specified by:
getSuiteBuffer
in classLaunchSuite
-
save
public java.io.File save(java.io.File directory)
Trying to run an existing XML file: copy its content to where the plug-in expects it.- Specified by:
save
in classLaunchSuite
- Parameters:
directory
- the directory where the suite file is to be saved.- Returns:
- the file pathname of the saved file.
-
-