|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubclassFingerprint
Indicates that classes (and possibly modules) that extend a particular superclass, or mix in a particular supertrait, should be discovered as test classes.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |