onOffice WP Plugin

TestClassDefaultValueRowSaver extends WP_UnitTestCase
in package

Table of Contents

EXAMPLE_RECORDS  = ['testSingleselect' => 'singlevalue', 'testMultiSelect' => ['value1', 'value3'], 'testText' => ['native' => 'testEN', 'de_DE' => 'testDE'], 'testNumericRange1' => ['min' => 3, 'max' => 1337], 'testNumericRange2' => ['min' => 3], 'testNumericRange3' => ['max' => 4], 'testNumericRange4' => [], 'testBoolFalse' => '0']
$_pDefaultValueCreate  : DefaultValueCreate
$_pLanguage  : Language
$_pSubject  : DefaultValueRowSaver
prepare()  : mixed
testSaveDefaultValuesBoolFalse()  : mixed
testSaveDefaultValuesFloatRange()  : mixed
testSaveDefaultValuesIntegerRange()  : mixed
testSaveDefaultValuesIntegerRangeEmpty()  : mixed
testSaveDefaultValuesIntegerRangeMaxOnly()  : mixed
testSaveDefaultValuesIntegerRangeMinOnly()  : mixed
testSaveDefaultValuesMultiSelect()  : mixed
testSaveDefaultValuesSingleSelect()  : mixed
testSaveDefaultValuesText()  : mixed
testSaveDefaultValuesVarchar()  : mixed
buildFieldsCollection()  : FieldsCollection

Constants

EXAMPLE_RECORDS

public array<string|int, mixed> EXAMPLE_RECORDS = ['testSingleselect' => 'singlevalue', 'testMultiSelect' => ['value1', 'value3'], 'testText' => ['native' => 'testEN', 'de_DE' => 'testDE'], 'testNumericRange1' => ['min' => 3, 'max' => 1337], 'testNumericRange2' => ['min' => 3], 'testNumericRange3' => ['max' => 4], 'testNumericRange4' => [], 'testBoolFalse' => '0']

Properties

Methods

Search results