spock.genesis.generators.InfiniteGenerator.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spock-genesis Show documentation
Show all versions of spock-genesis Show documentation
Mostly lazy data generators for property based testing using the Spock test framework
The newest version!
package spock.genesis.generators
import groovy.transform.CompileStatic
/**
* A generator whose iterator is infinite.
*
* @param < E > the generated type
*/
@CompileStatic
abstract class InfiniteGenerator extends Generator {
abstract InfiniteIterator iterator()
boolean isFinite() {
false
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy