Package org.testng.xml
Class LaunchSuite
- java.lang.Object
-
- org.testng.xml.LaunchSuite
-
- Direct Known Subclasses:
LaunchSuite.CustomizedSuite
,LaunchSuite.ExistingSuite
public abstract class LaunchSuite extends java.lang.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...
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LaunchSuite.ClassesAndMethodsSuite
(package private) static class
LaunchSuite.ClassListSuite
ClassListSuite
TODO cquezel JavaDoc.private static class
LaunchSuite.CustomizedSuite
CustomizedSuite
TODO cquezel JavaDoc.static class
LaunchSuite.ExistingSuite
ExistingSuite
is a non-temporary LaunchSuite based on an existing file.(package private) static class
LaunchSuite.MethodsSuite
AMethodsSuite
is a suite made up of methods.
-
Field Summary
Fields Modifier and Type Field Description private static Logger
LOGGER
This class's log4testng Logger.protected boolean
m_temporary
-
Constructor Summary
Constructors Modifier Constructor Description protected
LaunchSuite(boolean isTemp)
Constructs aLaunchSuite
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract XMLStringBuffer
getSuiteBuffer()
boolean
isTemporary()
Returns the temporary state.abstract java.io.File
save(java.io.File directory)
Saves the suite file in the specified directory and returns the file pathname.
-
-
-
Field Detail
-
LOGGER
private static final Logger LOGGER
This class's log4testng Logger.
-
m_temporary
protected boolean m_temporary
-
-
Method Detail
-
isTemporary
public boolean isTemporary()
Returns the temporary state.- Returns:
- the temporary state.
-
save
public abstract java.io.File save(java.io.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()
-
-