Package org.testng.xml
Class LaunchSuite.ExistingSuite
java.lang.Object
org.testng.xml.LaunchSuite
org.testng.xml.LaunchSuite.ExistingSuite
- Enclosing class:
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.ClassesAndMethodsSuite, LaunchSuite.ClassListSuite, LaunchSuite.ExistingSuite, LaunchSuite.MethodsSuite -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FileThe existing suite path (either relative to the project root or an absolute path)Fields inherited from class org.testng.xml.LaunchSuite
m_temporary -
Constructor Summary
ConstructorsConstructorDescriptionExistingSuite(File path) Constructs aExistingSuitebased on an existing file -
Method Summary
Modifier and TypeMethodDescriptionTrying 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
-
Field Details
-
m_suitePath
The existing suite path (either relative to the project root or an absolute path)
-
-
Constructor Details
-
ExistingSuite
Constructs aExistingSuitebased on an existing file- Parameters:
path- the path to the existing Launch suite.
-
-
Method Details
-
getSuiteBuffer
- Specified by:
getSuiteBufferin classLaunchSuite
-
save
Trying to run an existing XML file: copy its content to where the plug-in expects it.- Specified by:
savein classLaunchSuite- Parameters:
directory- the directory where the suite file is to be saved.- Returns:
- the file pathname of the saved file.
-