ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
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 29 of file ilCtrlContextTest.php.
|
protected |
array | null | $request_values |
Definition at line 88 of file ilCtrlContextTest.php.
References $factory, $refinery, $request, ILIAS\UI\examples\Layout\Page\Standard\$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 72 of file ilCtrlContextTest.php.
References ILIAS\GlobalScreen\Provider\__construct(), and null.
Referenced by testContextBaseClassPropertyAdoptionByRequest(), testContextCommandClassPropertyWithBaseClass(), testContextCommandClassPropertyWithoutBaseClass(), and testContextPropertyAdoptionByRequest().
|
protected |
Definition at line 54 of file ilCtrlContextTest.php.
References factory(), null, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextAsyncPropertyAdoptionByRequest | ( | ) |
Definition at line 162 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 180 of file ilCtrlContextTest.php.
References $context, factory(), getContextWithManualAdoption(), getPath(), and ilCtrlInterface\PARAM_BASE_CLASS.
ilCtrlContextTest::testContextCommandClassPropertyWithBaseClass | ( | ) |
Definition at line 247 of file ilCtrlContextTest.php.
References $context, factory(), getContextWithManualAdoption(), getPath(), ilCtrlInterface\PARAM_CMD_CLASS, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextCommandClassPropertyWithoutBaseClass | ( | ) |
Definition at line 227 of file ilCtrlContextTest.php.
References $context, factory(), getContextWithManualAdoption(), getPath(), ilCtrlInterface\PARAM_CMD_CLASS, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextPathProgressionWhenSettingClasses | ( | ) |
Definition at line 270 of file ilCtrlContextTest.php.
References $context, $structure, and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextPropertiesThatCantBeAdopted | ( | ) |
Definition at line 209 of file ilCtrlContextTest.php.
References $context, factory(), and ILIAS\Repository\refinery().
ilCtrlContextTest::testContextPropertyAdoptionByRequest | ( | ) |
Definition at line 115 of file ilCtrlContextTest.php.
References $context, factory(), 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 197 of file ilCtrlContextTest.php.
References $context, and getContextWithManualAdoption().
|
private |
Definition at line 39 of file ilCtrlContextTest.php.
Referenced by getContextWithManualAdoption().
|
private |
Definition at line 44 of file ilCtrlContextTest.php.
Referenced by getContextWithManualAdoption().
|
private |
Definition at line 34 of file ilCtrlContextTest.php.
Referenced by getContextWithManualAdoption().
|
private |
Definition at line 49 of file ilCtrlContextTest.php.