corda / com.r3.corda.networkmanage.common.validator / LegalNameValidatorTest

LegalNameValidatorTest

class LegalNameValidatorTest

Constructors

<init>

LegalNameValidatorTest()

Functions

blacklisted characters

fun blacklisted characters(): Unit

correctly handle whitespaces

fun correctly handle whitespaces(): Unit

fails when legal name has invisible characters in the organisation part

fun fails when legal name has invisible characters in the organisation part(): Unit

legal name length less then 256 characters

fun legal name length less then 256 characters(): Unit

legal name should be capitalized

fun legal name should be capitalized(): Unit

no double spaces

fun no double spaces(): Unit

no prefixed white space

fun no prefixed white space(): Unit

no trailing white space

fun no trailing white space(): Unit

succeeds when there is no invisible characters in the organisation part of the legal name

fun succeeds when there is no invisible characters in the organisation part of the legal name(): Unit

unicode range in general attributes

fun unicode range in general attributes(): Unit

unicode range in organization

fun unicode range in organization(): Unit