TestClassFieldnames
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_pFieldnamesEnvironment : FieldnamesEnvironmentTest
- prepare() : mixed
- testConstruct() : mixed
- testGetFieldInformation() : mixed
- testGetFieldInformationUnknown() : mixed
- testGetFieldLabel() : mixed
- testGetFieldLabelUnknown() : mixed
- testGetFields() : mixed
- testGetFieldsWithEmptyLabelUseNameInParenthesis() : mixed
- testGetType() : mixed
- testGetTypeUnknown() : mixed
- testLoadLanguage() : mixed
- testMergeCountryForEstate() : mixed
- checkFieldListStructure() : mixed
- getFullModuleList() : array<string|int, mixed>
- getNewFieldnames() : Fieldnames
Properties
$_pFieldnamesEnvironment
private
FieldnamesEnvironmentTest
$_pFieldnamesEnvironment
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testConstruct()
public
testConstruct() : mixed
Return values
mixed —testGetFieldInformation()
public
testGetFieldInformation() : mixed
Return values
mixed —testGetFieldInformationUnknown()
public
testGetFieldInformationUnknown() : mixed
Return values
mixed —testGetFieldLabel()
public
testGetFieldLabel() : mixed
Return values
mixed —testGetFieldLabelUnknown()
public
testGetFieldLabelUnknown() : mixed
Return values
mixed —testGetFields()
public
testGetFields() : mixed
Return values
mixed —testGetFieldsWithEmptyLabelUseNameInParenthesis()
public
testGetFieldsWithEmptyLabelUseNameInParenthesis() : mixed
Tags
Return values
mixed —testGetType()
public
testGetType() : mixed
Return values
mixed —testGetTypeUnknown()
public
testGetTypeUnknown() : mixed
Return values
mixed —testLoadLanguage()
public
testLoadLanguage() : mixed
Return values
mixed —testMergeCountryForEstate()
public
testMergeCountryForEstate() : mixed
Return values
mixed —checkFieldListStructure()
private
checkFieldListStructure(array<string|int, mixed> $fieldListOfModule, string $module) : mixed
Parameters
- $fieldListOfModule : array<string|int, mixed>
- $module : string
Return values
mixed —getFullModuleList()
private
getFullModuleList() : array<string|int, mixed>
Return values
array<string|int, mixed> —getNewFieldnames()
private
getNewFieldnames([FieldModuleCollection $pExtraFieldsCollection = null ][, bool $inactiveOnly = false ]) : Fieldnames
Parameters
- $pExtraFieldsCollection : FieldModuleCollection = null
- $inactiveOnly : bool = false