ILIAS
release_8 Revision v8.23
|
Test on card implementation. More...
Public Member Functions | |
getFactory () | |
test_implements_factory_interface () | |
test_factory_with_shy_button () | |
test_get_title () | |
test_with_title () | |
test_with_title_as_shy_button () | |
test_with_string_title_action () | |
test_with_signal_title_action () | |
test_with_highlight () | |
test_get_image () | |
test_with_image () | |
test_with_section () | |
test_render_content_full () | |
test_render_content_with_highlight () | |
test_render_content_with_component_title () | |
![]() | |
setUp () | |
tearDown () | |
getUIFactory () | |
getTemplateFactory () | |
getResourceRegistry () | |
getLanguage () | |
getJavaScriptBinding () | |
getRefinery () | |
getImagePathResolver () | |
getDataFactory () | |
getDefaultRenderer (JavaScriptBinding $js_binding=null, array $with_stub_renderings=[]) | |
getDecoratedRenderer (Renderer $default) | |
normalizeHTML (string $html) | |
assertHTMLEquals (string $expected_html_as_string, string $html_as_string) | |
Private Member Functions | |
getCardFactory () | |
getBaseCard () | |
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 card implementation.
Definition at line 31 of file CardTest.php.
|
private |
Definition at line 49 of file CardTest.php.
References getCardFactory().
Referenced by test_get_image(), test_get_title(), test_implements_factory_interface(), test_render_content_full(), test_render_content_with_component_title(), test_render_content_with_highlight(), test_with_highlight(), test_with_image(), test_with_section(), test_with_signal_title_action(), test_with_string_title_action(), test_with_title(), and test_with_title_as_shy_button().
|
private |
Definition at line 44 of file CardTest.php.
Referenced by getBaseCard(), and test_factory_with_shy_button().
CardTest::getFactory | ( | ) |
Definition at line 33 of file CardTest.php.
References Vendor\Package\$f, and ILIAS\UI\examples\MainControls\Slate\Legacy\legacy().
Referenced by test_render_content_full(), and test_with_section().
CardTest::test_factory_with_shy_button | ( | ) |
Definition at line 62 of file CardTest.php.
References getCardFactory().
CardTest::test_get_image | ( | ) |
Definition at line 120 of file CardTest.php.
References getBaseCard().
CardTest::test_get_title | ( | ) |
Definition at line 73 of file CardTest.php.
References $c, and getBaseCard().
CardTest::test_implements_factory_interface | ( | ) |
Definition at line 57 of file CardTest.php.
References getBaseCard().
CardTest::test_render_content_full | ( | ) |
Definition at line 147 of file CardTest.php.
References $c, ILIAS_UI_TestBase\assertHTMLEquals(), ILIAS_UI_TestBase\brutallyTrimHTML(), getBaseCard(), ILIAS_UI_TestBase\getDefaultRenderer(), and getFactory().
CardTest::test_render_content_with_component_title | ( | ) |
Definition at line 186 of file CardTest.php.
References $c, ILIAS_UI_TestBase\assertHTMLEquals(), ILIAS_UI_TestBase\brutallyTrimHTML(), getBaseCard(), and ILIAS_UI_TestBase\getDefaultRenderer().
CardTest::test_render_content_with_highlight | ( | ) |
Definition at line 168 of file CardTest.php.
References $c, ILIAS_UI_TestBase\assertHTMLEquals(), ILIAS_UI_TestBase\brutallyTrimHTML(), getBaseCard(), and ILIAS_UI_TestBase\getDefaultRenderer().
CardTest::test_with_highlight | ( | ) |
Definition at line 113 of file CardTest.php.
References $c, and getBaseCard().
CardTest::test_with_image | ( | ) |
Definition at line 128 of file CardTest.php.
References $c, and getBaseCard().
CardTest::test_with_section | ( | ) |
Definition at line 137 of file CardTest.php.
References $c, Vendor\Package\$f, getBaseCard(), and getFactory().
CardTest::test_with_signal_title_action | ( | ) |
Definition at line 105 of file CardTest.php.
References $c, and getBaseCard().
CardTest::test_with_string_title_action | ( | ) |
Definition at line 98 of file CardTest.php.
References $c, and getBaseCard().
CardTest::test_with_title | ( | ) |
Definition at line 80 of file CardTest.php.
References $c, and getBaseCard().
CardTest::test_with_title_as_shy_button | ( | ) |
Definition at line 88 of file CardTest.php.
References $c, and getBaseCard().