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

de.bechte.junit.runners.context.description.Describer 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.description;

import org.junit.runner.Description;

/**
 * A {@link Describer} is responsible for creating the {@link Description} for the given object.
 *
 * @param  The type of objects that the {@link Describer} can handle.
 */
public interface Describer {
    /**
     * Returns a {@link Description} for the given object of type T.
     *
     * @param object the object of type T
     * @return a {@link Description} of the object
     * @throws IllegalArgumentException if {@code object} is null
     */
    public Description describe(final T object);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy