org.apache.pluto.testsuite
Class TestConfigFactory

java.lang.Object
  extended by org.apache.pluto.testsuite.TestConfigFactory

public class TestConfigFactory
extends java.lang.Object

Test configuration factory that reads and parses testsuite config file using Digester and constructs TestConfig objects.

See Also:
TestConfig

Constructor Summary
TestConfigFactory()
          Creates a factory instance.
 
Method Summary
 java.util.List<TestConfig> createTestConfigs(java.io.InputStream in)
          Reads and parses testsuite config file, creates a list of TestConfig objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConfigFactory

public TestConfigFactory()
Creates a factory instance.

Method Detail

createTestConfigs

public java.util.List<TestConfig> createTestConfigs(java.io.InputStream in)
                                             throws org.xml.sax.SAXException,
                                                    java.io.IOException
Reads and parses testsuite config file, creates a list of TestConfig objects.

Parameters:
in - the input stream of the testsuite config file.
Returns:
a list of TestConfig objects.
Throws:
org.xml.sax.SAXException - if a parsing error occurs.
java.io.IOException - if an IO error occurs.
See Also:
TestConfig


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.