| ILIAS
    release_5-3 Revision v5.3.23-19-g915713cf615
    | 
Class ilChatroomTaskHandlerTest. More...
 Inheritance diagram for ilChatroomTaskHandlerTest:
 Inheritance diagram for ilChatroomTaskHandlerTest: Collaboration diagram for ilChatroomTaskHandlerTest:
 Collaboration diagram for ilChatroomTaskHandlerTest:| Public Member Functions | |
| testExecuteDefault () | |
| testExecuteWithMethodExit () | |
| testExecuteWithMethodNotExit () | |
| testIsSuccessfull () | |
| testCanModerate ($isOwnerOfPrivateRoomValue, $checkAccessValue, $result) | |
| @dataProvider canModerateDataProvider  More... | |
| testExitIfNoRoomExists () | |
| testExitIfNoRoomPermissionSuccess () | |
| testExitIfNoRoomPermissionFails () | |
| testRedirectIfNoPermission () | |
| canModerateDataProvider () | |
| Protected Member Functions | |
| setUp () | |
|  Protected Member Functions inherited from ilChatroomAbstractTaskTest | |
| setUp () | |
| createGlobalIlLanguageMock () | |
| createGlobalRbacSystemMock () | |
| createGlobalRbacSystemCheckAccessMock ($permission, $result, $times=null) | |
| createGlobalIlCtrlMock () | |
| createGlobalIlUserMock () | |
| createIlObjChatroomGUIMock ($object) | |
| createIlObjChatroomGUIGetConnectorMock ($returnValue) | |
| createIlChatroomIsOwnerOfPrivateRoomMock ($userId, $subRoomId, $result) | |
| createIlChatroomUserGetUserIdMock ($userId) | |
| createIlChatroomServerConnectorMock ($settings) | |
| createIlChatroomServerConnectorFileGetContentsMock ($returnValue) | |
| createIlObjChatroomMock ($id) | |
| createSendResponseMock ($mock, $response) | |
|  Protected Member Functions inherited from ilChatroomAbstractTest | |
| setUp () | |
| createIlChatroomMock () | |
| createIlChatroomUserMock () | |
| createGlobalIlDBMock () | |
| Protected Attributes | |
| $handler | |
|  Protected Attributes inherited from ilChatroomAbstractTaskTest | |
| $gui | |
| $ilChatroomServerConnectorMock | |
| $object | |
|  Protected Attributes inherited from ilChatroomAbstractTest | |
| $ilChatroomMock | |
| $ilChatroomUserMock | |
| Additional Inherited Members | |
|  Data Fields inherited from ilChatroomAbstractTaskTest | |
| const | TEST_REF_ID = 99 | 
Class ilChatroomTaskHandlerTest.
Definition at line 9 of file class.ilChatroomTaskHandlerTest.php.
| ilChatroomTaskHandlerTest::canModerateDataProvider | ( | ) | 
Definition at line 150 of file class.ilChatroomTaskHandlerTest.php.
| 
 | protected | 
Reimplemented from ilChatroomAbstractTaskTest.
Definition at line 17 of file class.ilChatroomTaskHandlerTest.php.
References ilChatroomAbstractTaskTest\createGlobalIlCtrlMock(), ilChatroomAbstractTaskTest\createGlobalIlLanguageMock(), ilChatroomAbstractTaskTest\createGlobalIlUserMock(), ilChatroomAbstractTaskTest\createGlobalRbacSystemMock(), ilChatroomAbstractTaskTest\createIlObjChatroomGUIMock(), and ilChatroomAbstractTaskTest\createIlObjChatroomMock().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomTaskHandlerTest::testCanModerate | ( | $isOwnerOfPrivateRoomValue, | |
| $checkAccessValue, | |||
| $result | |||
| ) | 
@dataProvider canModerateDataProvider
| boolean | $isOwnerOfPrivateRoomValue | |
| boolean | $checkAccessValue | |
| boolean | $result | 
Definition at line 68 of file class.ilChatroomTaskHandlerTest.php.
References $result, ilChatroomAbstractTaskTest\createGlobalRbacSystemCheckAccessMock(), ilChatroomAbstractTaskTest\createIlChatroomIsOwnerOfPrivateRoomMock(), and ilChatroomAbstractTest\createIlChatroomMock().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomTaskHandlerTest::testExecuteDefault | ( | ) | 
Definition at line 32 of file class.ilChatroomTaskHandlerTest.php.
| ilChatroomTaskHandlerTest::testExecuteWithMethodExit | ( | ) | 
Definition at line 37 of file class.ilChatroomTaskHandlerTest.php.
| ilChatroomTaskHandlerTest::testExecuteWithMethodNotExit | ( | ) | 
Definition at line 42 of file class.ilChatroomTaskHandlerTest.php.
| ilChatroomTaskHandlerTest::testExitIfNoRoomExists | ( | ) | 
Definition at line 80 of file class.ilChatroomTaskHandlerTest.php.
References ilChatroomAbstractTest\createIlChatroomMock().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomTaskHandlerTest::testExitIfNoRoomPermissionFails | ( | ) | 
Definition at line 111 of file class.ilChatroomTaskHandlerTest.php.
References ilChatroomAbstractTaskTest\createGlobalRbacSystemCheckAccessMock(), ilChatroomAbstractTaskTest\createIlChatroomIsOwnerOfPrivateRoomMock(), ilChatroomAbstractTest\createIlChatroomMock(), ilChatroomAbstractTaskTest\createIlChatroomUserGetUserIdMock(), and ilChatroomAbstractTest\createIlChatroomUserMock().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomTaskHandlerTest::testExitIfNoRoomPermissionSuccess | ( | ) | 
Definition at line 97 of file class.ilChatroomTaskHandlerTest.php.
References ilChatroomAbstractTaskTest\createGlobalRbacSystemCheckAccessMock(), ilChatroomAbstractTaskTest\createIlChatroomIsOwnerOfPrivateRoomMock(), ilChatroomAbstractTest\createIlChatroomMock(), ilChatroomAbstractTaskTest\createIlChatroomUserGetUserIdMock(), and ilChatroomAbstractTest\createIlChatroomUserMock().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomTaskHandlerTest::testIsSuccessfull | ( | ) | 
Definition at line 47 of file class.ilChatroomTaskHandlerTest.php.
References $response.
| ilChatroomTaskHandlerTest::testRedirectIfNoPermission | ( | ) | 
Definition at line 138 of file class.ilChatroomTaskHandlerTest.php.
References ilChatroomAbstractTaskTest\createGlobalRbacSystemCheckAccessMock().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 15 of file class.ilChatroomTaskHandlerTest.php.