ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Provides common functionality for UI tests. More...
Public Member Functions | |
setUp () | |
tearDown () | |
getUIFactory () | |
getTemplateFactory () | |
getResourceRegistry () | |
getLanguage () | |
getJavaScriptBinding () | |
getDefaultRenderer (JavaScriptBinding $js_binding=null) | |
normalizeHTML ($html) | |
assertHTMLEquals ($expected_html_as_string, $html_as_string) | |
ILIAS_UI_TestBase::assertHTMLEquals | ( | $expected_html_as_string, | |
$html_as_string | |||
) |
string | $expected_html_as_string | |
string | $html_as_string |
Definition at line 252 of file Base.php.
References $html.
Referenced by ButtonMonthTest\test_render(), ChartScaleBarTest\test_render(), PanelListingTest\test_render_base(), ItemGroupTest\test_render_base(), ItemTest\test_render_base(), ButtonTest\test_render_button_disabled(), ButtonTest\test_render_button_label(), ButtonTest\test_render_button_with_aria_checked(), ButtonTest\test_render_button_with_aria_label(), ButtonTest\test_render_button_with_on_load_code(), DeckTest\test_render_content(), CardTest\test_render_content_empty(), CardTest\test_render_content_full(), CardTest\test_render_content_with_highlight(), DividerTest\test_render_horizontal_empty(), DividerTest\test_render_horizontal_with_label(), DropdownTest\test_render_items(), DropdownTest\test_render_items_with_label(), ItemTest\test_render_lead_image(), ItemTest\test_render_lead_text_and_color(), LinkTest\test_render_link(), ViewControlTest\test_render_viewcontrol_mode(), ViewControlTest\test_render_viewcontrol_section(), ItemGroupTest\test_render_with_actions(), PanelListingTest\test_render_with_actions(), LinkTest\test_render_with_new_viewport(), ItemTest\test_shy_title_and_property(), RoundTripTest\test_simple_rendering(), and BreadcrumbsTest\testRendering().
ILIAS_UI_TestBase::getDefaultRenderer | ( | JavaScriptBinding | $js_binding = null | ) |
Definition at line 216 of file Base.php.
References $lng.
Referenced by ButtonTest\test_____render_close_button_with_on_load_code(), GlyphTest\test_dont_render_counter(), DefaultRendererTest\test_getContexts(), DefaultRendererTest\test_getRenderer_caching(), DefaultRendererTest\test_getRenderer_successfully(), DefaultRendererTest\test_invokesRegistry(), ButtonMonthTest\test_render(), ChartScaleBarTest\test_render(), DefaultRendererTest\test_render(), ImageTest\test_render_alt_escaping(), PopoverTest\test_render_async(), DefaultRendererTest\test_render_async_array(), DefaultRendererTest\test_render_async_no_js(), DefaultRendererTest\test_render_async_with_js(), DefaultRendererTest\test_render_async_with_js_twice(), PanelListingTest\test_render_base(), ItemGroupTest\test_render_base(), ItemTest\test_render_base(), ButtonTest\test_render_btn_tag_classes(), ButtonTest\test_render_btn_tag_colors(), ButtonTest\test_render_btn_tag_relevance(), ButtonTest\test_render_button_disabled(), ButtonTest\test_render_button_label(), ButtonTest\test_render_button_with_aria_checked(), ButtonTest\test_render_button_with_aria_label(), ButtonTest\test_render_button_with_on_load_code(), ButtonTest\test_render_close_button(), LegacyTest\test_render_content(), DeckTest\test_render_content(), CardTest\test_render_content_empty(), CardTest\test_render_content_full(), CardTest\test_render_content_with_highlight(), ListingTest\test_render_descriptive_listing(), DropdownTest\test_render_empty(), DividerTest\test_render_horizontal_empty(), DividerTest\test_render_horizontal_with_label(), DropdownTest\test_render_items(), DropdownTest\test_render_items_with_label(), ItemTest\test_render_lead_image(), ItemTest\test_render_lead_text_and_color(), LinkTest\test_render_link(), ListingTest\test_render_ordered_listing(), ImageTest\test_render_responsive(), GlyphTest\test_render_simple(), PopoverTest\test_render_standard(), ImageTest\test_render_standard(), CounterTest\test_render_status(), ListingTest\test_render_unordered_listing(), ViewControlTest\test_render_viewcontrol_mode(), ViewControlTest\test_render_viewcontrol_section(), ImageTest\test_render_with_action(), ItemGroupTest\test_render_with_actions(), PanelListingTest\test_render_with_actions(), LinkTest\test_render_with_new_viewport(), GlyphTest\test_render_with_on_load_code(), GlyphTest\test_render_withCounter(), GlyphTest\test_render_withTwoCounters(), ItemTest\test_shy_title_and_property(), LightboxTest\test_simple_rendering(), RoundTripTest\test_simple_rendering(), InterruptiveTest\test_simple_rendering(), ViewControlTest\test_viewcontrol_get_actions(), DefaultRendererTest\test_withAdditionalContext_clones(), BreadcrumbsTest\testRendering(), SortationTest\testRendering(), IconTest\testRenderingCustom(), IconTest\testRenderingStandard(), DropzoneRendererTest\testRenderMetadata(), DropzoneRendererTest\testRenderStandardDropzone(), DropzoneRendererTest\testRenderStandardDropzoneWithMessage(), DropzoneRendererTest\testRenderWrapperDropzone(), and DropzoneRendererTest\testWithButton().
ILIAS_UI_TestBase::getJavaScriptBinding | ( | ) |
Definition at line 211 of file Base.php.
Referenced by GlyphTest\test_dont_render_counter().
ILIAS_UI_TestBase::getLanguage | ( | ) |
Definition at line 206 of file Base.php.
Referenced by GlyphTest\test_dont_render_counter().
ILIAS_UI_TestBase::getResourceRegistry | ( | ) |
ILIAS_UI_TestBase::getTemplateFactory | ( | ) |
Definition at line 196 of file Base.php.
Referenced by GlyphTest\test_dont_render_counter(), DefaultRendererTest\test_render_async_array(), DefaultRendererTest\test_render_async_no_js(), DefaultRendererTest\test_render_async_with_js(), and DefaultRendererTest\test_render_async_with_js_twice().
ILIAS_UI_TestBase::getUIFactory | ( | ) |
Definition at line 191 of file Base.php.
Referenced by GlyphTest\test_dont_render_counter().
ILIAS_UI_TestBase::normalizeHTML | ( | $html | ) |
Definition at line 243 of file Base.php.
References $html.
Referenced by SortationTest\getSortationExpectedHTML(), ButtonTest\test_____render_close_button_with_on_load_code(), ImageTest\test_render_alt_escaping(), ButtonTest\test_render_btn_tag_classes(), ButtonTest\test_render_btn_tag_colors(), ButtonTest\test_render_btn_tag_relevance(), ButtonTest\test_render_button_disabled(), ButtonTest\test_render_button_label(), ButtonTest\test_render_button_with_aria_checked(), ButtonTest\test_render_button_with_aria_label(), ButtonTest\test_render_button_with_on_load_code(), ButtonTest\test_render_close_button(), ListingTest\test_render_descriptive_listing(), ListingTest\test_render_ordered_listing(), ImageTest\test_render_responsive(), GlyphTest\test_render_simple(), PopoverTest\test_render_standard(), ImageTest\test_render_standard(), CounterTest\test_render_status(), ListingTest\test_render_unordered_listing(), ViewControlTest\test_render_viewcontrol_mode(), ImageTest\test_render_with_action(), GlyphTest\test_render_with_on_load_code(), GlyphTest\test_render_withCounter(), GlyphTest\test_render_withTwoCounters(), BreadcrumbsTest\testRendering(), SortationTest\testRendering(), IconTest\testRenderingCustom(), and IconTest\testRenderingStandard().
ILIAS_UI_TestBase::setUp | ( | ) |
ILIAS_UI_TestBase::tearDown | ( | ) |