
sbt.testing.SubclassFingerprint Maven / Gradle / Ivy
The newest version!
package sbt.testing;
/**
* Indicates that classes (and possibly modules) that extend a particular superclass,
* or mix in a particular supertrait, should be discovered as test classes.
*/
public interface SubclassFingerprint extends Fingerprint {
/**
* Indicates whether modules (singleton objects) that extend the superclass or
* supertrait should be considered during discovery, or just classes.
*
*
* If modules are not allowed by the test framework, they should return false
for
* isModule
. Returning false
will speed up discovery because
* classes for modules can be quickly bypassed.
*
*/ // TODO update dox it is either or
public boolean isModule();
/**
* The name of the superclass or supertrait that identifies classes (and possibly modules) as test
* classes to be discovered.
*/
public String superclassName();
/**
* Indicates whether the discovered class requires no argument constructor.
*/
public boolean requireNoArgConstructor();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy