ILIAS
release_8 Revision v8.19
|
Class ilCtrlContextTest. More...
Protected Member Functions | |
setUp () | |
getPath (string $cid_path=null) | |
getContextWithManualAdoption (array $request_values=null) | |
Private Attributes | |
ArrayBasedRequestWrapper | $request |
ilCtrlPathFactory | $factory |
Refinery | $refinery |
array | $values |
Class ilCtrlContextTest.
Definition at line 15 of file ilCtrlContextTest.php.
|
protected |
array | null | $request_values |
Definition at line 74 of file ilCtrlContextTest.php.
References $factory, $refinery, $request, ILIAS\UI\examples\Tree\Expandable\$request_wrapper, ILIAS\GlobalScreen\Provider\__construct(), ilCtrlPathFactory\null(), and ILIAS\Repository\refinery().
Referenced by testContextAsyncPropertyAdoptionByRequest(), testContextBaseClassPropertyAdoptionByRequest(), testContextCommandClassPropertyWithBaseClass(), testContextCommandClassPropertyWithoutBaseClass(), testContextPropertyAdoptionByRequest(), and testContextPropertyAdoptionWithoutCidPathAndBaseClass().
|
protected |
string | null | $cid_path |
Definition at line 58 of file ilCtrlContextTest.php.
References ILIAS\GlobalScreen\Provider\__construct().
Referenced by testContextBaseClassPropertyAdoptionByRequest(), testContextCommandClassPropertyWithBaseClass(), testContextCommandClassPropertyWithoutBaseClass(), and testContextPropertyAdoptionByRequest().
|
protected |
Definition at line 40 of file ilCtrlContextTest.php.
References ILIAS\LTI\ToolProvider\$key, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextAsyncPropertyAdoptionByRequest | ( | ) |
Definition at line 148 of file ilCtrlContextTest.php.
References $context, ilCtrlInterface\CMD_MODE_ASYNC, ilCtrlInterface\CMD_MODE_HTML, ilCtrlInterface\CMD_MODE_PROCESS, getContextWithManualAdoption(), and ilCtrlInterface\PARAM_CMD_MODE.
ilCtrlContextTest::testContextBaseClassPropertyAdoptionByRequest | ( | ) |
Definition at line 166 of file ilCtrlContextTest.php.
References $context, getContextWithManualAdoption(), getPath(), and ilCtrlInterface\PARAM_BASE_CLASS.
ilCtrlContextTest::testContextCommandClassPropertyWithBaseClass | ( | ) |
Definition at line 233 of file ilCtrlContextTest.php.
References $context, getContextWithManualAdoption(), getPath(), ilCtrlInterface\PARAM_CMD_CLASS, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextCommandClassPropertyWithoutBaseClass | ( | ) |
Definition at line 213 of file ilCtrlContextTest.php.
References $context, getContextWithManualAdoption(), getPath(), ilCtrlInterface\PARAM_CMD_CLASS, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextPathProgressionWhenSettingClasses | ( | ) |
Definition at line 256 of file ilCtrlContextTest.php.
References $context, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextPropertiesThatCantBeAdopted | ( | ) |
Definition at line 195 of file ilCtrlContextTest.php.
References $context, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextPropertyAdoptionByRequest | ( | ) |
Definition at line 101 of file ilCtrlContextTest.php.
References $context, getContextWithManualAdoption(), getPath(), ilCtrlInterface\PARAM_BASE_CLASS, ilCtrlInterface\PARAM_CID_PATH, ilCtrlInterface\PARAM_CMD, ilCtrlInterface\PARAM_CMD_CLASS, ilCtrlInterface\PARAM_CMD_MODE, and ilCtrlInterface\PARAM_REDIRECT.
ilCtrlContextTest::testContextPropertyAdoptionWithoutCidPathAndBaseClass | ( | ) |
Definition at line 183 of file ilCtrlContextTest.php.
References $context, and getContextWithManualAdoption().
|
private |
Definition at line 25 of file ilCtrlContextTest.php.
Referenced by getContextWithManualAdoption().
|
private |
Definition at line 30 of file ilCtrlContextTest.php.
Referenced by getContextWithManualAdoption().
|
private |
Definition at line 20 of file ilCtrlContextTest.php.
Referenced by getContextWithManualAdoption().
|
private |
Definition at line 35 of file ilCtrlContextTest.php.