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 ilTestParticipantsGUITest
- Author
- Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de
Definition at line 25 of file ilTestParticipantsGUITest.php.
◆ setUp()
ilTestParticipantsGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 33 of file ilTestParticipantsGUITest.php.
References $DIC.
38 $this->backup_dic =
$DIC;
40 'tpl' => $this->getMockBuilder(ilGlobalTemplateInterface::class)
44 $this->createMock(ilObjTest::class),
45 $this->createMock(ilTestQuestionSetConfig::class)
◆ tearDown()
ilTestParticipantsGUITest::tearDown |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
ilTestParticipantsGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testObjectiveParent()
ilTestParticipantsGUITest::testObjectiveParent |
( |
| ) |
|
Definition at line 74 of file ilTestParticipantsGUITest.php.
76 $mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
77 $this->testObj->setObjectiveParent($mock);
78 $this->assertEquals($mock, $this->testObj->getObjectiveParent());
◆ testQuestionSetConfig()
ilTestParticipantsGUITest::testQuestionSetConfig |
( |
| ) |
|
Definition at line 67 of file ilTestParticipantsGUITest.php.
69 $mock = $this->createMock(ilTestQuestionSetConfig::class);
70 $this->testObj->setQuestionSetConfig($mock);
71 $this->assertEquals($mock, $this->testObj->getQuestionSetConfig());
◆ testTestAccess()
ilTestParticipantsGUITest::testTestAccess |
( |
| ) |
|
Definition at line 81 of file ilTestParticipantsGUITest.php.
83 $mock = $this->createMock(ilTestAccess::class);
84 $this->testObj->setTestAccess($mock);
85 $this->assertEquals($mock, $this->testObj->getTestAccess());
◆ testTestObj()
ilTestParticipantsGUITest::testTestObj |
( |
| ) |
|
Definition at line 60 of file ilTestParticipantsGUITest.php.
62 $mock = $this->createMock(ilObjTest::class);
63 $this->testObj->setTestObj($mock);
64 $this->assertEquals($mock, $this->testObj->getTestObj());
◆ $backup_dic
ilTestParticipantsGUITest::$backup_dic |
|
private |
◆ $testObj
The documentation for this class was generated from the following file: