raccoon.core.uitest.data
Class SuiteLoader
java.lang.Object
raccoon.core.badhnati.castor.CastorParser
raccoon.core.uitest.data.SuiteLoader
public class SuiteLoader
- extends CastorParser
Convenience class that loads the configuration elements from the XML file.
Used mainly by Unit and Integration Tester component available in Raccoon.
- Since:
- Raccoon v0.7
- Version:
- $Id: SuiteLoader.java,v 1.1 2004/08/08 20:19:18 crouvrais Exp $
- Author:
- Cedric ROUVRAIS
Constructor Summary |
SuiteLoader()
Default constructor, required for dynamic instanciation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuiteLoader
public SuiteLoader()
- Default constructor, required for dynamic instanciation.
loadTestInformation
public UiSuite loadTestInformation(java.lang.String pTestFileName)
throws RaccoonException
- Reads the XML file and converts the data into java beans using Castor XML.
- Parameters:
pTestFileName
- the name of the configuration file that contains the data for Raccoon.
- Returns:
- the loaded configuration information for the Unit and Integration Tester component.
- Throws:
RaccoonException
- if the file is corrupted or invalid.
loadTestInformation
public UiSuite loadTestInformation(java.lang.Class pSrcClass,
java.lang.String pTestFileName)
throws RaccoonException
- Reads the XML file and converts the data into java beans using Castor XML.
- Parameters:
pSrcClass
- the class that has requested the load.pTestFileName
- the name of the configuration file that contains the data for Raccoon.
- Returns:
- the loaded configuration information for the Unit and Integration Tester component.
- Throws:
RaccoonException
- if the file is corrupted or invalid.
writeTestInformation
public void writeTestInformation(java.lang.String pFileName,
UiSuite pUiSuite)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright null null. All Rights Reserved.