Class ilTestSkillLevelThresholdXmlParserTest.
More...
◆ setUp()
ilTestSkillLevelThresholdXmlParserTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
ilTestSkillLevelThresholdXmlParserTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testCurSkillBaseId()
ilTestSkillLevelThresholdXmlParserTest::testCurSkillBaseId |
( |
| ) |
|
Definition at line 60 of file ilTestSkillLevelThresholdXmlParserTest.php.
60 : void
61 {
62 $curSkillBaseId = 12;
63 $this->testObj->setCurSkillBaseId($curSkillBaseId);
64 $this->assertEquals($curSkillBaseId, $this->testObj->getCurSkillBaseId());
65 }
◆ testCurSkillLevelThreshold()
ilTestSkillLevelThresholdXmlParserTest::testCurSkillLevelThreshold |
( |
| ) |
|
Definition at line 74 of file ilTestSkillLevelThresholdXmlParserTest.php.
74 : void
75 {
76 $mock = $this->createMock(ilTestSkillLevelThresholdImport::class);
77 $this->testObj->setCurSkillLevelThreshold($mock);
78 $this->assertEquals($mock, $this->testObj->getCurSkillLevelThreshold());
79 }
◆ testCurSkillTrefId()
ilTestSkillLevelThresholdXmlParserTest::testCurSkillTrefId |
( |
| ) |
|
Definition at line 67 of file ilTestSkillLevelThresholdXmlParserTest.php.
67 : void
68 {
69 $curSkillTrefId = 12;
70 $this->testObj->setCurSkillTrefId($curSkillTrefId);
71 $this->assertEquals($curSkillTrefId, $this->testObj->getCurSkillTrefId());
72 }
◆ testInitSkillLevelThresholdImportList()
ilTestSkillLevelThresholdXmlParserTest::testInitSkillLevelThresholdImportList |
( |
| ) |
|
Definition at line 50 of file ilTestSkillLevelThresholdXmlParserTest.php.
50 : void
51 {
53 $this->testObj->initSkillLevelThresholdImportList();
54 $this->assertInstanceOf(
55 ilTestSkillLevelThresholdImportList::class,
56 $this->testObj->getSkillLevelThresholdImportList()
57 );
58 }
References addGlobal_ilDB().
◆ testParsingActive()
ilTestSkillLevelThresholdXmlParserTest::testParsingActive |
( |
| ) |
|
Definition at line 41 of file ilTestSkillLevelThresholdXmlParserTest.php.
41 : void
42 {
43 $this->testObj->setParsingActive(false);
44 $this->assertFalse($this->testObj->isParsingActive());
45
46 $this->testObj->setParsingActive(true);
47 $this->assertTrue($this->testObj->isParsingActive());
48 }
◆ $testObj
The documentation for this class was generated from the following file: