org.codehaus.mojo.selenium
Class XvfbMojo
java.lang.Object
groovy.lang.GroovyObjectSupport
org.codehaus.gmaven.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.gmaven.mojo.GroovyMojo
- implements groovy.lang.GroovyObject
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 12871 2010-10-13 20:18:25Z olamy $
- Author:
- Jason Dillon
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.codehaus.gmaven.mojo.GroovyMojo |
fail, fail, 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 String getXvfbExecutable()
setXvfbExecutable
public void setXvfbExecutable(String value)
getXauthEnabled
public boolean getXauthEnabled()
isXauthEnabled
public boolean isXauthEnabled()
setXauthEnabled
public void setXauthEnabled(boolean value)
getXauthExecutable
public String getXauthExecutable()
setXauthExecutable
public void setXauthExecutable(String value)
getXauthProtocol
public String getXauthProtocol()
setXauthProtocol
public void setXauthProtocol(String value)
getAuthenticationFile
public File getAuthenticationFile()
setAuthenticationFile
public void setAuthenticationFile(File value)
getDEFAULT_DISPLAY_NUMBER
public static final int getDEFAULT_DISPLAY_NUMBER()
getDisplay
public String getDisplay()
setDisplay
public void setDisplay(String value)
getOptions
public String[] getOptions()
setOptions
public void setOptions(String[] value)
getDisplayPropertiesFile
public File getDisplayPropertiesFile()
setDisplayPropertiesFile
public void setDisplayPropertiesFile(File value)
getLogOutput
public boolean getLogOutput()
isLogOutput
public boolean isLogOutput()
setLogOutput
public void setLogOutput(boolean value)
getLogFile
public File getLogFile()
setLogFile
public void setLogFile(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)
getReuse
public boolean getReuse()
isReuse
public boolean isReuse()
setReuse
public void setReuse(boolean value)
getDISPLAY_FILE_PROP
public static final String getDISPLAY_FILE_PROP()
execute
public void execute()
- Specified by:
execute in interface org.apache.maven.plugin.Mojo
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject- Overrides:
getMetaClass in class groovy.lang.GroovyObjectSupport
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject- Overrides:
setMetaClass in class groovy.lang.GroovyObjectSupport
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class groovy.lang.GroovyObjectSupport
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class org.codehaus.gmaven.mojo.GroovyMojo
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class groovy.lang.GroovyObjectSupport
Copyright © 2006-2010 Codehaus. All Rights Reserved.