Class ilTestSkillEvaluationGUITest.
More...
◆ setUp()
ilTestSkillEvaluationGUITest::setUp |
( |
| ) |
|
|
protected |
Reimplemented from ilTestBaseTestCase.
Definition at line 29 of file ilTestSkillEvaluationGUITest.php.
29 : void
30 {
31 parent::setUp();
32
35 $this->createMock(ilCtrl::class),
36 $this->createMock(ilGlobalPageTemplate::class),
37 $this->createMock(ilLanguage::class),
38 $this->createMock(ilDBInterface::class),
39 $this->createMock(\
ILIAS\
Test\Logging\TestLogger::class),
40 $this->createMock(
ILIAS\Skill\Service\SkillService::class),
41 $this->createMock(
ILIAS\
Test\RequestDataCollector::class)
42 );
43 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
References getTestObjMock().
◆ test_instantiateObject_shouldReturnInstance()
ilTestSkillEvaluationGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testObjectiveOrientedContainer()
ilTestSkillEvaluationGUITest::testObjectiveOrientedContainer |
( |
| ) |
|
Definition at line 57 of file ilTestSkillEvaluationGUITest.php.
57 : void
58 {
59 $mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
60 $this->testObj->setObjectiveOrientedContainer($mock);
61 $this->assertEquals($mock, $this->testObj->getObjectiveOrientedContainer());
62 }
◆ testQuestionList()
ilTestSkillEvaluationGUITest::testQuestionList |
( |
| ) |
|
Definition at line 50 of file ilTestSkillEvaluationGUITest.php.
50 : void
51 {
52 $mock = $this->createMock(ilAssQuestionList::class);
53 $this->testObj->setQuestionList($mock);
54 $this->assertEquals($mock, $this->testObj->getQuestionList());
55 }
◆ testTestSession()
ilTestSkillEvaluationGUITest::testTestSession |
( |
| ) |
|
Definition at line 64 of file ilTestSkillEvaluationGUITest.php.
64 : void
65 {
66 $mock = $this->createMock(ilTestSession::class);
67 $this->testObj->setTestSession($mock);
68 $this->assertEquals($mock, $this->testObj->getTestSession());
69 }
◆ $testObj
The documentation for this class was generated from the following file: