Package org.testng.xml
Class LaunchSuite.CustomizedSuite
java.lang.Object
org.testng.xml.LaunchSuite
org.testng.xml.LaunchSuite.CustomizedSuite
- Direct Known Subclasses:
LaunchSuite.ClassesAndMethodsSuite
,LaunchSuite.ClassListSuite
,LaunchSuite.MethodsSuite
- Enclosing class:
- LaunchSuite
CustomizedSuite
TODO cquezel JavaDoc.-
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 TypeFieldDescriptionThe annotation type.protected String
private XMLStringBuffer
The string buffer used to write the XML file.protected String
Fields inherited from class org.testng.xml.LaunchSuite
m_temporary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected XMLStringBuffer
TODO cquezel JavaDocTODO cquezel JavaDocprotected abstract void
initContentBuffer
(XMLStringBuffer suiteBuffer) Initializes the content of the xml string buffer.Saves the suite file in the specified directory and returns the file pathname.protected void
saveSuiteContent
(File file, XMLStringBuffer content) Saves the content of the string buffer to the specified file.Methods inherited from class org.testng.xml.LaunchSuite
isTemporary
-
Field Details
-
m_projectName
-
m_suiteName
-
m_parameters
The annotation type. May be null. -
m_suiteBuffer
The string buffer used to write the XML file.
-
-
Constructor Details
-
Method Details
-
createContentBuffer
TODO cquezel JavaDoc- Returns:
-
getSuiteBuffer
TODO cquezel JavaDoc- Specified by:
getSuiteBuffer
in classLaunchSuite
- Returns:
-
initContentBuffer
Initializes the content of the xml string buffer.- Parameters:
suiteBuffer
- the string buffer to initialize.
-
save
Saves the suite file in the specified directory and returns the file pathname. This implementation saves the suite to the "temp-testng-customsuite.xml" file in the specified directory.- 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.
-
saveSuiteContent
Saves the content of the string buffer to the specified file.- Parameters:
file
- the file to write to.content
- the content to write to the file.
-