public interface SubclassFingerprint extends Fingerprint
Modifier and Type | Method and Description |
---|---|
boolean |
isModule()
Indicates whether modules (singleton objects) that extend the superclass or
supertrait should be considered during discovery, or just classes.
|
boolean |
requireNoArgConstructor()
Indicates whether discovered classes must have a no-arg constructor.
|
java.lang.String |
superclassName()
The name of the superclass or supertrait that identifies classes (and possibly modules) as test
classes to be discovered.
|
boolean isModule()
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.
java.lang.String superclassName()
boolean requireNoArgConstructor()
If this method returns true
, the client should not discover any subclass of
the given superClassName
that does not declare a no-arg constructor, i.e.,
a constructor that takes no arguments.