Skip to content

Standard Component Structure

maxschool edited this page Jun 1, 2016 · 3 revisions

Components which are testable must implement the Component interface.

Thus, the class should look similar to this:

public class myComponent implements Component {
    public String getName() { return "My Component"; }
    public Boolean test() {
        //do stuff
        return true;
    }
}
Clone this wiki locally