ILIAS  release_8 Revision v8.24
ilTestPassFinishTasksTest Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilTestPassFinishTasksTest:
+ Collaboration diagram for ilTestPassFinishTasksTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 
 setGlobalVariable (string $name, $value)
 
 getGlobalTemplateMock ()
 
 getDatabaseMock ()
 
 getIliasMock ()
 
 addGlobal_ilAccess ()
 
 addGlobal_ilUser ()
 
 addGlobal_objDefinition ()
 
 addGlobal_tree ()
 
 addGlobal_ilSetting ()
 
 addGlobal_rbacsystem ()
 
 addGlobal_ilCtrl ()
 
 addGlobal_lng ()
 
 addGlobal_filesystem ()
 
 addGlobal_upload ()
 
 addGlobal_ilDB ()
 
 addGlobal_ilLog ()
 
 addGlobal_ilias ()
 
 addGlobal_ilErr ()
 
 addGlobal_ilAppEventHandler ()
 
 addGlobal_tpl ()
 
 addGlobal_ilComponentRepository ()
 
 addGlobal_ilTabs ()
 
 addGlobal_ilObjDataCache ()
 
 addGlobal_ilLocator ()
 
 addGlobal_rbacreview ()
 
 addGlobal_ilToolbar ()
 
 addGlobal_http ()
 
 addGlobal_ilIliasIniFile ()
 
 addGlobal_ilLoggerFactory ()
 
 addGlobal_ilHelp ()
 
 addGlobal_ui ()
 
 addGlobal_uiFactory ()
 
 addGlobal_uiRenderer ()
 
 addGlobal_refinery ()
 

Private Attributes

ilTestPassFinishTasks $testObj
 

Additional Inherited Members

- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilTestPassFinishTasksTest

Author
Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de

Definition at line 25 of file ilTestPassFinishTasksTest.php.

Member Function Documentation

◆ setUp()

ilTestPassFinishTasksTest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 29 of file ilTestPassFinishTasksTest.php.

29 : void
30 {
31 parent::setUp();
32
33 $return_statement = $this->getMockBuilder(ilDBStatement::class)->getMock();
34
35 $db_mock = $this->createMock(ilDBInterface::class);
36 $db_mock->expects($this->any())
37 ->method("queryF")
38 ->willReturn($return_statement);
39
40 $this->setGlobalVariable("ilDB", $db_mock);
41
42 $this->testObj = new ilTestPassFinishTasks(0, 0);
43 }
setGlobalVariable(string $name, $value)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ilTestBaseTestCase\setGlobalVariable().

+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestPassFinishTasksTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 45 of file ilTestPassFinishTasksTest.php.

45 : void
46 {
47 $this->assertInstanceOf(ilTestPassFinishTasks::class, $this->testObj);
48 }

Field Documentation

◆ $testObj

ilTestPassFinishTasks ilTestPassFinishTasksTest::$testObj
private

Definition at line 27 of file ilTestPassFinishTasksTest.php.


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