| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Test on button implementation. More...
 Inheritance diagram for ButtonTest:
 Collaboration diagram for ButtonTest:Public Member Functions | |
| getButtonFactory () | |
| testImplementsFactoryInterface () | |
| testButtonLabelOrGlyphOnly (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonStringActionOnly (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonLabel (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonWithLabel (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonAction (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonActivatedOnDefault (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonDeactivation (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonWithLoadingAnimation () | |
| test loading animation  More... | |
| testRenderButtonLabel (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testRenderButtonDisabled (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testRenderCloseButton () | |
| testRenderMinimizeButton () | |
| testRenderButtonWithOnLoadCode (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testRenderCloseButtonWithOnLoadCode () | |
| testBtnTagRelevance () | |
| testRenderBtnTagRelevance () | |
| testRenderBtnTagColors () | |
| testRenderBtnTagClasses () | |
| testButtonWithAriaLabel (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonWithEngageable (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testButtonWithEngaged (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testRenderButtonWithAriaLabel (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testRenderButtonWithAriaPressed (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testWithOnClickRemovesAction (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testAppendOnClickAppendsToAction (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testRenderButtonWithSignal (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testRenderButtonWithOnClickAnimation () | |
| test rendering with on click animation  More... | |
| testButtonRendersTooltip (string $factory_method) | |
| getButtonTypeProvider  More... | |
| testFactoryAcceptsSignalAsAction (string $factory_method) | |
| getButtonTypeProvider  More... | |
| getButtonTypeProvider () | |
  Public Member Functions inherited from ILIAS_UI_TestBase | |
| setUp () | |
| tearDown () | |
| getUIFactory () | |
| getTemplateFactory () | |
| getResourceRegistry () | |
| getLanguage () | |
| getJavaScriptBinding () | |
| getRefinery () | |
| getImagePathResolver () | |
| getDataFactory () | |
| getHelpTextRetriever () | |
| getUploadLimitResolver () | |
| 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) | |
Data Fields | |
| const | NOT_APPLICABLE = true | 
Static Public Attributes | |
| static array | $canonical_css_classes | 
| static array | primary | 
Additional Inherited Members | |
  Protected Member Functions inherited from ILIAS_UI_TestBase | |
| 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 32 of file ButtonTest.php.
| ButtonTest::getButtonFactory | ( | ) | 
Definition at line 36 of file ButtonTest.php.
Referenced by testAppendOnClickAppendsToAction(), testBtnTagRelevance(), testButtonAction(), testButtonActivatedOnDefault(), testButtonDeactivation(), testButtonLabel(), testButtonLabelOrGlyphOnly(), testButtonRendersTooltip(), testButtonStringActionOnly(), testButtonWithAriaLabel(), testButtonWithEngageable(), testButtonWithEngaged(), testButtonWithLabel(), testButtonWithLoadingAnimation(), testFactoryAcceptsSignalAsAction(), testImplementsFactoryInterface(), testRenderBtnTagClasses(), testRenderBtnTagColors(), testRenderBtnTagRelevance(), testRenderButtonDisabled(), testRenderButtonLabel(), testRenderButtonWithAriaLabel(), testRenderButtonWithAriaPressed(), testRenderButtonWithOnClickAnimation(), testRenderButtonWithOnLoadCode(), testRenderButtonWithSignal(), testRenderCloseButton(), testRenderCloseButtonWithOnLoadCode(), testRenderMinimizeButton(), and testWithOnClickRemovesAction().
 Here is the caller graph for this function:| ButtonTest::getButtonTypeProvider | ( | ) | 
Definition at line 573 of file ButtonTest.php.
| ButtonTest::testAppendOnClickAppendsToAction | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 469 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testBtnTagRelevance | ( | ) | 
Definition at line 287 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonAction | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 119 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonActivatedOnDefault | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 130 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonDeactivation | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 141 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonLabel | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 94 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonLabelOrGlyphOnly | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 74 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonRendersTooltip | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 530 of file ButtonTest.php.
References Vendor\Package\$f, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testButtonStringActionOnly | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 84 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonWithAriaLabel | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 368 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonWithEngageable | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 378 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonWithEngaged | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 394 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonWithLabel | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 105 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testButtonWithLoadingAnimation | ( | ) | 
test loading animation
Definition at line 157 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testFactoryAcceptsSignalAsAction | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 563 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testImplementsFactoryInterface | ( | ) | 
Definition at line 48 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:| ButtonTest::testRenderBtnTagClasses | ( | ) | 
Definition at line 349 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderBtnTagColors | ( | ) | 
Definition at line 328 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderBtnTagRelevance | ( | ) | 
Definition at line 299 of file ButtonTest.php.
References Vendor\Package\$f, $r, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderButtonDisabled | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 193 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderButtonLabel | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 174 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderButtonWithAriaLabel | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 411 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderButtonWithAriaPressed | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 430 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderButtonWithOnClickAnimation | ( | ) | 
test rendering with on click animation
Definition at line 508 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderButtonWithOnLoadCode | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 241 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $id, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderButtonWithSignal | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 484 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, ILIAS_UI_TestBase\assertHTMLEquals(), getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderCloseButton | ( | ) | 
Definition at line 210 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderCloseButtonWithOnLoadCode | ( | ) | 
Definition at line 265 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $id, $r, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testRenderMinimizeButton | ( | ) | 
Definition at line 224 of file ButtonTest.php.
References Vendor\Package\$b, Vendor\Package\$f, $r, getButtonFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
 Here is the call graph for this function:| ButtonTest::testWithOnClickRemovesAction | ( | string | $factory_method | ) | 
getButtonTypeProvider
Definition at line 454 of file ButtonTest.php.
References Vendor\Package\$f, and getButtonFactory().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 41 of file ButtonTest.php.
| const ButtonTest::NOT_APPLICABLE = true | 
Definition at line 34 of file ButtonTest.php.
      
  | 
  static | 
Definition at line 43 of file ButtonTest.php.