|
ILIAS
Release_5_0_x_branch Revision 61816
|
Unit tests for tree table. More...
Inheritance diagram for ilRBACTest:
Collaboration diagram for ilRBACTest:Public Member Functions | |
| testRbacFA () | |
| RBAC FA tests IL_Init. | |
| testRbacUA () | |
| test rbac_ua IL_Init | |
| testRbacTA () | |
| rbac ta test IL_Init | |
| testRbacPA () | |
| test rbac_pa IL_Init | |
| testConditions () | |
| test preconditions IL_Init | |
| testCache () | |
| IL_Init | |
| testAssignUser () | |
| Test Assign User Method DB: rbac_ua. | |
| testDeassignUser () | |
| Test deassign user Method DB: rbac_ua. | |
| testGrantPermission () | |
| Test grant Permission Method DB: rbac_pa. | |
| testRevokePermission () | |
| Test revoke Permission Method DB: rbac_pa. | |
| testRevokeSubtreePermissions () | |
| Test revokeSubtreePermissions Method DB: rbac_pa. | |
| testRevokePermissionList () | |
| Test revokePermissionList Method DB: rbac_pa. | |
| testSetRolePermission () | |
| Test Set Role Permission Method DB: rbac_template. | |
| testDeleteRolePermission () | |
| Test Delete Role Permission Method DB: rbac_template. | |
| testCopyRoleTemplatePermissions () | |
| Test Copy Role Template Permission Method DB: rbac_template. | |
| testCopyRolePermissions () | |
| Test Method DB: rbac_template DB: rbac_pa. | |
| testCopyRolePermissionIntersection () | |
| Test Copy Role Permission Intersection Method DB: rbac_template. | |
| testCopyRolePermissionUnion () | |
| Test Copy Role Permission Union Method DB: rbac_template. | |
| testCopyRolePermissionSubtract () | |
| Test Copy Role Permission Subtract Method DB: rbac_template. | |
| testAssignOperationToObject () | |
| Test assignOperationToObject Method DB: rbac_ta. | |
| testDeassignOperationFromObject () | |
| Test deassignOperationFromObject Method ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testAssignOperationToObject. | |
Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| $backupGlobals = FALSE | |
|
protected |
Definition at line 37 of file ilRBACTest.php.
| ilRBACTest::testAssignOperationToObject | ( | ) |
Test assignOperationToObject Method DB: rbac_ta.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin
Definition at line 654 of file ilRBACTest.php.
| ilRBACTest::testAssignUser | ( | ) |
Test Assign User Method DB: rbac_ua.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin
Definition at line 186 of file ilRBACTest.php.
| ilRBACTest::testCache | ( | ) |
IL_Init
Definition at line 166 of file ilRBACTest.php.
References $res.
| ilRBACTest::testConditions | ( | ) |
test preconditions IL_Init
| @return |
Definition at line 130 of file ilRBACTest.php.
References ilConditionHandler\_deleteTargetConditionsByRefId(), ilConditionHandler\_getCondition(), ilConditionHandler\_getConditionsOfTarget(), ilConditionHandler\_getConditionsOfTrigger(), and ilConditionHandler\_getDistinctTargetRefIds().
Here is the call graph for this function:| ilRBACTest::testCopyRolePermissionIntersection | ( | ) |
Test Copy Role Permission Intersection Method DB: rbac_template.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testSetRolePermission
Definition at line 537 of file ilRBACTest.php.
| ilRBACTest::testCopyRolePermissions | ( | ) |
Test Method DB: rbac_template DB: rbac_pa.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testGrantPermission testRevokePermission testSetRolePermission
Definition at line 468 of file ilRBACTest.php.
| ilRBACTest::testCopyRolePermissionSubtract | ( | ) |
Test Copy Role Permission Subtract Method DB: rbac_template.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testSetRolePermission
Definition at line 618 of file ilRBACTest.php.
| ilRBACTest::testCopyRolePermissionUnion | ( | ) |
Test Copy Role Permission Union Method DB: rbac_template.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testCopyRoleTemplatePermissions testSetRolePermission
Definition at line 579 of file ilRBACTest.php.
| ilRBACTest::testCopyRoleTemplatePermissions | ( | ) |
Test Copy Role Template Permission Method DB: rbac_template.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testSetRolePermission
Definition at line 437 of file ilRBACTest.php.
| ilRBACTest::testDeassignOperationFromObject | ( | ) |
Test deassignOperationFromObject Method ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testAssignOperationToObject.
Definition at line 670 of file ilRBACTest.php.
| ilRBACTest::testDeassignUser | ( | ) |
Test deassign user Method DB: rbac_ua.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testAssignUser
Definition at line 206 of file ilRBACTest.php.
| ilRBACTest::testDeleteRolePermission | ( | ) |
Test Delete Role Permission Method DB: rbac_template.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testSetRolePermission
Definition at line 402 of file ilRBACTest.php.
| ilRBACTest::testGrantPermission | ( | ) |
Test grant Permission Method DB: rbac_pa.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin
Definition at line 222 of file ilRBACTest.php.
| ilRBACTest::testRbacFA | ( | ) |
RBAC FA tests IL_Init.
| @return |
Definition at line 49 of file ilRBACTest.php.
| ilRBACTest::testRbacPA | ( | ) |
test rbac_pa IL_Init
Definition at line 113 of file ilRBACTest.php.
| ilRBACTest::testRbacTA | ( | ) |
rbac ta test IL_Init
| @return |
Definition at line 94 of file ilRBACTest.php.
| ilRBACTest::testRbacUA | ( | ) |
test rbac_ua IL_Init
Definition at line 78 of file ilRBACTest.php.
References ilUtil\_getObjectsByOperations().
Here is the call graph for this function:| ilRBACTest::testRevokePermission | ( | ) |
Test revoke Permission Method DB: rbac_pa.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testGrantPermission
Definition at line 240 of file ilRBACTest.php.
References $ilDB, $ref_id, and $row.
| ilRBACTest::testRevokePermissionList | ( | ) |
Test revokePermissionList Method DB: rbac_pa.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testGrantPermission
Definition at line 350 of file ilRBACTest.php.
| ilRBACTest::testRevokeSubtreePermissions | ( | ) |
Test revokeSubtreePermissions Method DB: rbac_pa.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin testGrantPermission
Definition at line 306 of file ilRBACTest.php.
References $ilDB, $ref_id, and $row.
| ilRBACTest::testSetRolePermission | ( | ) |
Test Set Role Permission Method DB: rbac_template.
ilRbacReview $rbacreview ilRbacAdmin $rbacadmin
Definition at line 375 of file ilRBACTest.php.
|
protected |
Definition at line 35 of file ilRBACTest.php.