com.greenpepper.interpreter.SkipInterpreter Maven / Gradle / Ivy
package com.greenpepper.interpreter;
import com.greenpepper.Specification;
import com.greenpepper.Statistics;
/**
* SkipInterpreter class.
*
* @author oaouattara
* @version $Id: $Id
*/
public class SkipInterpreter extends AbstractInterpreter
{
private final Statistics stats;
/**
* Constructor for SkipInterpreter.
*/
public SkipInterpreter()
{
this( new Statistics() );
}
/**
* Constructor for SkipInterpreter.
*
* @param stats a {@link com.greenpepper.Statistics} object.
*/
public SkipInterpreter( Statistics stats )
{
this.stats = stats;
}
/** {@inheritDoc} */
public void interpret( Specification specification )
{
specification.nextExample();
specification.exampleDone( stats );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy