ILIAS  release_8 Revision v8.24
ilTestSkillLevelThresholdTest 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 ilTestSkillLevelThresholdTest:
+ Collaboration diagram for ilTestSkillLevelThresholdTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testTestId ()
 
 testSkillBaseId ()
 
 testSkillTrefId ()
 
 testSkillLevelId ()
 
 testThreshold ()
 

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

ilTestSkillLevelThreshold $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 ilTestSkillLevelThresholdTest

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

Definition at line 25 of file ilTestSkillLevelThresholdTest.php.

Member Function Documentation

◆ setUp()

ilTestSkillLevelThresholdTest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 29 of file ilTestSkillLevelThresholdTest.php.

29 : void
30 {
31 parent::setUp();
32
33 $this->testObj = new ilTestSkillLevelThreshold($this->createMock(ilDBInterface::class));
34 }

◆ test_instantiateObject_shouldReturnInstance()

ilTestSkillLevelThresholdTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 36 of file ilTestSkillLevelThresholdTest.php.

36 : void
37 {
38 $this->assertInstanceOf(ilTestSkillLevelThreshold::class, $this->testObj);
39 }

◆ testSkillBaseId()

ilTestSkillLevelThresholdTest::testSkillBaseId ( )

Definition at line 47 of file ilTestSkillLevelThresholdTest.php.

47 : void
48 {
49 $this->testObj->setSkillBaseId(12);
50 $this->assertEquals(12, $this->testObj->getSkillBaseId());
51 }

◆ testSkillLevelId()

ilTestSkillLevelThresholdTest::testSkillLevelId ( )

Definition at line 59 of file ilTestSkillLevelThresholdTest.php.

59 : void
60 {
61 $this->testObj->setSkillLevelId(12);
62 $this->assertEquals(12, $this->testObj->getSkillLevelId());
63 }

◆ testSkillTrefId()

ilTestSkillLevelThresholdTest::testSkillTrefId ( )

Definition at line 53 of file ilTestSkillLevelThresholdTest.php.

53 : void
54 {
55 $this->testObj->setSkillTrefId(12);
56 $this->assertEquals(12, $this->testObj->getSkillTrefId());
57 }

◆ testTestId()

ilTestSkillLevelThresholdTest::testTestId ( )

Definition at line 41 of file ilTestSkillLevelThresholdTest.php.

41 : void
42 {
43 $this->testObj->setTestId(12);
44 $this->assertEquals(12, $this->testObj->getTestId());
45 }

◆ testThreshold()

ilTestSkillLevelThresholdTest::testThreshold ( )

Definition at line 65 of file ilTestSkillLevelThresholdTest.php.

65 : void
66 {
67 $this->testObj->setThreshold(12);
68 $this->assertEquals(12, $this->testObj->getThreshold());
69 }

Field Documentation

◆ $testObj

ilTestSkillLevelThreshold ilTestSkillLevelThresholdTest::$testObj
private

Definition at line 27 of file ilTestSkillLevelThresholdTest.php.


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