Class ProviderConfiguration


  • public class ProviderConfiguration
    extends java.lang.Object
    Represents the surefire configuration that passes all the way into the provider classloader and the provider.
    Author:
    Jason van Zyl, Emmanuel Venisse, Kristian Rosenvold
    • Constructor Summary

      Constructors 
      Constructor Description
      ProviderConfiguration​(org.apache.maven.surefire.testset.DirectoryScannerParameters directoryScannerParameters, org.apache.maven.surefire.testset.RunOrderParameters runOrderParameters, boolean failIfNoTests, org.apache.maven.surefire.report.ReporterConfiguration reporterConfiguration, org.apache.maven.surefire.testset.TestArtifactInfo testArtifact, org.apache.maven.surefire.testset.TestRequest testSuiteDefinition, java.util.Map<java.lang.String,​java.lang.String> providerProperties, TypeEncodedValue typeEncodedTestSet, boolean readTestsFromInStream, java.util.List<org.apache.maven.surefire.cli.CommandLineOption> mainCliOptions, int skipAfterFailureCount, org.apache.maven.surefire.booter.Shutdown shutdown, java.lang.Integer systemExitTimeout)  
    • Constructor Detail

      • ProviderConfiguration

        public ProviderConfiguration​(org.apache.maven.surefire.testset.DirectoryScannerParameters directoryScannerParameters,
                                     org.apache.maven.surefire.testset.RunOrderParameters runOrderParameters,
                                     boolean failIfNoTests,
                                     org.apache.maven.surefire.report.ReporterConfiguration reporterConfiguration,
                                     org.apache.maven.surefire.testset.TestArtifactInfo testArtifact,
                                     org.apache.maven.surefire.testset.TestRequest testSuiteDefinition,
                                     java.util.Map<java.lang.String,​java.lang.String> providerProperties,
                                     TypeEncodedValue typeEncodedTestSet,
                                     boolean readTestsFromInStream,
                                     java.util.List<org.apache.maven.surefire.cli.CommandLineOption> mainCliOptions,
                                     int skipAfterFailureCount,
                                     org.apache.maven.surefire.booter.Shutdown shutdown,
                                     java.lang.Integer systemExitTimeout)
    • Method Detail

      • getReporterConfiguration

        public org.apache.maven.surefire.report.ReporterConfiguration getReporterConfiguration()
      • isFailIfNoTests

        public boolean isFailIfNoTests()
      • getBaseDir

        public java.io.File getBaseDir()
      • getDirScannerParams

        public org.apache.maven.surefire.testset.DirectoryScannerParameters getDirScannerParams()
      • getIncludes

        @Deprecated
        public java.util.List getIncludes()
        Deprecated.
      • getExcludes

        @Deprecated
        public java.util.List getExcludes()
        Deprecated.
      • getTestArtifact

        public org.apache.maven.surefire.testset.TestArtifactInfo getTestArtifact()
      • getTestSuiteDefinition

        public org.apache.maven.surefire.testset.TestRequest getTestSuiteDefinition()
      • getProviderProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProviderProperties()
      • getRunOrderParameters

        public org.apache.maven.surefire.testset.RunOrderParameters getRunOrderParameters()
      • isReadTestsFromInStream

        public boolean isReadTestsFromInStream()
      • getMainCliOptions

        public java.util.List<org.apache.maven.surefire.cli.CommandLineOption> getMainCliOptions()
      • getSkipAfterFailureCount

        public int getSkipAfterFailureCount()
      • getShutdown

        public org.apache.maven.surefire.booter.Shutdown getShutdown()
      • getSystemExitTimeout

        public java.lang.Integer getSystemExitTimeout()
      • systemExitTimeout

        public long systemExitTimeout​(long fallback)