Documentation

CRM_Afform_UtilTest extends TestCase
in package
implements HeadlessInterface, TransactionalInterface

Tags
group

headless

Table of Contents

Interfaces

HeadlessInterface
Interface HeadlessInterface
TransactionalInterface
Interface HeadlessInterface

Methods

formEntityWeightExampls()  : mixed
getNameExamples()  : mixed
setUpHeadless()  : mixed
Civi\Test has many helpers, like install(), uninstall(), sql(), and sqlFile().
testEntityWeights()  : mixed
testNameConversion()  : void

Methods

formEntityWeightExampls()

public formEntityWeightExampls() : mixed

getNameExamples()

public getNameExamples() : mixed

setUpHeadless()

Civi\Test has many helpers, like install(), uninstall(), sql(), and sqlFile().

public setUpHeadless() : mixed

See: https://github.com/civicrm/org.civicrm.testapalooza/blob/master/civi-test.md

Tags
throws
CRM_Extension_Exception_ParseException

testEntityWeights()

public testEntityWeights(mixed $formEntities, mixed $entityValues, mixed $expectedWeights) : mixed
Parameters
$formEntities : mixed
$entityValues : mixed
$expectedWeights : mixed
Tags
dataProvider

formEntityWeightExampls

testNameConversion()

public testNameConversion(mixed $inputFileName, mixed $toFormat, mixed $expected) : void
Parameters
$inputFileName : mixed
$toFormat : mixed
$expected : mixed
Tags
dataProvider

getNameExamples

throws
Exception

        
On this page

Search results