Package org.testng.xml
Class LaunchSuite
java.lang.Object
org.testng.xml.LaunchSuite
- Direct Known Subclasses:
LaunchSuite.CustomizedSuite
,LaunchSuite.ExistingSuite
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 ClassesModifier and TypeClassDescription(package private) static class
(package private) static class
ClassListSuite
TODO cquezel JavaDoc.private static class
CustomizedSuite
TODO cquezel JavaDoc.static class
ExistingSuite
is a non-temporary LaunchSuite based on an existing file.(package private) static class
AMethodsSuite
is a suite made up of methods. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Logger
This class's log4testng Logger.protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XMLStringBuffer
boolean
Returns the temporary state.abstract File
Saves the suite file in the specified directory and returns the file pathname.
-
Field Details
-
LOGGER
This class's log4testng Logger. -
m_temporary
protected boolean m_temporary
-
-
Constructor Details
-
LaunchSuite
protected LaunchSuite(boolean isTemp) Constructs aLaunchSuite
- Parameters:
isTemp
- the temporary status
-
-
Method Details
-
isTemporary
public boolean isTemporary()Returns the temporary state.- Returns:
- the temporary state.
-
save
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
-