public class BaseProviderFactory extends Object implements SurefireClassLoadersAware, ProviderParameters
Constructor and Description |
---|
BaseProviderFactory(ReporterFactory reporterFactory,
Boolean insideFork) |
Modifier and Type | Method and Description |
---|---|
ConsoleLogger |
getConsoleLogger()
Gets a logger intended for console output.
|
DirectoryScanner |
getDirectoryScanner()
Provides a directory scanner that enforces the includes/excludes parameters that were passed to surefire.
|
DirectoryScannerParameters |
getDirectoryScannerParameters()
The raw parameters used in creating the directory scanner
|
Properties |
getProviderProperties()
The per-provider specific properties that may come all the way from the plugin's properties setting.
|
ReporterConfiguration |
getReporterConfiguration()
The raw parameters used in creating the ReporterManagerFactory
|
ReporterFactory |
getReporterFactory()
Provides features for creating reporting objects
|
RunOrderCalculator |
getRunOrderCalculator()
Provides a service to calculate run order of tests.
|
ScanResult |
getScanResult()
Provides the result of the directory scan performed in the plugin
|
TestArtifactInfo |
getTestArtifactInfo()
Artifact info about the artifact used to autodetect provider
|
ClassLoader |
getTestClassLoader()
The class loader for the tests
|
TestRequest |
getTestRequest()
Contains information about requested test suites or individual tests from the command line.
|
void |
setClassLoaders(ClassLoader testClassLoader) |
void |
setDirectoryScannerParameters(DirectoryScannerParameters directoryScannerParameters) |
void |
setProviderProperties(Properties providerProperties) |
void |
setReporterConfiguration(ReporterConfiguration reporterConfiguration) |
void |
setRunOrderParameters(RunOrderParameters runOrderParameters) |
void |
setTestArtifactInfo(TestArtifactInfo testArtifactInfo) |
void |
setTestRequest(TestRequest testRequest) |
public BaseProviderFactory(ReporterFactory reporterFactory, Boolean insideFork)
public DirectoryScanner getDirectoryScanner()
ProviderParameters
getDirectoryScanner
in interface ProviderParameters
public ScanResult getScanResult()
ProviderParameters
getScanResult
in interface ProviderParameters
public RunOrderCalculator getRunOrderCalculator()
ProviderParameters
getRunOrderCalculator
in interface ProviderParameters
public ReporterFactory getReporterFactory()
ProviderParameters
getReporterFactory
in interface ProviderParameters
public void setDirectoryScannerParameters(DirectoryScannerParameters directoryScannerParameters)
public void setReporterConfiguration(ReporterConfiguration reporterConfiguration)
public void setClassLoaders(ClassLoader testClassLoader)
setClassLoaders
in interface SurefireClassLoadersAware
public ConsoleLogger getConsoleLogger()
ProviderParameters
getConsoleLogger
in interface ProviderParameters
public void setTestRequest(TestRequest testRequest)
public DirectoryScannerParameters getDirectoryScannerParameters()
ProviderParameters
getDirectoryScannerParameters
in interface ProviderParameters
public ReporterConfiguration getReporterConfiguration()
ProviderParameters
getReporterConfiguration
in interface ProviderParameters
public TestRequest getTestRequest()
ProviderParameters
getTestRequest
in interface ProviderParameters
public ClassLoader getTestClassLoader()
ProviderParameters
getTestClassLoader
in interface ProviderParameters
public void setProviderProperties(Properties providerProperties)
public Properties getProviderProperties()
ProviderParameters
getProviderProperties
in interface ProviderParameters
public TestArtifactInfo getTestArtifactInfo()
ProviderParameters
getTestArtifactInfo
in interface ProviderParameters
public void setTestArtifactInfo(TestArtifactInfo testArtifactInfo)
public void setRunOrderParameters(RunOrderParameters runOrderParameters)
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.