RichFaces Arquillian Test Commons 4.3.3.Final

org.richfaces.arquillian.configuration
Class FundamentalTestConfiguration

java.lang.Object
  extended by org.richfaces.arquillian.configuration.FundamentalTestConfiguration
All Implemented Interfaces:
org.jboss.arquillian.drone.spi.DroneConfiguration<FundamentalTestConfiguration>

public class FundamentalTestConfiguration
extends Object
implements org.jboss.arquillian.drone.spi.DroneConfiguration<FundamentalTestConfiguration>


Constructor Summary
FundamentalTestConfiguration()
           
 
Method Summary
 FundamentalTestConfiguration configure(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor, Class<? extends Annotation> qualifier)
           
 boolean containerShouldBeUninstalled()
          Returns true if the container should be uninstalled after suite (default: true)
 String getConfigurationName()
           
 String getContainerConfiguration()
          Get the Maven dependency (GAV) for the artifact which contains a container configuration files
 String getContainerDistribution()
          Get the Maven dependency (GAV) for the container distribution artifact
 String getContainerHome()
          Get the directory in which the unpacked container distribution will be placed
 String getJsfImplementation()
          Get the Maven dependency (GAV) for the JSF implementation used for testing in servlet containers
 String getRichFacesVersion()
          Get version of RichFaces dependencies to use with the test.
 boolean isCurrentRichFacesVersion()
          Returns true when the RichFaces version setup for testing is same as current build version
 boolean servletContainerSetup()
          Add JSF to the WebArchive for support of plain Servlet containers (Tomcat, Jetty, etc.)
 void setContainerInstalledFromDistribution(boolean containerInstalledFromDistribution)
          Set the flag that the container was installed from distribution
 void validate()
          Validates the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FundamentalTestConfiguration

public FundamentalTestConfiguration()
Method Detail

getRichFacesVersion

public String getRichFacesVersion()
Get version of RichFaces dependencies to use with the test. By default, current project's version will be used.


isCurrentRichFacesVersion

public boolean isCurrentRichFacesVersion()
Returns true when the RichFaces version setup for testing is same as current build version


servletContainerSetup

public boolean servletContainerSetup()
Add JSF to the WebArchive for support of plain Servlet containers (Tomcat, Jetty, etc.)


getJsfImplementation

public String getJsfImplementation()
Get the Maven dependency (GAV) for the JSF implementation used for testing in servlet containers


getContainerDistribution

public String getContainerDistribution()
Get the Maven dependency (GAV) for the container distribution artifact


getContainerConfiguration

public String getContainerConfiguration()
Get the Maven dependency (GAV) for the artifact which contains a container configuration files


getContainerHome

public String getContainerHome()
Get the directory in which the unpacked container distribution will be placed


setContainerInstalledFromDistribution

public void setContainerInstalledFromDistribution(boolean containerInstalledFromDistribution)
Set the flag that the container was installed from distribution


containerShouldBeUninstalled

public boolean containerShouldBeUninstalled()
Returns true if the container should be uninstalled after suite (default: true)


validate

public void validate()
Validates the configuration


getConfigurationName

public String getConfigurationName()
Specified by:
getConfigurationName in interface org.jboss.arquillian.drone.spi.DroneConfiguration<FundamentalTestConfiguration>

configure

public FundamentalTestConfiguration configure(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor,
                                              Class<? extends Annotation> qualifier)
Specified by:
configure in interface org.jboss.arquillian.drone.spi.DroneConfiguration<FundamentalTestConfiguration>

RichFaces Arquillian Test Commons 4.3.3.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.