|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Unit tests for tree table. More...
Inheritance diagram for ilRBACTest:
Collaboration diagram for ilRBACTest:Public Member Functions | |
| testRbacFA () | |
| RBAC FA tests @group IL_Init. More... | |
| testRbacUA () | |
| test rbac_ua @group IL_Init More... | |
| testRbacTA () | |
| rbac ta test @group IL_Init More... | |
| testRbacPA () | |
| test rbac_pa @group IL_Init More... | |
| testConditions () | |
| test preconditions @group IL_Init More... | |
| testCache () | |
| @group IL_Init More... | |
| testAssignUser () | |
| Test Assign User Method DB: rbac_ua. More... | |
| testDeassignUser () | |
| Test deassign user Method DB: rbac_ua. More... | |
| testGrantPermission () | |
| Test grant Permission Method DB: rbac_pa. More... | |
| testRevokePermission () | |
| Test revoke Permission Method DB: rbac_pa. More... | |
| testRevokeSubtreePermissions () | |
| Test revokeSubtreePermissions Method DB: rbac_pa. More... | |
| testRevokePermissionList () | |
| Test revokePermissionList Method DB: rbac_pa. More... | |
| testSetRolePermission () | |
| Test Set Role Permission Method DB: rbac_template. More... | |
| testDeleteRolePermission () | |
| Test Delete Role Permission Method DB: rbac_template. More... | |
| testCopyRoleTemplatePermissions () | |
| Test Copy Role Template Permission Method DB: rbac_template. More... | |
| testCopyRolePermissions () | |
| Test Method DB: rbac_template DB: rbac_pa. More... | |
| testCopyRolePermissionIntersection () | |
| Test Copy Role Permission Intersection Method DB: rbac_template. More... | |
| testCopyRolePermissionUnion () | |
| Test Copy Role Permission Union Method DB: rbac_template. More... | |
| testCopyRolePermissionSubtract () | |
| Test Copy Role Permission Subtract Method DB: rbac_template. More... | |
| testAssignOperationToObject () | |
| Test assignOperationToObject Method DB: rbac_ta. More... | |
| testDeassignOperationFromObject () | |
| Test deassignOperationFromObject Method @global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testAssignOperationToObject. More... | |
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.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin
Definition at line 654 of file ilRBACTest.php.
| ilRBACTest::testAssignUser | ( | ) |
Test Assign User Method DB: rbac_ua.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin
Definition at line 186 of file ilRBACTest.php.
| ilRBACTest::testCache | ( | ) |
@group IL_Init
Definition at line 166 of file ilRBACTest.php.
References $res.
| ilRBACTest::testConditions | ( | ) |
test preconditions @group 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.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testSetRolePermission
Definition at line 537 of file ilRBACTest.php.
| ilRBACTest::testCopyRolePermissions | ( | ) |
Test Method DB: rbac_template DB: rbac_pa.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testGrantPermission @depends testRevokePermission @depends testSetRolePermission
Definition at line 468 of file ilRBACTest.php.
| ilRBACTest::testCopyRolePermissionSubtract | ( | ) |
Test Copy Role Permission Subtract Method DB: rbac_template.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testSetRolePermission
Definition at line 618 of file ilRBACTest.php.
| ilRBACTest::testCopyRolePermissionUnion | ( | ) |
Test Copy Role Permission Union Method DB: rbac_template.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testCopyRoleTemplatePermissions @depends testSetRolePermission
Definition at line 579 of file ilRBACTest.php.
| ilRBACTest::testCopyRoleTemplatePermissions | ( | ) |
Test Copy Role Template Permission Method DB: rbac_template.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testSetRolePermission
Definition at line 437 of file ilRBACTest.php.
| ilRBACTest::testDeassignOperationFromObject | ( | ) |
Test deassignOperationFromObject Method @global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testAssignOperationToObject.
Definition at line 670 of file ilRBACTest.php.
| ilRBACTest::testDeassignUser | ( | ) |
Test deassign user Method DB: rbac_ua.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testAssignUser
Definition at line 206 of file ilRBACTest.php.
| ilRBACTest::testDeleteRolePermission | ( | ) |
Test Delete Role Permission Method DB: rbac_template.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testSetRolePermission
Definition at line 402 of file ilRBACTest.php.
| ilRBACTest::testGrantPermission | ( | ) |
Test grant Permission Method DB: rbac_pa.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin
Definition at line 222 of file ilRBACTest.php.
| ilRBACTest::testRbacFA | ( | ) |
RBAC FA tests @group IL_Init.
return
Definition at line 49 of file ilRBACTest.php.
| ilRBACTest::testRbacPA | ( | ) |
test rbac_pa @group IL_Init
Definition at line 113 of file ilRBACTest.php.
| ilRBACTest::testRbacTA | ( | ) |
rbac ta test @group IL_Init
return
Definition at line 94 of file ilRBACTest.php.
| ilRBACTest::testRbacUA | ( | ) |
test rbac_ua @group 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.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testGrantPermission
Definition at line 240 of file ilRBACTest.php.
| ilRBACTest::testRevokePermissionList | ( | ) |
Test revokePermissionList Method DB: rbac_pa.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testGrantPermission
Definition at line 350 of file ilRBACTest.php.
| ilRBACTest::testRevokeSubtreePermissions | ( | ) |
Test revokeSubtreePermissions Method DB: rbac_pa.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin @depends testGrantPermission
Definition at line 306 of file ilRBACTest.php.
| ilRBACTest::testSetRolePermission | ( | ) |
Test Set Role Permission Method DB: rbac_template.
@global ilRbacReview $rbacreview @global ilRbacAdmin $rbacadmin
Definition at line 375 of file ilRBACTest.php.
|
protected |
Definition at line 35 of file ilRBACTest.php.