
de.bechte.junit.runners.context.description.Describer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-hierarchicalcontextrunner Show documentation
Show all versions of junit-hierarchicalcontextrunner Show documentation
This is a runner implementation that supports context hierarchies in JUnit. For more
details please visit: https://github.com/bechte/junit-hierarchicalcontextrunner/wiki
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