org.apache.pluto.testsuite
Class TestConfigFactory

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

public class TestConfigFactory
extends 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
 List<TestConfig> createTestConfigs(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 List<TestConfig> createTestConfigs(InputStream in)
                                   throws SAXException,
                                          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:
SAXException - if a parsing error occurs.
IOException - if an IO error occurs.
See Also:
TestConfig


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