ILIAS  release_8 Revision v8.24
ilTestSkillLevelThresholdImportTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
26{
28
29 protected function setUp(): void
30 {
31 parent::setUp();
32
33 $this->testObj = new ilTestSkillLevelThresholdImport();
34 }
35
37 {
38 $this->assertInstanceOf(ilTestSkillLevelThresholdImport::class, $this->testObj);
39 }
40
41 public function testImportSkillBaseId(): void
42 {
43 $this->testObj->setImportSkillBaseId(12);
44 $this->assertEquals(12, $this->testObj->getImportSkillBaseId());
45 }
46
47 public function testImportSkillTrefId(): void
48 {
49 $this->testObj->setImportSkillTrefId(12);
50 $this->assertEquals(12, $this->testObj->getImportSkillTrefId());
51 }
52
53 public function testImportLevelId(): void
54 {
55 $this->testObj->setImportLevelId(12);
56 $this->assertEquals(12, $this->testObj->getImportLevelId());
57 }
58
59 public function testOrderIndex(): void
60 {
61 $this->testObj->setOrderIndex(12);
62 $this->assertEquals(12, $this->testObj->getOrderIndex());
63 }
64
65 public function testThreshold(): void
66 {
67 $this->testObj->setThreshold(12);
68 $this->assertEquals(12, $this->testObj->getThreshold());
69 }
70
71 public function testOriginalLevelTitle(): void
72 {
73 $this->testObj->setOriginalLevelTitle("test");
74 $this->assertEquals("test", $this->testObj->getOriginalLevelTitle());
75 }
76
77 public function testOriginalLevelDescription(): void
78 {
79 $this->testObj->setOriginalLevelDescription("test");
80 $this->assertEquals("test", $this->testObj->getOriginalLevelDescription());
81 }
82}
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...