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

de.bechte.junit.runners.context.processing.ChildExecutor Maven / Gradle / Ivy

Go to download

This is a runner implementation that supports context hierarchies in JUnit. For more details please visit: https://github.com/bechte/junit-hierarchicalcontextrunner/wiki

There is a newer version: 4.12.2
Show newest version
package de.bechte.junit.runners.context.processing;

import org.junit.runner.notification.RunNotifier;
import org.junit.runners.model.TestClass;

/**
 * A {@link ChildExecutor} is responsible for executing all tests for the given object. Typically, the
 * {@link ChildExecutor} is used together with the {@link ChildResolver}.
 *
 * @param  The type of object that tests get executed by the {@link ChildExecutor}.
 */
public interface ChildExecutor {
    /**
     * Runs the given object of type T and informs the {@link RunNotifier} about all notifications.
     *
     * @param testClass the corresponding {@link TestClass}
     * @param object the object of type T
     * @param notifier the {@link RunNotifier} to be notified
     */
    public abstract void run(final TestClass testClass, final T object, final RunNotifier notifier);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy