ILIAS
release_8 Revision v8.19
|
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working factory and renderer into some classes to be unit tested. More...
Public Member Functions | |
init (Container $dic=null) | |
factory () | |
renderer () | |
mainTemplate () | |
Protected Attributes | |
Container | $dic |
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working factory and renderer into some classes to be unit tested.
See UITestHelperTest for an example of how this can be used.
Definition at line 36 of file UITestHelper.php.
UITestHelper::factory | ( | ) |
Definition at line 60 of file UITestHelper.php.
References init().
UITestHelper::init | ( | Container | $dic = null | ) |
Definition at line 40 of file UITestHelper.php.
References $dic.
Referenced by factory(), mainTemplate(), and renderer().
UITestHelper::mainTemplate | ( | ) |
Definition at line 76 of file UITestHelper.php.
References init().
UITestHelper::renderer | ( | ) |
Definition at line 68 of file UITestHelper.php.
References init().
|
protected |
Definition at line 38 of file UITestHelper.php.
Referenced by init().