AfformGetTest
extends TestCase
in package
implements
HeadlessInterface, TransactionalInterface
Tags
Table of Contents
Interfaces
- HeadlessInterface
- Interface HeadlessInterface
- TransactionalInterface
- Interface HeadlessInterface
Properties
- $formName : mixed
Methods
- setUpHeadless() : mixed
- The setupHeadless function runs at the start of each test case, right before the headless environment reboots.
- tearDown() : void
- testAfformAutocomplete() : void
- testGetHtmlEncoding() : void
- testGetLayoutWithEmptyNode() : mixed
- testGetLayoutWithLegacyContactTypeConversion() : mixed
- testGetReturnFields() : mixed
- testGetSearchDisplays() : mixed
Properties
$formName
private
mixed
$formName
= 'abc_123_test'
Methods
setUpHeadless()
The setupHeadless function runs at the start of each test case, right before the headless environment reboots.
public
setUpHeadless() : mixed
It should perform any necessary steps required for putting the database in a consistent baseline -- such as loading schema and extensions.
The utility \Civi\Test::headless()
provides a number of helper functions
for managing this setup, and it includes optimizations to avoid redundant
setup work.
tearDown()
public
tearDown() : void
testAfformAutocomplete()
public
testAfformAutocomplete() : void
testGetHtmlEncoding()
public
testGetHtmlEncoding() : void
testGetLayoutWithEmptyNode()
public
testGetLayoutWithEmptyNode() : mixed
testGetLayoutWithLegacyContactTypeConversion()
public
testGetLayoutWithLegacyContactTypeConversion() : mixed
testGetReturnFields()
public
testGetReturnFields() : mixed
testGetSearchDisplays()
public
testGetSearchDisplays() : mixed