ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilChatroomUploadFileTaskTest Class Reference

Class ilChatroomUploadFileTaskTest. More...

+ Inheritance diagram for ilChatroomUploadFileTaskTest:
+ Collaboration diagram for ilChatroomUploadFileTaskTest:

Public Member Functions

 testConstructorDies ()
 

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 ()
 

Additional Inherited Members

- Data Fields inherited from ilChatroomAbstractTaskTest
const TEST_REF_ID = 99
 
- Protected Attributes inherited from ilChatroomAbstractTaskTest
 $gui
 
 $ilChatroomServerConnectorMock
 
 $object
 
- Protected Attributes inherited from ilChatroomAbstractTest
 $ilChatroomMock
 
 $ilChatroomUserMock
 

Detailed Description

Member Function Documentation

◆ setUp()

ilChatroomUploadFileTaskTest::setUp ( )
protected

Definition at line 11 of file class.ilChatroomUploadFileTaskTest.php.

References ilChatroomAbstractTaskTest\createIlObjChatroomGUIMock(), and ilChatroomAbstractTaskTest\createIlObjChatroomMock().

12  {
13  parent::setUp();
14 
15  require_once './Modules/Chatroom/classes/gui/class.ilChatroomUploadFileGUI.php';
16 
17  $this->createIlObjChatroomMock(15);
18  $this->createIlObjChatroomGUIMock($this->object);
19  }
+ Here is the call graph for this function:

◆ testConstructorDies()

ilChatroomUploadFileTaskTest::testConstructorDies ( )

Definition at line 21 of file class.ilChatroomUploadFileTaskTest.php.

22  {
23  $this->setExpectedException('Exception', 'METHOD_NOT_IN_USE');
24  $task = new ilChatroomUploadFileGUI();
25  }
Class ilChatroomUploadFileGUI Provides methods to upload a file.

The documentation for this class was generated from the following file: