public static class AbstractSurefireMojoTest.Mojo extends org.apache.maven.plugin.surefire.AbstractSurefireMojo implements org.apache.maven.plugin.surefire.SurefireReportParameters
basedir, skip, skipExec, skipTests
Constructor and Description |
---|
Mojo() |
addPluginSpecificChecksumItems, cleanupForkConfiguration, convertWithCoreCount, createCopyAndReplaceForkNumPlaceholder, createProviders, effectiveIsEnableAssertions, execute, getAdditionalClasspathElements, getArgLine, getClassLoaderConfiguration, getClasspathDependencyExcludes, getClasspathDependencyScopeExclude, getConsoleLogger, getDependenciesToScan, getDependencyResolver, getEffectiveForkCount, getEnvironmentVariables, getExcludedGroups, getExcludes, getFailIfNoTests, getForkCount, getForkMode, getGroups, getJdkToolchain, getJunitArtifactName, getJvm, getLocalRepository, getObjectFactory, getParallel, getPerCoreThreadCount, getPluginArtifactMap, getPluginDescriptor, getProject, getProjectArtifactMap, getProjectBuildDirectory, getProjectRemoteRepositories, getRemoteRepositories, getReportNameSuffix, getRepositorySystem, getSession, getSpecificTests, getSystemProperties, getSystemPropertyVariables, getTempDir, getTestNGArtifactName, getTestSourceDirectory, getThreadCount, getThreadCountClasses, getThreadCountMethods, getThreadCountSuites, getToolchainManager, getUseUnlimitedThreads, getWorkingDirectory, hasExecutedBefore, isAnyConcurrencySelected, isAnyGroupsSelected, isChildDelegation, isDisableXmlReport, isEnableAssertions, isForking, isMavenParallel, isParallelOptimized, isRedirectTestOutputToFile, isReuseForks, isTrimStackTrace, logReportsDirectory, setAdditionalClasspathElements, setArgLine, setChildDelegation, setClasspathDependencyExcludes, setClasspathDependencyScopeExclude, setDependenciesToScan, setDependencyResolver, setDisableXmlReport, setEnableAssertions, setEnvironmentVariables, setExcludedGroups, setExcludes, setFailIfNoTests, setForkMode, setGroups, setJdkToolchain, setJunitArtifactName, setLocalRepository, setObjectFactory, setParallel, setParallelOptimized, setPerCoreThreadCount, setPluginArtifactMap, setProject, setProjectArtifactMap, setProjectBuildDirectory, setProjectRemoteRepositories, setProperties, setRedirectTestOutputToFile, setRemoteRepositories, setReportNameSuffix, setRepositorySystem, setSession, setSystemProperties, setSystemPropertyVariables, setTempDir, setTestNGArtifactName, setTestSourceDirectory, setThreadCount, setThreadCountClasses, setThreadCountMethods, setThreadCountSuites, setToolchainManager, setTrimStackTrace, setUseUnlimitedThreads, setWorkingDirectory
getLog, getPluginContext, setLog, setPluginContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFailIfNoTests, setFailIfNoTests
protected void logDebugOrCliShowErrors(String s)
logDebugOrCliShowErrors
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected String getPluginName()
getPluginName
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected int getRerunFailingTestsCount()
getRerunFailingTestsCount
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public boolean isSkipTests()
isSkipTests
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
isSkipTests
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public void setSkipTests(boolean skipTests)
setSkipTests
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
setSkipTests
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public boolean isSkipExec()
isSkipExec
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
isSkipExec
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public void setSkipExec(boolean skipExec)
setSkipExec
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
setSkipExec
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public boolean isSkip()
isSkip
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
isSkip
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public void setSkip(boolean skip)
setSkip
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
setSkip
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public boolean isTestFailureIgnore()
isTestFailureIgnore
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public void setTestFailureIgnore(boolean testFailureIgnore)
setTestFailureIgnore
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public File getBasedir()
getBasedir
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
getBasedir
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public void setBasedir(File basedir)
setBasedir
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
setBasedir
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public File getTestClassesDirectory()
getTestClassesDirectory
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
getTestClassesDirectory
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public void setTestClassesDirectory(File testClassesDirectory)
setTestClassesDirectory
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
setTestClassesDirectory
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public File getMainBuildPath()
getMainBuildPath
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setMainBuildPath(File mainBuildPath)
setMainBuildPath
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public File getReportsDirectory()
getReportsDirectory
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
getReportsDirectory
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public void setReportsDirectory(File reportsDirectory)
setReportsDirectory
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
setReportsDirectory
in interface org.apache.maven.plugin.surefire.SurefireReportParameters
public String getTest()
getTest
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setTest(String test)
setTest
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public List<String> getIncludes()
getIncludes
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
getIncludes
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public File getIncludesFile()
getIncludesFile
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public void setIncludes(List<String> includes)
setIncludes
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
setIncludes
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public boolean isPrintSummary()
isPrintSummary
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setPrintSummary(boolean printSummary)
setPrintSummary
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public String getReportFormat()
getReportFormat
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setReportFormat(String reportFormat)
setReportFormat
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public boolean isUseFile()
isUseFile
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setUseFile(boolean useFile)
setUseFile
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public String getDebugForkedProcess()
getDebugForkedProcess
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setDebugForkedProcess(String debugForkedProcess)
setDebugForkedProcess
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public int getForkedProcessTimeoutInSeconds()
getForkedProcessTimeoutInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)
setForkedProcessTimeoutInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public int getForkedProcessExitTimeoutInSeconds()
getForkedProcessExitTimeoutInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setForkedProcessExitTimeoutInSeconds(int forkedProcessTerminationTimeoutInSeconds)
setForkedProcessExitTimeoutInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public double getParallelTestsTimeoutInSeconds()
getParallelTestsTimeoutInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setParallelTestsTimeoutInSeconds(double parallelTestsTimeoutInSeconds)
setParallelTestsTimeoutInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public double getParallelTestsTimeoutForcedInSeconds()
getParallelTestsTimeoutForcedInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setParallelTestsTimeoutForcedInSeconds(double parallelTestsTimeoutForcedInSeconds)
setParallelTestsTimeoutForcedInSeconds
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public boolean isUseSystemClassLoader()
isUseSystemClassLoader
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setUseSystemClassLoader(boolean useSystemClassLoader)
setUseSystemClassLoader
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public boolean isUseManifestOnlyJar()
isUseManifestOnlyJar
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setUseManifestOnlyJar(boolean useManifestOnlyJar)
setUseManifestOnlyJar
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public String getEncoding()
getEncoding
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setEncoding(String encoding)
setEncoding
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public Boolean getFailIfNoSpecifiedTests()
getFailIfNoSpecifiedTests
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public void setFailIfNoSpecifiedTests(boolean failIfNoSpecifiedTests)
setFailIfNoSpecifiedTests
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public int getSkipAfterFailureCount()
getSkipAfterFailureCount
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public String getShutdown()
getShutdown
in interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
public File getExcludesFile()
getExcludesFile
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected List<File> suiteXmlFiles()
suiteXmlFiles
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected boolean hasSuiteXmlFiles()
hasSuiteXmlFiles
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected String[] getExcludedEnvironmentVariables()
getExcludedEnvironmentVariables
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public File[] getSuiteXmlFiles()
getSuiteXmlFiles
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public void setSuiteXmlFiles(File[] suiteXmlFiles)
setSuiteXmlFiles
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public String getRunOrder()
getRunOrder
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public void setRunOrder(String runOrder)
setRunOrder
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected void handleSummary(org.apache.maven.surefire.api.suite.RunResult summary, Exception firstForkException)
handleSummary
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected boolean isSkipExecution()
isSkipExecution
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected String[] getDefaultIncludes()
getDefaultIncludes
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected String getReportSchemaLocation()
getReportSchemaLocation
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected boolean useModulePath()
useModulePath
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected void setUseModulePath(boolean useModulePath)
setUseModulePath
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected String getEnableProcessChecker()
getEnableProcessChecker
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected ForkNodeFactory getForkNode()
getForkNode
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
protected Artifact getMojoArtifact()
getMojoArtifact
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public File getSystemPropertiesFile()
getSystemPropertiesFile
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public void setSystemPropertiesFile(File systemPropertiesFile)
setSystemPropertiesFile
in class org.apache.maven.plugin.surefire.AbstractSurefireMojo
public void setToolchain(Toolchain toolchain)
public void setJvm(String jvm)
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.