This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
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 ilTestSkillEvaluationGUITest
- Author
- Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de
Definition at line 25 of file ilTestSkillEvaluationGUITest.php.
◆ setUp()
ilTestSkillEvaluationGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 29 of file ilTestSkillEvaluationGUITest.php.
34 $this->createMock(ilCtrl::class),
35 $this->createMock(ilTabsGUI::class),
36 $this->createMock(ilGlobalPageTemplate::class),
37 $this->createMock(ilLanguage::class),
38 $this->createMock(ilDBInterface::class),
39 $this->createMock(ilObjTest::class)
◆ test_instantiateObject_shouldReturnInstance()
ilTestSkillEvaluationGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testAvailableSkillProfiles()
ilTestSkillEvaluationGUITest::testAvailableSkillProfiles |
( |
| ) |
|
Definition at line 78 of file ilTestSkillEvaluationGUITest.php.
80 $expected = [
"test",
"test2"];
81 $this->testObj->setAvailableSkillProfiles($expected);
82 $this->assertEquals($expected, $this->testObj->getAvailableSkillProfiles());
◆ testAvailableSkills()
ilTestSkillEvaluationGUITest::testAvailableSkills |
( |
| ) |
|
Definition at line 85 of file ilTestSkillEvaluationGUITest.php.
87 $expected = [
"test",
"test2"];
88 $this->testObj->setAvailableSkills($expected);
89 $this->assertEquals($expected, $this->testObj->getAvailableSkills());
◆ testNoSkillProfileOptionEnabled()
ilTestSkillEvaluationGUITest::testNoSkillProfileOptionEnabled |
( |
| ) |
|
Definition at line 69 of file ilTestSkillEvaluationGUITest.php.
71 $this->testObj->setNoSkillProfileOptionEnabled(
false);
72 $this->assertFalse($this->testObj->isNoSkillProfileOptionEnabled());
74 $this->testObj->setNoSkillProfileOptionEnabled(
true);
75 $this->assertTrue($this->testObj->isNoSkillProfileOptionEnabled());
◆ testObjectiveOrientedContainer()
ilTestSkillEvaluationGUITest::testObjectiveOrientedContainer |
( |
| ) |
|
Definition at line 55 of file ilTestSkillEvaluationGUITest.php.
57 $mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
58 $this->testObj->setObjectiveOrientedContainer($mock);
59 $this->assertEquals($mock, $this->testObj->getObjectiveOrientedContainer());
◆ testQuestionList()
ilTestSkillEvaluationGUITest::testQuestionList |
( |
| ) |
|
Definition at line 48 of file ilTestSkillEvaluationGUITest.php.
50 $mock = $this->createMock(ilAssQuestionList::class);
51 $this->testObj->setQuestionList($mock);
52 $this->assertEquals($mock, $this->testObj->getQuestionList());
◆ testTestSession()
ilTestSkillEvaluationGUITest::testTestSession |
( |
| ) |
|
Definition at line 62 of file ilTestSkillEvaluationGUITest.php.
64 $mock = $this->createMock(ilTestSession::class);
65 $this->testObj->setTestSession($mock);
66 $this->assertEquals($mock, $this->testObj->getTestSession());
◆ $testObj
The documentation for this class was generated from the following file: