Skip to content

com.github.manosbatsis.corda.testacles.common.jupiter / JupiterExtensionSupport

JupiterExtensionSupport

interface JupiterExtensionSupport

Helper for extensions that build their configuration based on current testsuite fields.

Functions

Name Summary
findNAnnotatedFieldValue open fun <T :Class<*>, A :Class<outAnnotation>, F> findNAnnotatedFieldValue(testClass:T, annotationClass:A, fieldClass:Class<F>, instanceFields:Boolean= false):F?
getFieldValue open fun <T> getFieldValue(testInstance:Any?, field:Field):T?
getRequiredTestClass open fun getRequiredTestClass(context: ExtensionContext):Class<*>
isAnnotatedWithAndOfType open fun isAnnotatedWithAndOfType(field:Field, annotation:Class<outAnnotation>, fieldType:Class<*>):Boolean

Inheritors

Name Summary
AbstractMockNetworkExtension abstract class AbstractMockNetworkExtension :JupiterExtensionSupport
Base class for extensions that wish to provide a Corda MockNetwork throughout test suite execution
CordformNetworkExtension class CordformNetworkExtension :JupiterExtensionSupport, BeforeAllCallback, AfterAllCallback, ParameterResolver
NodeDriverNetworkExtension class NodeDriverNetworkExtension :AbstractNodeDriverNetworkExtension, ParameterResolver,JupiterExtensionSupport
Base class for extensions that wish to provide a Corda network throughout test suite execution