Method
Description
setUp ( )
Initialize test by creating a new object instance with a default context.
tearDown ( )
testBindingByName ( )
testButton ( )
Tests that magic method support can be used to automatically generate a tag
based on the default string template.
testCheckboxGeneration ( )
testCustomCheckbox ( )
testCustomInputTypes ( )
testCustomRadio ( )
testCustomValueCheckbox ( )
testCustomValueRadio ( )
testElementsWithDefaultConfiguration ( )
testErrorWithCustomConfiguration ( )
testFieldAssumeSelectIfList ( )
Tests that the field() method properly renders a element if the 'list'
option is passed.
testFieldInputIdWithFormId ( )
testFieldLabelWithOptions ( )
Demonstrates that the options for a element can be passed through the field()
method, using the label text as a key.
testFieldTemplateOverride ( )
Tests that the string template form Form::field() can be overridden.
testFieldWithCustomType ( )
testFieldWithLabelShorthand ( )
testFormCreateWithMoreParams ( )
testFormCreateWithMoreParamsButSpecifiedAction ( )
testFormCreation ( )
testFormCreationMultipleBindings ( )
testFormCreationWithBinding ( )
testFormCreationWithNoContext ( )
testFormDataBinding ( )
testFormElementWithDefaultValue ( )
testFormErrorMultipleBindings ( )
testFormErrorWithRecordAndSpecificKey ( )
testFormErrorWithRecordAndSpecificKeyAndValue ( )
testFormErrorWithRecordAndStringError ( )
testFormErrorWithout ( )
testFormField ( )
testFormFieldCheckboxWithCustomConfig ( )
testFormFieldSelect ( )
testFormFieldWithCustomConfig ( )
testFormFieldWithCustomTemplate ( )
testFormFieldWithError ( )
testFormInputField ( )
testFormMultipleErrors ( )
testHiddenFieldWithId ( )
testHiddenFieldWithNoLabel ( )
Verifies that calls to field() with 'type' => 'hidden' do not produce s.
testHiddenFieldWithValue ( )
testLabelGeneration ( )
testLabelGenerationWithNoEscape ( )
testLabelIdGeneration ( )
Tests that field references passed to label() in dot-separated format correctly translate
to DOM ID values.
testMultiSelect ( )
testMultipleFields ( )
testMultiselected ( )
testNestedFieldAccess ( )
Tests that inputs for nested objects can be assigned using dot syntax.
testNestedFieldError ( )
Tests rendering errors for nested fields.
testPasswordWithBindingValue ( )
Ensures that password fields aren't rendered with pre-populated values from bound record or
document objects.
testRadioGeneration ( )
testRadioTypeFieldWithCustomTemplate ( )
Test that field already defined template strings with special types (e.g. radio, checkbox,
etc.) and passed customize template, and the template must apply.
testRecursiveSelect ( )
Tests that calling select() with nested arrays will produce lists of s wrapped
in elements.
testRespondsTo ( )
testRestFormCreation ( )
Tests creating forms with non-browser compatible HTTP methods, required for REST interfaces.
testSelectGeneration ( )
testSelectTypeAgnosticism ( )
When trying to determine which option of a select box should be selected, we should be
integer/string agnostic because it all looks the same in HTML.
testSelectWithEmptyOption ( )
testSubmitGeneration ( )
testTemplateRemapping ( )
testTextBox ( )
testTextareaGeneration ( )