Class AsynchronousRunner

  • All Implemented Interfaces:
    org.junit.runners.model.RunnerScheduler

    @Deprecated
    public class AsynchronousRunner
    extends java.lang.Object
    implements org.junit.runners.model.RunnerScheduler
    Deprecated.
    Since SUREFIRE 2.18 this class is deprecated. Please use ParallelComputerBuilder instead.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.ExecutorService fService
      Deprecated.
       
      private java.util.List<java.util.concurrent.Future<java.lang.Object>> futures
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      AsynchronousRunner​(java.util.concurrent.ExecutorService fService)
      Deprecated.
       
    • Field Detail

      • futures

        private final java.util.List<java.util.concurrent.Future<java.lang.Object>> futures
        Deprecated.
      • fService

        private final java.util.concurrent.ExecutorService fService
        Deprecated.
    • Constructor Detail

      • AsynchronousRunner

        public AsynchronousRunner​(java.util.concurrent.ExecutorService fService)
        Deprecated.
    • Method Detail

      • schedule

        public void schedule​(java.lang.Runnable childStatement)
        Deprecated.
        Specified by:
        schedule in interface org.junit.runners.model.RunnerScheduler
      • finished

        public void finished()
        Deprecated.
        Specified by:
        finished in interface org.junit.runners.model.RunnerScheduler
      • waitForCompletion

        public void waitForCompletion()
                               throws java.util.concurrent.ExecutionException
        Deprecated.
        Throws:
        java.util.concurrent.ExecutionException