org.apache.maven.surefire.testng.conf
Class AbstractDirectConfigurator

java.lang.Object
  extended by org.apache.maven.surefire.testng.conf.AbstractDirectConfigurator
All Implemented Interfaces:
Configurator
Direct Known Subclasses:
TestNG4751Configurator, TestNG52Configurator

public abstract class AbstractDirectConfigurator
extends Object
implements Configurator

Configurator that relies on reflection to set parameters in TestNG


Nested Class Summary
static class AbstractDirectConfigurator.Setter
          Describes a property setter by method name and parameter class
 
Method Summary
 void configure(org.testng.TestNG testng, Map options)
           
 void configure(org.testng.xml.XmlSuite suite, Map options)
           
protected  Map filterForSuite(Map options)
           
static Class loadClass(String className)
           
static List loadListenerClasses(String listenerClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

configure

public void configure(org.testng.TestNG testng,
                      Map options)
               throws org.apache.maven.surefire.testset.TestSetFailedException
Specified by:
configure in interface Configurator
Throws:
org.apache.maven.surefire.testset.TestSetFailedException

configure

public void configure(org.testng.xml.XmlSuite suite,
                      Map options)
               throws org.apache.maven.surefire.testset.TestSetFailedException
Specified by:
configure in interface Configurator
Throws:
org.apache.maven.surefire.testset.TestSetFailedException

filterForSuite

protected Map filterForSuite(Map options)

loadListenerClasses

public static List loadListenerClasses(String listenerClasses)
                                throws org.apache.maven.surefire.testset.TestSetFailedException
Throws:
org.apache.maven.surefire.testset.TestSetFailedException

loadClass

public static Class loadClass(String className)
                       throws org.apache.maven.surefire.testset.TestSetFailedException
Throws:
org.apache.maven.surefire.testset.TestSetFailedException


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.