|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilTermsOfServiceUserHasGlobalRoleCriterionTest. More...
Inheritance diagram for ilTermsOfServiceUserHasGlobalRoleCriterionTest:
Collaboration diagram for ilTermsOfServiceUserHasGlobalRoleCriterionTest:Public Member Functions | |
| setUp () | |
| @inheritDoc More... | |
| testInstanceCanBeCreated () | |
| testFormUserInterfaceElementsAreProperlyBuilt (ilTermsOfServiceUserHasGlobalRoleCriterion $criterion) | |
| testValuesFromFormUserInterfaceElementsCanBeRetrieved (ilTermsOfServiceUserHasGlobalRoleCriterion $criterion) | |
| @depends testFormUserInterfaceElementsAreProperlyBuilt More... | |
| testTypeIdentPresentationIsANonEmptyString (ilTermsOfServiceUserHasGlobalRoleCriterion $criterion) | |
| @depends testFormUserInterfaceElementsAreProperlyBuilt More... | |
| objectCacheProvider () | |
| failingConfigProvider () | |
| testEvaluationFailsIfConfiguredRoleDoesNotMatchTheExpectedFormat (ilTermsOfServiceUserHasGlobalRoleCriterion $criterion, ilTermsOfServiceCriterionConfig $config) | |
| testEvaluationFailsIfConfiguredRoleIsNotAGlobalRole () | |
| testEvaluationFailsIfUserIsNotAssignedToConfiguredGlobalRole () | |
| testEvaluationSucceedsIfUserIsAssignedToDefinedGlobalRole () | |
Protected Member Functions | |
| getInstance () | |
| buildForm (ilTermsOfServiceCriterionTypeGUI $gui, string $httpCriterionSelectionBodyParameter) | |
Protected Member Functions inherited from ilTermsOfServiceCriterionBaseTest | |
| getRbacReviewMock () | |
| getObjectDataCacheMock () | |
| getRadioGroupMock () | |
| getFormMock () | |
| getUserMock () | |
Protected Member Functions inherited from ilTermsOfServiceBaseTest | |
| setUp () | |
| getLanguageMock () | |
| getUiFactoryMock () | |
| setGlobalVariable (string $name, $value) | |
| getCriterionConfig ($value=null) | |
Protected Attributes | |
| $rbacReview | |
| $lng | |
| $expectedInitialValue = 2 | |
| $expectedAfterFormSubmitValue = 4 | |
| $userRoleTitle = 'User' | |
| $adminRoleTitle = 'Administrator' | |
Protected Attributes inherited from ilTermsOfServiceBaseTest | |
| $dic | |
Class ilTermsOfServiceUserHasGlobalRoleCriterionTest.
Definition at line 12 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
| ilTermsOfServiceCriterionTypeGUI | $gui | |
| string | $httpCriterionSelectionBodyParameter |
| ReflectionException |
Definition at line 83 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
| ilTermsOfServiceUserHasGlobalRoleCriterionTest::failingConfigProvider | ( | ) |
| ReflectionException |
Definition at line 223 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
| ReflectionException |
Definition at line 51 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
References ilTermsOfServiceCriterionBaseTest\getObjectDataCacheMock(), and ilTermsOfServiceCriterionBaseTest\getRbacReviewMock().
Referenced by testInstanceCanBeCreated().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTermsOfServiceUserHasGlobalRoleCriterionTest::objectCacheProvider | ( | ) |
Definition at line 179 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
| ilTermsOfServiceUserHasGlobalRoleCriterionTest::setUp | ( | ) |
@inheritDoc
Reimplemented from ilTermsOfServiceBaseTest.
Definition at line 35 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
References ilTermsOfServiceBaseTest\getLanguageMock().
Here is the call graph for this function:| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testEvaluationFailsIfConfiguredRoleDoesNotMatchTheExpectedFormat | ( | ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion | |
| ilTermsOfServiceCriterionConfig | $config | @dataProvider failingConfigProvider |
| ReflectionException |
Definition at line 246 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testEvaluationFailsIfConfiguredRoleIsNotAGlobalRole | ( | ) |
| ReflectionException |
Definition at line 258 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
References ilTermsOfServiceUserHasGlobalRoleCriterion\evaluate().
Here is the call graph for this function:| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testEvaluationFailsIfUserIsNotAssignedToConfiguredGlobalRole | ( | ) |
| ReflectionException |
Definition at line 276 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
References ilTermsOfServiceUserHasGlobalRoleCriterion\evaluate().
Here is the call graph for this function:| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testEvaluationSucceedsIfUserIsAssignedToDefinedGlobalRole | ( | ) |
| ReflectionException |
Definition at line 299 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
References ilTermsOfServiceUserHasGlobalRoleCriterion\evaluate().
Here is the call graph for this function:| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testFormUserInterfaceElementsAreProperlyBuilt | ( | ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion | ) |
| ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion | @depends testInstanceCanBeCreated |
| ReflectionException |
Definition at line 112 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testInstanceCanBeCreated | ( | ) |
| ReflectionException |
Definition at line 67 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
References getInstance().
Here is the call graph for this function:| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testTypeIdentPresentationIsANonEmptyString | ( | ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion | ) |
@depends testFormUserInterfaceElementsAreProperlyBuilt
| ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion |
Definition at line 165 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
| ilTermsOfServiceUserHasGlobalRoleCriterionTest::testValuesFromFormUserInterfaceElementsCanBeRetrieved | ( | ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion | ) |
@depends testFormUserInterfaceElementsAreProperlyBuilt
| ilTermsOfServiceUserHasGlobalRoleCriterion | $criterion |
| ReflectionException |
Definition at line 136 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
Definition at line 30 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
Definition at line 24 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
Definition at line 21 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
Definition at line 18 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
Definition at line 15 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.
|
protected |
Definition at line 27 of file ilTermsOfServiceUserHasGlobalRoleCriterionTest.php.