org.testng.xml
Class LaunchSuite
java.lang.Object
org.testng.xml.LaunchSuite
- Direct Known Subclasses:
- LaunchSuite.ExistingSuite
public abstract class LaunchSuite
- extends Object
Wrapper for real suites and custom configured suites.
Should only be used for integration purposes; creating a custom testng.xml
- Author:
- Alexandru Popescu
Nested Class Summary |
static class |
LaunchSuite.ExistingSuite
ExistingSuite is a non-temporary LaunchSuite based on an existing
file. |
Constructor Summary |
protected |
LaunchSuite(boolean isTemp)
Constructs a LaunchSuite |
Method Summary |
boolean |
isTemporary()
Returns the temporary state. |
abstract File |
save(File directory)
Saves the suite file in the specified directory and returns the file
pathname. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_temporary
protected boolean m_temporary
LaunchSuite
protected LaunchSuite(boolean isTemp)
- Constructs a
LaunchSuite
- Parameters:
isTemp
- the temporary status
isTemporary
public boolean isTemporary()
- Returns the temporary state.
- Returns:
- the temporary state.
save
public abstract File save(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.
Copyright © 2010. All Rights Reserved.