All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.junit.runners.model.RunnerScheduler Maven / Gradle / Ivy

Go to download

JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.

There is a newer version: 4.13.2
Show newest version
package org.junit.runners.model;

/**
 * Represents a strategy for scheduling when individual test methods
 * should be run (in serial or parallel)
 *
 * WARNING: still experimental, may go away.
 *
 * @since 4.7
 */
public interface RunnerScheduler {
    /**
     * Schedule a child statement to run
     */
    void schedule(Runnable childStatement);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy