org.codehaus.mojo.selenium
Class XvfbMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.groovy.maven.mojo.GroovyMojo
org.codehaus.mojo.selenium.XvfbMojo
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class XvfbMojo
- extends org.codehaus.groovy.maven.mojo.GroovyMojo
Starts an Xvfb instance suitable for handling X11 displays for headless systems.
Use this in combonation with the start-server goal to allow browsers
to be launched on headless unix systems.
Optionally uses 'xauth' to setup authentication for the Xvfb instance to allow running tests using the
frame buffer server when another X server is already running.
- Since:
- 1.0-beta-2
- Version:
- $Id: XvfbMojo.groovy 6795 2008-04-18 16:09:59Z user57 $
Fields inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo |
__timeStamp, __timeStamp__239_neverHappen1273605228808, sanitizeErrors |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo |
afterExecute, beforeExecute, fail, fail, getAnt |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XvfbMojo
public XvfbMojo()
getXvfbExecutable
public java.lang.String getXvfbExecutable()
setXvfbExecutable
public void setXvfbExecutable(java.lang.String value)
getXauthEnabled
public boolean getXauthEnabled()
isXauthEnabled
public boolean isXauthEnabled()
setXauthEnabled
public void setXauthEnabled(boolean value)
getXauthExecutable
public java.lang.String getXauthExecutable()
setXauthExecutable
public void setXauthExecutable(java.lang.String value)
getXauthProtocol
public java.lang.String getXauthProtocol()
setXauthProtocol
public void setXauthProtocol(java.lang.String value)
getAuthenticationFile
public java.io.File getAuthenticationFile()
setAuthenticationFile
public void setAuthenticationFile(java.io.File value)
getDEFAULT_DISPLAY_NUMBER
public static final int getDEFAULT_DISPLAY_NUMBER()
getDisplay
public java.lang.String getDisplay()
setDisplay
public void setDisplay(java.lang.String value)
getOptions
public java.lang.String[] getOptions()
setOptions
public void setOptions(java.lang.String[] value)
getDisplayPropertiesFile
public java.io.File getDisplayPropertiesFile()
setDisplayPropertiesFile
public void setDisplayPropertiesFile(java.io.File value)
getLogOutput
public boolean getLogOutput()
isLogOutput
public boolean isLogOutput()
setLogOutput
public void setLogOutput(boolean value)
getLogFile
public java.io.File getLogFile()
setLogFile
public void setLogFile(java.io.File value)
getBackground
public boolean getBackground()
isBackground
public boolean isBackground()
setBackground
public void setBackground(boolean value)
getSkip
public boolean getSkip()
isSkip
public boolean isSkip()
setSkip
public void setSkip(boolean value)
execute
public void execute()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
getMetaClass
in class org.codehaus.groovy.maven.mojo.GroovyMojo
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
setMetaClass
in class org.codehaus.groovy.maven.mojo.GroovyMojo
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class org.codehaus.groovy.maven.mojo.GroovyMojo
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class org.codehaus.groovy.maven.mojo.GroovyMojo
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class org.codehaus.groovy.maven.mojo.GroovyMojo
Copyright © 2006-2010. All Rights Reserved.