
ar.com.dgarcia.javaspec.impl.model.SpecElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-spec Show documentation
Show all versions of java-spec Show documentation
Junit testing extension to allow specs expressibility
The newest version!
package ar.com.dgarcia.javaspec.impl.model;
import java.util.List;
/**
* This type represents a java spec element that has a name
* Created by kfgodel on 12/07/14.
*/
public interface SpecElement {
/**
* The name identifying this element
* @return The name given by definition of this element
*/
String getName();
/**
* Returns the ordered runnables that represent code blocks to execute before to the test.
* Inherited blocks are first
* @return The list of inherited before blocks
*/
List getBeforeBlocks();
/**
* Returns the ordered runnables that represent code blocks to execute after the test.
* Inherited blocks are last
* @return The list of inherited after blocks
*/
List getAfterBlocks();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy