Class InPluginVMSurefireStarter


  • public class InPluginVMSurefireStarter
    extends java.lang.Object
    Starts the provider in the same VM as the surefire plugin.
    This part of the booter is always guaranteed to be in the same vm as the tests will be run in.
    Author:
    Jason van Zyl, Brett Porter, Emmanuel Venisse, Dan Fabulich, Kristian Rosenvold
    • Constructor Summary

      Constructors 
      Constructor Description
      InPluginVMSurefireStarter​(org.apache.maven.surefire.booter.StartupConfiguration startupConfig, org.apache.maven.surefire.booter.ProviderConfiguration providerConfig, StartupReportConfiguration startupReportConfig, org.apache.maven.plugin.surefire.log.api.ConsoleLogger consoleLogger, Platform platform)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.maven.surefire.api.suite.RunResult runSuitesInProcess​(org.apache.maven.surefire.api.util.DefaultScanResult scanResult)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InPluginVMSurefireStarter

        public InPluginVMSurefireStarter​(@Nonnull
                                         org.apache.maven.surefire.booter.StartupConfiguration startupConfig,
                                         @Nonnull
                                         org.apache.maven.surefire.booter.ProviderConfiguration providerConfig,
                                         @Nonnull
                                         StartupReportConfiguration startupReportConfig,
                                         @Nonnull
                                         org.apache.maven.plugin.surefire.log.api.ConsoleLogger consoleLogger,
                                         @Nonnull
                                         Platform platform)
    • Method Detail

      • runSuitesInProcess

        public org.apache.maven.surefire.api.suite.RunResult runSuitesInProcess​(@Nonnull
                                                                                org.apache.maven.surefire.api.util.DefaultScanResult scanResult)
                                                                         throws org.apache.maven.surefire.booter.SurefireExecutionException,
                                                                                org.apache.maven.surefire.api.testset.TestSetFailedException
        Throws:
        org.apache.maven.surefire.booter.SurefireExecutionException
        org.apache.maven.surefire.api.testset.TestSetFailedException