ILIAS
release_8 Revision v8.19
|
Test on button implementation. More...
Data Fields | |
const | NOT_APPLICABLE = true |
Static Public Attributes | |
static array | $canonical_css_classes |
static array | primary |
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 button implementation.
Definition at line 31 of file ButtonTest.php.
ButtonTest::button_type_provider | ( | ) |
Definition at line 540 of file ButtonTest.php.
ButtonTest::getButtonFactory | ( | ) |
Definition at line 35 of file ButtonTest.php.
Referenced by test_____render_close_button_with_on_load_code(), test_appendOnClick_appends_to_action(), test_btn_tag_relevance(), test_button_action(), test_button_activated_on_default(), test_button_deactivation(), test_button_label(), test_button_label_or_glyph_only(), test_button_string_action_only(), test_button_with_aria_label(), test_button_with_engageable(), test_button_with_engaged(), test_button_with_label(), test_button_with_loading_animation(), test_factory_accepts_signal_as_action(), test_implements_factory_interface(), test_render_btn_tag_classes(), test_render_btn_tag_colors(), test_render_btn_tag_relevance(), test_render_button_disabled(), test_render_button_label(), test_render_button_with_aria_label(), test_render_button_with_aria_pressed(), test_render_button_with_on_click_animation(), test_render_button_with_on_load_code(), test_render_button_with_signal(), test_render_close_button(), test_render_minimize_button(), and test_withOnClick_removes_action().
ButtonTest::test_____render_close_button_with_on_load_code | ( | ) |
Definition at line 261 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $id, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_appendOnClick_appends_to_action | ( | string | $factory_method | ) |
button_type_provider
Definition at line 465 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_btn_tag_relevance | ( | ) |
Definition at line 283 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_action | ( | string | $factory_method | ) |
button_type_provider
Definition at line 118 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_activated_on_default | ( | string | $factory_method | ) |
button_type_provider
Definition at line 129 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_deactivation | ( | string | $factory_method | ) |
button_type_provider
Definition at line 140 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_label | ( | string | $factory_method | ) |
button_type_provider
Definition at line 93 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_label_or_glyph_only | ( | string | $factory_method | ) |
button_type_provider
Definition at line 73 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_string_action_only | ( | string | $factory_method | ) |
button_type_provider
Definition at line 83 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_with_aria_label | ( | string | $factory_method | ) |
button_type_provider
Definition at line 364 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_with_engageable | ( | string | $factory_method | ) |
button_type_provider
Definition at line 374 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_with_engaged | ( | string | $factory_method | ) |
button_type_provider
Definition at line 390 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_with_label | ( | string | $factory_method | ) |
button_type_provider
Definition at line 104 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_button_with_loading_animation | ( | ) |
test loading animation
Definition at line 153 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_factory_accepts_signal_as_action | ( | string | $factory_method | ) |
button_type_provider
Definition at line 530 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_implements_factory_interface | ( | ) |
Definition at line 47 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
ButtonTest::test_render_btn_tag_classes | ( | ) |
Definition at line 345 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_btn_tag_colors | ( | ) |
Definition at line 324 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_btn_tag_relevance | ( | ) |
Definition at line 295 of file ButtonTest.php.
References Vendor\Package\$f, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_button_disabled | ( | string | $factory_method | ) |
button_type_provider
Definition at line 189 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_button_label | ( | string | $factory_method | ) |
button_type_provider
Definition at line 170 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_button_with_aria_label | ( | string | $factory_method | ) |
button_type_provider
Definition at line 407 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_button_with_aria_pressed | ( | string | $factory_method | ) |
button_type_provider
Definition at line 426 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_button_with_on_click_animation | ( | ) |
test rendering with on click animation
Definition at line 504 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_button_with_on_load_code | ( | string | $factory_method | ) |
button_type_provider
Definition at line 237 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $id, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_button_with_signal | ( | string | $factory_method | ) |
button_type_provider
Definition at line 480 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_close_button | ( | ) |
Definition at line 206 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_render_minimize_button | ( | ) |
Definition at line 220 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
ButtonTest::test_withOnClick_removes_action | ( | string | $factory_method | ) |
button_type_provider
Definition at line 450 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
|
static |
Definition at line 40 of file ButtonTest.php.
const ButtonTest::NOT_APPLICABLE = true |
Definition at line 33 of file ButtonTest.php.
|
static |
Definition at line 42 of file ButtonTest.php.