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

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testImportSkillBaseId ()
 
 testImportSkillTrefId ()
 
 testImportLevelId ()
 
 testOrderIndex ()
 
 testThreshold ()
 
 testOriginalLevelTitle ()
 
 testOriginalLevelDescription ()
 

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

ilTestSkillLevelThresholdImport $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 ilTestSkillLevelThresholdImportTest

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

Definition at line 25 of file ilTestSkillLevelThresholdImportTest.php.

Member Function Documentation

◆ setUp()

ilTestSkillLevelThresholdImportTest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 29 of file ilTestSkillLevelThresholdImportTest.php.

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

◆ test_instantiateObject_shouldReturnInstance()

ilTestSkillLevelThresholdImportTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 36 of file ilTestSkillLevelThresholdImportTest.php.

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

◆ testImportLevelId()

ilTestSkillLevelThresholdImportTest::testImportLevelId ( )

Definition at line 53 of file ilTestSkillLevelThresholdImportTest.php.

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

◆ testImportSkillBaseId()

ilTestSkillLevelThresholdImportTest::testImportSkillBaseId ( )

Definition at line 41 of file ilTestSkillLevelThresholdImportTest.php.

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

◆ testImportSkillTrefId()

ilTestSkillLevelThresholdImportTest::testImportSkillTrefId ( )

Definition at line 47 of file ilTestSkillLevelThresholdImportTest.php.

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

◆ testOrderIndex()

ilTestSkillLevelThresholdImportTest::testOrderIndex ( )

Definition at line 59 of file ilTestSkillLevelThresholdImportTest.php.

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

◆ testOriginalLevelDescription()

ilTestSkillLevelThresholdImportTest::testOriginalLevelDescription ( )

Definition at line 77 of file ilTestSkillLevelThresholdImportTest.php.

77 : void
78 {
79 $this->testObj->setOriginalLevelDescription("test");
80 $this->assertEquals("test", $this->testObj->getOriginalLevelDescription());
81 }

◆ testOriginalLevelTitle()

ilTestSkillLevelThresholdImportTest::testOriginalLevelTitle ( )

Definition at line 71 of file ilTestSkillLevelThresholdImportTest.php.

71 : void
72 {
73 $this->testObj->setOriginalLevelTitle("test");
74 $this->assertEquals("test", $this->testObj->getOriginalLevelTitle());
75 }

◆ testThreshold()

ilTestSkillLevelThresholdImportTest::testThreshold ( )

Definition at line 65 of file ilTestSkillLevelThresholdImportTest.php.

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

Field Documentation

◆ $testObj

ilTestSkillLevelThresholdImport ilTestSkillLevelThresholdImportTest::$testObj
private

Definition at line 27 of file ilTestSkillLevelThresholdImportTest.php.


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