ILIAS
release_8 Revision v8.19
|
Test on field implementation. More...
Protected Attributes | |
DataFactory | $data_factory |
Refinery | $refinery |
DefInput | $input |
DefInput | $dedicated_input |
DefNamesource | $name_source |
FormInput | $named_input |
Additional Inherited Members | |
![]() | |
brutallyTrimHTML (string $html) | |
A more radical version of normalizeHTML. More... | |
brutallyTrimSignals (string $html) | |
A naive replacement of all il_signal-ids with dots to ease comparisons of rendered output. More... | |
Test on field implementation.
Definition at line 123 of file InputTest.php.
InputTest::setUp | ( | ) |
Definition at line 132 of file InputTest.php.
References ILIAS\Repository\refinery().
InputTest::test_constructor | ( | ) |
Definition at line 147 of file InputTest.php.
InputTest::test_getContent | ( | ) |
Definition at line 252 of file InputTest.php.
InputTest::test_only_run_withInput_with_name | ( | ) |
Definition at line 277 of file InputTest.php.
References Vendor\Package\$e.
InputTest::test_withByline | ( | ) |
Definition at line 161 of file InputTest.php.
References ILIAS\UI\Implementation\Component\Input\Field\FormInput\$byline, ILIAS\UI\Implementation\Component\Input\Field\FormInput\getByline(), and ILIAS\UI\Implementation\Component\Input\Field\FormInput\withByline().
InputTest::test_withDisabled | ( | ) |
Definition at line 191 of file InputTest.php.
References ILIAS\UI\Implementation\Component\Input\Field\FormInput\withDisabled().
InputTest::test_withError | ( | ) |
Definition at line 243 of file InputTest.php.
References ILIAS\UI\Implementation\Component\Input\InputInternal\getError(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withError().
InputTest::test_withInput | ( | ) |
Definition at line 259 of file InputTest.php.
References $name, $res, ILIAS\UI\Implementation\Component\Input\Field\FormInput\withInput(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_and_constraint_fails | ( | ) |
Definition at line 361 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Component\Input\Input\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_and_constraint_fails_different_order | ( | ) |
Definition at line 383 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\Field\FormInput\withInput(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_and_constraint_successfull | ( | ) |
Definition at line 339 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Component\Input\Input\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_and_transformation | ( | ) |
Definition at line 289 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Component\Input\Input\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_and_transformation_different_order | ( | ) |
Definition at line 314 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\Field\FormInput\withInput(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_constraint_and_transformation | ( | ) |
Definition at line 474 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Component\Input\Input\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_constraint_fails_and_transformation | ( | ) |
Definition at line 506 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Component\Input\Input\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_constraint_fails_and_transformation_different_order | ( | ) |
Definition at line 539 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\Field\FormInput\withInput(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_requirement_constraint | ( | ) |
Definition at line 571 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom(), and ILIAS\UI\Implementation\Component\Input\Field\FormInput\withRequired().
InputTest::test_withInput_toggle_requirement | ( | ) |
Definition at line 591 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom(), and ILIAS\UI\Implementation\Component\Input\Field\FormInput\withRequired().
InputTest::test_withInput_transformation_and_constraint | ( | ) |
Definition at line 410 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Component\Input\Input\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withInput_transformation_and_constraint_different_order | ( | ) |
Definition at line 442 of file InputTest.php.
References $name, $res, ILIAS\Repository\refinery(), ILIAS\UI\Implementation\Component\Input\Field\FormInput\withInput(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withLabel | ( | ) |
Definition at line 153 of file InputTest.php.
References ILIAS\UI\Implementation\Component\Input\Field\FormInput\$label, ILIAS\UI\Implementation\Component\Input\Field\FormInput\getLabel(), and ILIAS\UI\Implementation\Component\Input\Field\FormInput\withLabel().
InputTest::test_withName | ( | ) |
Definition at line 223 of file InputTest.php.
References $name, ILIAS\UI\Implementation\Component\Input\InputInternal\getName(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withNameForNamedInput | ( | ) |
Definition at line 233 of file InputTest.php.
References $name, ILIAS\UI\Implementation\Component\Input\InputInternal\getName(), and ILIAS\UI\Implementation\Component\Input\InputInternal\withNameFrom().
InputTest::test_withRequired | ( | ) |
Definition at line 169 of file InputTest.php.
References ILIAS\UI\Implementation\Component\Input\Field\FormInput\withRequired().
InputTest::test_withRequired_and_custom_constraint | ( | ) |
Definition at line 178 of file InputTest.php.
References ILIAS\UI\Implementation\Component\Input\Field\FormInput\isRequired(), ILIAS\Repository\refinery(), and ILIAS\UI\Implementation\Component\Input\Field\FormInput\withRequired().
InputTest::test_withValue | ( | ) |
Definition at line 200 of file InputTest.php.
References ILIAS\UI\Component\Input\Input\getValue(), and ILIAS\UI\Component\Input\Input\withValue().
InputTest::test_withValue_throws | ( | ) |
|
protected |
Definition at line 125 of file InputTest.php.
|
protected |
Definition at line 128 of file InputTest.php.
|
protected |
Definition at line 127 of file InputTest.php.
|
protected |
Definition at line 129 of file InputTest.php.
|
protected |
Definition at line 130 of file InputTest.php.
|
protected |
Definition at line 126 of file InputTest.php.