ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilChatroomPostMessageTaskTest.php
Go to the documentation of this file.
1
<?
php
2
3
require_once dirname(__FILE__) .
'/../class.ilChatroomAbstractTaskTest.php'
;
4
9
class
ilChatroomPostMessageTaskTest
extends
ilChatroomAbstractTaskTest
10
{
14
protected
$task
;
15
16
protected
function
setUp
()
17
{
18
parent::setUp();
19
20
require_once
'./Modules/Chatroom/classes/gui/class.ilChatroomPostMessageGUI.php'
;
21
22
$this->
createIlObjChatroomMock
(15);
23
$this->
createIlObjChatroomGUIMock
($this->
object
);
24
25
$this->task = $this->getMock(
26
'ilChatroomPostMessageGUI'
,
27
array
(
'sendResponse'
,
'getRoomByObjectId'
,
'redirectIfNoPermission'
),
28
array
($this->gui)
29
);
30
}
31
32
public
function
testExecuteDefaultDies
()
33
{
34
$this->setExpectedException(
'Exception'
,
'METHOD_NOT_IN_USE'
);
35
$this->task->executeDefault(null);
36
}
37
}
ilChatroomPostMessageTaskTest\testExecuteDefaultDies
testExecuteDefaultDies()
Definition:
class.ilChatroomPostMessageTaskTest.php:32
ilChatroomPostMessageTaskTest\$task
$task
Definition:
class.ilChatroomPostMessageTaskTest.php:14
ilChatroomAbstractTaskTest
Class ilChatroomAbstractTaskTest.
Definition:
class.ilChatroomAbstractTaskTest.php:9
ilChatroomPostMessageTaskTest\setUp
setUp()
Definition:
class.ilChatroomPostMessageTaskTest.php:16
ilChatroomAbstractTaskTest\createIlObjChatroomMock
createIlObjChatroomMock($id)
Definition:
class.ilChatroomAbstractTaskTest.php:164
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilChatroomAbstractTaskTest\createIlObjChatroomGUIMock
createIlObjChatroomGUIMock($object)
Definition:
class.ilChatroomAbstractTaskTest.php:105
ilChatroomPostMessageTaskTest
Class ilChatroomPostMessageTaskTest.
Definition:
class.ilChatroomPostMessageTaskTest.php:9
php
Modules
Chatroom
test
tasks
class.ilChatroomPostMessageTaskTest.php
Generated on Fri Jan 17 2025 19:00:57 for ILIAS by
1.8.13 (using
Doxyfile
)