Skip to content

com.github.manosbatsis.corda.testacles.jupiter / CordformNetworkExtension

CordformNetworkExtension

class CordformNetworkExtension :JupiterExtensionSupport, BeforeAllCallback, AfterAllCallback, ParameterResolver

Constructors

Name Summary
<init> CordformNetworkExtension()

Properties

Name Summary
cordformNetworkContainer lateinit var cordformNetworkContainer:CordformNetworkContainer

Functions

Name Summary
afterAll fun afterAll(context: ExtensionContext):Unit
Stop the Corda network
beforeAll fun beforeAll(context: ExtensionContext):Unit
Create and start the Corda network
resolveParameter fun resolveParameter(parameterContext: ParameterContext?, extensionContext: ExtensionContext?):CordformNetworkContainer
supportsParameter fun supportsParameter(parameterContext: ParameterContext?, extensionContext: ExtensionContext?):Boolean

Inherited 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