corda / com.r3.corda.networkmanage.common.utils / UtilsTest

UtilsTest

class UtilsTest

Constructors

<init>

UtilsTest()

Functions

duration is successfully transformed into human readable string

fun duration is successfully transformed into human readable string(): Unit

scheduled task is executed correct number of times

fun scheduled task is executed correct number of times(): Unit

simulate a task failing on all attempts but passing on the final attempt

fun simulate a task failing on all attempts but passing on the final attempt(): Unit

table rows successfully created

fun table rows successfully created(): Unit

table rows successfully created with header separator

fun table rows successfully created with header separator(): Unit

task is successfully scheduled

fun task is successfully scheduled(): Unit

validateCertificateRole fails when the certificate role is incorrect

fun validateCertificateRole fails when the certificate role is incorrect(): Unit

validateCertificateRole succeeds when the certificate role is correct

fun validateCertificateRole succeeds when the certificate role is correct(): Unit

when execution succeeds it is not executed again

fun when execution succeeds it is not executed again(): Unit

when task timeouts it is retried with exponential backoff

fun when task timeouts it is retried with exponential backoff(): Unit

when the timer is cancelled then the current running tasks and all subsequent scheduled tasks are cancelled

fun when the timer is cancelled then the current running tasks and all subsequent scheduled tasks are cancelled(): Unit

Companion Object Properties

CERT_STORE_PASSWORD

const val CERT_STORE_PASSWORD: String

DOORMAN_CERT_ALIAS

const val DOORMAN_CERT_ALIAS: String

SERVICE_NAME

const val SERVICE_NAME: String