接口 RunnerScheduler


  • public interface RunnerScheduler
    Represents a strategy for scheduling when individual test methods should be run (in serial or parallel) WARNING: still experimental, may go away.
    从以下版本开始:
    4.7
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      voidfinished()
      Override to implement any behavior that must occur after all children have been scheduled (for example, waiting for them all to finish)
      voidschedule​(Runnable childStatement)
      Schedule a child statement to run
    • 方法详细资料

      • schedule

        void schedule​(Runnable childStatement)
        Schedule a child statement to run
      • finished

        void finished()
        Override to implement any behavior that must occur after all children have been scheduled (for example, waiting for them all to finish)