public static class AbstractSurefireMojoJava7PlusTest.Mojo extends AbstractSurefireMojo
basedir, skip, skipExec, skipTests, testClassesDirectory
ROLE
Constructor and Description |
---|
Mojo() |
addPluginSpecificChecksumItems, cleanupForkConfiguration, convertWithCoreCount, createCopyAndReplaceForkNumPlaceholder, createProviders, effectiveIsEnableAssertions, execute, getAdditionalClasspathElements, getArgLine, getClassLoaderConfiguration, getClasspathDependencyExcludes, getClasspathDependencyScopeExclude, getConsoleLogger, getDependenciesToScan, getEffectiveForkCount, getEnvironmentVariables, getExcludedGroups, getFailIfNoTests, getForkCount, 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, logDebugOrCliShowErrors, logReportsDirectory, setAdditionalClasspathElements, setArgLine, setChildDelegation, setClasspathDependencyExcludes, setClasspathDependencyScopeExclude, setDependenciesToScan, setDisableXmlReport, setEnableAssertions, setEnvironmentVariables, setExcludedGroups, setFailIfNoTests, setGroups, setJdkToolchain, setJunitArtifactName, setLocalRepository, setObjectFactory, setParallel, setParallelOptimized, setPerCoreThreadCount, setPluginArtifactMap, setProject, setProjectArtifactMap, setProjectBuildDirectory, setProjectRemoteRepositories, setProperties, setRedirectTestOutputToFile, setRemoteRepositories, setReportNameSuffix, setRepositorySystem, setResolutionErrorHandler, setSession, setSystemProperties, setSystemPropertyVariables, setTempDir, setTestNGArtifactName, setTestSourceDirectory, setThreadCount, setThreadCountClasses, setThreadCountMethods, setThreadCountSuites, setToolchainManager, setTrimStackTrace, setUseUnlimitedThreads, setWorkingDirectory, warnIfIllegalFailOnFlakeCount
getLog, getPluginContext, setLog, setPluginContext
protected String getPluginName()
getPluginName
in class AbstractSurefireMojo
protected int getRerunFailingTestsCount()
getRerunFailingTestsCount
in class AbstractSurefireMojo
public boolean isSkipTests()
public void setSkipTests(boolean skipTests)
public boolean isSkipExec()
public void setSkipExec(boolean skipExec)
public boolean isSkip()
public void setSkip(boolean skip)
public File getBasedir()
public void setBasedir(File basedir)
public File getTestClassesDirectory()
public void setTestClassesDirectory(File testClassesDirectory)
public File getMainBuildPath()
public void setMainBuildPath(File mainBuildPath)
public File getReportsDirectory()
public void setReportsDirectory(File reportsDirectory)
public String getTest()
public void setTest(String test)
public List<String> getIncludes()
getIncludes
in interface SurefireExecutionParameters
getIncludes
in class AbstractSurefireMojo
public File getIncludesFile()
getIncludesFile
in class AbstractSurefireMojo
public void setIncludes(List<String> includes)
setIncludes
in interface SurefireExecutionParameters
setIncludes
in class AbstractSurefireMojo
public boolean isPrintSummary()
public void setPrintSummary(boolean printSummary)
public String getReportFormat()
public void setReportFormat(String reportFormat)
public boolean isUseFile()
public void setUseFile(boolean useFile)
public String getDebugForkedProcess()
public void setDebugForkedProcess(String debugForkedProcess)
public int getForkedProcessTimeoutInSeconds()
public void setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)
public int getForkedProcessExitTimeoutInSeconds()
public void setForkedProcessExitTimeoutInSeconds(int forkedProcessTerminationTimeoutInSeconds)
public double getParallelTestsTimeoutInSeconds()
public void setParallelTestsTimeoutInSeconds(double parallelTestsTimeoutInSeconds)
public double getParallelTestsTimeoutForcedInSeconds()
public void setParallelTestsTimeoutForcedInSeconds(double parallelTestsTimeoutForcedInSeconds)
public boolean isUseSystemClassLoader()
public void setUseSystemClassLoader(boolean useSystemClassLoader)
public boolean isUseManifestOnlyJar()
public void setUseManifestOnlyJar(boolean useManifestOnlyJar)
public String getEncoding()
public void setEncoding(String encoding)
public boolean getFailIfNoSpecifiedTests()
public void setFailIfNoSpecifiedTests(boolean failIfNoSpecifiedTests)
public int getSkipAfterFailureCount()
public String getShutdown()
public File getExcludesFile()
getExcludesFile
in class AbstractSurefireMojo
protected List<File> suiteXmlFiles()
suiteXmlFiles
in class AbstractSurefireMojo
protected boolean hasSuiteXmlFiles()
hasSuiteXmlFiles
in class AbstractSurefireMojo
protected String[] getExcludedEnvironmentVariables()
getExcludedEnvironmentVariables
in class AbstractSurefireMojo
public File[] getSuiteXmlFiles()
getSuiteXmlFiles
in class AbstractSurefireMojo
public void setSuiteXmlFiles(File[] suiteXmlFiles)
setSuiteXmlFiles
in class AbstractSurefireMojo
public String getRunOrder()
getRunOrder
in class AbstractSurefireMojo
public void setRunOrder(String runOrder)
setRunOrder
in class AbstractSurefireMojo
public Long getRunOrderRandomSeed()
getRunOrderRandomSeed
in class AbstractSurefireMojo
public void setRunOrderRandomSeed(Long runOrderRandomSeed)
setRunOrderRandomSeed
in class AbstractSurefireMojo
protected void handleSummary(RunResult summary, Exception firstForkException)
handleSummary
in class AbstractSurefireMojo
protected boolean isSkipExecution()
isSkipExecution
in class AbstractSurefireMojo
protected String[] getDefaultIncludes()
getDefaultIncludes
in class AbstractSurefireMojo
protected String getReportSchemaLocation()
getReportSchemaLocation
in class AbstractSurefireMojo
protected boolean useModulePath()
useModulePath
in class AbstractSurefireMojo
protected void setUseModulePath(boolean useModulePath)
setUseModulePath
in class AbstractSurefireMojo
protected String getEnableProcessChecker()
getEnableProcessChecker
in class AbstractSurefireMojo
protected org.apache.maven.surefire.extensions.ForkNodeFactory getForkNode()
getForkNode
in class AbstractSurefireMojo
protected org.apache.maven.artifact.Artifact getMojoArtifact()
getMojoArtifact
in class AbstractSurefireMojo
public File getSystemPropertiesFile()
getSystemPropertiesFile
in class AbstractSurefireMojo
public void setSystemPropertiesFile(File systemPropertiesFile)
setSystemPropertiesFile
in class AbstractSurefireMojo
public String[] getIncludeJUnit5Engines()
public void setIncludeJUnit5Engines(String[] includeJUnit5Engines)
public String[] getExcludeJUnit5Engines()
public void setExcludeJUnit5Engines(String[] excludeJUnit5Engines)
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.