ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomAbstractTaskTest. More...
Data Fields | |
const | TEST_REF_ID = 99 |
Protected Member Functions | |
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 | |
$gui | |
$ilChatroomServerConnectorMock | |
$object | |
Protected Attributes inherited from ilChatroomAbstractTest | |
$ilChatroomMock | |
$ilChatroomUserMock | |
Class ilChatroomAbstractTaskTest.
Definition at line 9 of file class.ilChatroomAbstractTaskTest.php.
|
protected |
Definition at line 79 of file class.ilChatroomAbstractTaskTest.php.
References $GLOBALS, and array.
Referenced by ilChatroomTaskHandlerTest\setUp(), ilChatroomInfoTaskTest\setUp(), and ilChatroomClearTaskTest\setUp().
|
protected |
Definition at line 40 of file class.ilChatroomAbstractTaskTest.php.
References $GLOBALS, and array.
Referenced by ilChatroomTaskHandlerTest\setUp(), ilChatroomInfoTaskTest\setUp(), and ilChatroomClearTaskTest\setUp().
|
protected |
Definition at line 92 of file class.ilChatroomAbstractTaskTest.php.
References $GLOBALS, and array.
Referenced by ilChatroomTaskHandlerTest\setUp(), and ilChatroomClearTaskTest\setUp().
|
protected |
PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount | $times | |
string | $permission | |
boolean | $result |
Definition at line 68 of file class.ilChatroomAbstractTaskTest.php.
References $GLOBALS, and $result.
Referenced by ilChatroomTaskHandlerTest\testCanModerate(), ilChatroomInfoTaskTest\testExecuteDefault(), ilChatroomTaskHandlerTest\testExitIfNoRoomPermissionFails(), ilChatroomTaskHandlerTest\testExitIfNoRoomPermissionSuccess(), and ilChatroomTaskHandlerTest\testRedirectIfNoPermission().
|
protected |
Definition at line 53 of file class.ilChatroomAbstractTaskTest.php.
References $GLOBALS, and array.
Referenced by ilChatroomTaskHandlerTest\setUp(), ilChatroomInfoTaskTest\setUp(), and ilChatroomClearTaskTest\setUp().
|
protected |
int | $userId | |
int | $subRoomId | |
boolean | $result |
Definition at line 127 of file class.ilChatroomAbstractTaskTest.php.
References $result.
Referenced by ilChatroomTaskHandlerTest\testCanModerate(), ilChatroomTaskHandlerTest\testExitIfNoRoomPermissionFails(), and ilChatroomTaskHandlerTest\testExitIfNoRoomPermissionSuccess().
|
protected |
Definition at line 155 of file class.ilChatroomAbstractTaskTest.php.
Referenced by ilChatroomClearTaskTest\setUp().
|
protected |
ilChatroomServerSettings | $settings |
Definition at line 144 of file class.ilChatroomAbstractTaskTest.php.
References $ilChatroomServerConnectorMock, and array.
Referenced by ilChatroomClearTaskTest\setUp().
|
protected |
Definition at line 135 of file class.ilChatroomAbstractTaskTest.php.
Referenced by ilChatroomTaskHandlerTest\testExitIfNoRoomPermissionFails(), and ilChatroomTaskHandlerTest\testExitIfNoRoomPermissionSuccess().
|
protected |
Definition at line 116 of file class.ilChatroomAbstractTaskTest.php.
Referenced by ilChatroomClearTaskTest\setUp().
|
protected |
Definition at line 103 of file class.ilChatroomAbstractTaskTest.php.
References $gui, $object, and array.
Referenced by ilChatroomUploadFileTaskTest\setUp(), ilChatroomPostMessageTaskTest\setUp(), ilChatroomGetPermissionsTaskTest\setUp(), ilChatroomInitialTaskTest\setUp(), ilChatroomInfoTaskTest\setUp(), ilChatroomTaskHandlerTest\setUp(), and ilChatroomClearTaskTest\setUp().
|
protected |
Definition at line 162 of file class.ilChatroomAbstractTaskTest.php.
References $id, $object, and array.
Referenced by ilChatroomUploadFileTaskTest\setUp(), ilChatroomPostMessageTaskTest\setUp(), ilChatroomGetPermissionsTaskTest\setUp(), ilChatroomInitialTaskTest\setUp(), ilChatroomInfoTaskTest\setUp(), ilChatroomTaskHandlerTest\setUp(), and ilChatroomClearTaskTest\setUp().
|
protected |
Definition at line 174 of file class.ilChatroomAbstractTaskTest.php.
References $response.
Referenced by ilChatroomClearTaskTest\testExecuteDefault(), and ilChatroomClearTaskTest\testExecuteDefaultFailedNoRoomExists().
|
protected |
Definition at line 31 of file class.ilChatroomAbstractTaskTest.php.
|
protected |
Definition at line 19 of file class.ilChatroomAbstractTaskTest.php.
Referenced by createIlObjChatroomGUIMock().
|
protected |
Definition at line 24 of file class.ilChatroomAbstractTaskTest.php.
Referenced by createIlChatroomServerConnectorMock().
|
protected |
Definition at line 29 of file class.ilChatroomAbstractTaskTest.php.
Referenced by createIlObjChatroomGUIMock(), and createIlObjChatroomMock().
const ilChatroomAbstractTaskTest::TEST_REF_ID = 99 |
Definition at line 14 of file class.ilChatroomAbstractTaskTest.php.