CustomFingerprint

munit.internal.junitinterface.CustomFingerprint
class CustomFingerprint(val suite: String, _isModule: Boolean) extends SubclassFingerprint

Attributes

Graph
Supertypes
trait SubclassFingerprint
trait Fingerprint
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

override def isModule(): Boolean

Indicates whether modules (singleton objects) that extend the superclass or supertrait should be considered during discovery, or just classes.

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.

Attributes

Definition Classes
SubclassFingerprint
override def requireNoArgConstructor(): Boolean

Indicates whether discovered classes must have a no-arg constructor.

Indicates whether discovered classes must have a no-arg constructor.

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.

Attributes

Definition Classes
SubclassFingerprint
override def superclassName(): String

The name of the superclass or supertrait that identifies classes (and possibly modules) as test classes to be discovered.

The name of the superclass or supertrait that identifies classes (and possibly modules) as test classes to be discovered.

Attributes

Definition Classes
SubclassFingerprint

Concrete fields

val suite: String