Skip to content

com.github.manosbatsis.corda.testacles.nodedriver.jupiter / NodeDriverNetworkExtension

NodeDriverNetworkExtension

class NodeDriverNetworkExtension :AbstractNodeDriverNetworkExtension, ParameterResolver,JupiterExtensionSupport

Base class for extensions that wish to provide a Corda network throughout test suite execution

Constructors

Name Summary
<init> NodeDriverNetworkExtension()
Base class for extensions that wish to provide a Corda network throughout test suite execution

Inherited Properties

Name Summary
nodeDriverHelper lateinit var nodeDriverHelper:NodeDriverHelper
started var started:Boolean

Functions

Name Summary
getNamespace fun getNamespace(): Namespace
getNodeDriverConfig fun getNodeDriverConfig(extensionContext: ExtensionContext):NodeDriverNodesConfig
Override to provide the NodeDriverNodesConfig
getNodeDriverStoreKey fun getNodeDriverStoreKey():String
resolveParameter fun resolveParameter(parameterContext: ParameterContext?, extensionContext: ExtensionContext?):NodeHandles?
supportsParameter fun supportsParameter(parameterContext: ParameterContext?, extensionContext: ExtensionContext?):Boolean

Inherited Functions

Name Summary
afterAll open fun afterAll(extensionContext: ExtensionContext):Unit
Stop the Corda network
beforeAll open fun beforeAll(extensionContext: ExtensionContext):Unit
Start the Corda network
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