org.testng.xml
Class LaunchSuite.ExistingSuite

java.lang.Object
  extended by org.testng.xml.LaunchSuite
      extended by org.testng.xml.LaunchSuite.ExistingSuite
Enclosing class:
LaunchSuite

public static class LaunchSuite.ExistingSuite
extends 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.ExistingSuite
 
Field Summary
 
Fields inherited from class org.testng.xml.LaunchSuite
m_temporary
 
Constructor Summary
LaunchSuite.ExistingSuite(File path)
          Constructs a ExistingSuite based on an existing file
 
Method Summary
 File save(File directory)
          Saves the suite file in the specified directory and returns the file pathname.
 
Methods inherited from class org.testng.xml.LaunchSuite
isTemporary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchSuite.ExistingSuite

public LaunchSuite.ExistingSuite(File path)
Constructs a ExistingSuite based on an existing file

Parameters:
path - the path to the existing Launch suite.
Method Detail

save

public File save(File directory)
Saves the suite file in the specified directory and returns the file pathname. This implementation saves nothing because the suite file already exists.

Specified by:
save in class LaunchSuite
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.