Class AbstractDirectConfigurator

java.lang.Object
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
  • Method Details

    • configure

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

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

      protected Map<String,String> filterForSuite(Map<String,String> options)