ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestSkillLevelThresholdExporterTest 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 ilTestSkillLevelThresholdExporterTest:
+ Collaboration diagram for ilTestSkillLevelThresholdExporterTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testXmlWriter ()
 
 testAssignmentList ()
 
 testThresholdList ()
 

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_ilRbacAdmin ()
 
 addGlobal_ilCtrl ()
 
 addGlobal_lng ()
 
 addGlobal_filesystem ()
 
 addGlobal_upload ()
 
 addGlobal_ilDB ()
 
 addGlobal_ilBench ()
 
 addGlobal_ilLog ()
 
 addGlobal_ilias ()
 
 addGlobal_ilErr ()
 
 addGlobal_GlobalScreenService ()
 
 addGlobal_ilNavigationHistory ()
 
 addGlobal_ilAppEventHandler ()
 
 addGlobal_tpl ()
 
 addGlobal_ilComponentRepository ()
 
 addGlobal_ilComponentFactory ()
 
 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 ()
 
 addGlobal_skillService ()
 
 addGlobal_objectService ()
 
 addGlobal_resourceStorage ()
 
 getTestObjMock ()
 

Private Attributes

ilTestSkillLevelThresholdExporter $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 ilTestSkillLevelThresholdExporterTest

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

Definition at line 23 of file ilTestSkillLevelThresholdExporterTest.php.

Member Function Documentation

◆ setUp()

ilTestSkillLevelThresholdExporterTest::setUp ( )
protected

Definition at line 27 of file ilTestSkillLevelThresholdExporterTest.php.

27  : void
28  {
29  parent::setUp();
30 
31  $this->testObj = new ilTestSkillLevelThresholdExporter();
32  }

◆ test_instantiateObject_shouldReturnInstance()

ilTestSkillLevelThresholdExporterTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 34 of file ilTestSkillLevelThresholdExporterTest.php.

34  : void
35  {
36  $this->assertInstanceOf(ilTestSkillLevelThresholdExporter::class, $this->testObj);
37  }

◆ testAssignmentList()

ilTestSkillLevelThresholdExporterTest::testAssignmentList ( )

Definition at line 46 of file ilTestSkillLevelThresholdExporterTest.php.

46  : void
47  {
48  $mock = $this->createMock(ilAssQuestionSkillAssignmentList::class);
49  $this->testObj->setAssignmentList($mock);
50  $this->assertEquals($mock, $this->testObj->getAssignmentList());
51  }

◆ testThresholdList()

ilTestSkillLevelThresholdExporterTest::testThresholdList ( )

Definition at line 53 of file ilTestSkillLevelThresholdExporterTest.php.

53  : void
54  {
55  $mock = $this->createMock(ilTestSkillLevelThresholdList::class);
56  $this->testObj->setThresholdList($mock);
57  $this->assertEquals($mock, $this->testObj->getThresholdList());
58  }

◆ testXmlWriter()

ilTestSkillLevelThresholdExporterTest::testXmlWriter ( )

Definition at line 39 of file ilTestSkillLevelThresholdExporterTest.php.

39  : void
40  {
41  $xmlWriter = new ilXmlWriter();
42  $this->testObj->setXmlWriter($xmlWriter);
43  $this->assertEquals($xmlWriter, $this->testObj->getXmlWriter());
44  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $testObj

ilTestSkillLevelThresholdExporter ilTestSkillLevelThresholdExporterTest::$testObj
private

Definition at line 25 of file ilTestSkillLevelThresholdExporterTest.php.


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