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(java.io.File path)
          Constructs a ExistingSuite based on an existing file
 
Method Summary
 XMLStringBuffer getSuiteBuffer()
           
 java.io.File save(java.io.File directory)
          Trying to run an existing XML file: copy its content to where the plug-in expects it.
 
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(java.io.File path)
Constructs a ExistingSuite based on an existing file

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

getSuiteBuffer

public XMLStringBuffer getSuiteBuffer()
Specified by:
getSuiteBuffer in class LaunchSuite

save

public java.io.File save(java.io.File directory)
Trying to run an existing XML file: copy its content to where the plug-in expects it.

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 © 2011. All Rights Reserved.