See Release Notes
Long Term Support Release
(no description)
File Size: | 97 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
question_display_options_test:: (4 methods):
has_question_identifier_provider()
test_has_question_identifier()
add_question_identifier_to_label_provider()
test_add_question_identifier_to_label()
Class: question_display_options_test - X-Ref
Unit tests for {@see \question_display_options}.has_question_identifier_provider() X-Ref |
Data provider for {@see self::test_has_question_identifier()} return: array[] |
test_has_question_identifier(?string $identifier, bool $expected) X-Ref |
Tests for {@see \question_display_options::has_question_identifier} param: string|null $identifier The question identifier param: bool $expected The expected return value return: void |
add_question_identifier_to_label_provider() X-Ref |
Data provider for {@see self::test_add_question_identifier_to_label() return: array[] |
test_add_question_identifier_to_label(string $label,?string $identifier,bool $sronly,bool $addbefore,string $expected) X-Ref |
Tests for {@see \question_display_options::add_question_identifier_to_label()} param: string $label The label string. param: string|null $identifier The question identifier. param: bool $sronly Whether to render the question identifier in a sr-only container param: bool $addbefore Whether to render the question identifier before the label. param: string $expected The expected return value. return: void |