ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
TestScoringByParticipantGUITest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI
;
22
27
class
TestScoringByParticipantGUITest
extends
ilTestBaseTestCase
28
{
29
private
TestScoringByParticipantGUI
$testObj
;
30
31
protected
function
setUp
(): void
32
{
33
parent::setUp();
34
35
$this->
addGlobal_ilTabs
();
36
$this->
addGlobal_ilObjDataCache
();
37
$this->
addGlobal_ilHelp
();
38
$this->
addGlobal_rbacsystem
();
39
$this->
addGlobal_ilSetting
();
40
$this->
addGlobal_ilToolbar
();
41
$this->
addGlobal_GlobalScreenService
();
42
$this->
addGlobal_ilNavigationHistory
();
43
44
$this->testObj =
new
TestScoringByParticipantGUI
($this->
getTestObjMock
());
45
}
46
47
public
function
test_instantiateObject_shouldReturnInstance
(): void
48
{
49
$this->assertInstanceOf(TestScoringByParticipantGUI::class, $this->testObj);
50
}
51
52
public
function
testTestAccess
(): void
53
{
54
$mock = $this->createMock(ilTestAccess::class);
55
$this->testObj->setTestAccess($mock);
56
$this->assertEquals($mock, $this->testObj->getTestAccess());
57
}
58
}
addGlobal_ilTabs
addGlobal_ilTabs()
Definition:
ilTestBaseTestCaseTrait.php:307
TestScoringByParticipantGUITest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
TestScoringByParticipantGUITest.php:47
TestScoringByParticipantGUITest
Class TestScoringGUITest.
Definition:
TestScoringByParticipantGUITest.php:27
getTestObjMock
getTestObjMock()
Definition:
ilTestBaseTestCaseTrait.php:444
addGlobal_rbacsystem
addGlobal_rbacsystem()
Definition:
ilTestBaseTestCaseTrait.php:204
ilTestBaseTestCase
TestScoringByParticipantGUI
ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI
Scoring class for tests.
Definition:
class.TestScoringByParticipantGUI.php:36
addGlobal_ilToolbar
addGlobal_ilToolbar()
Definition:
ilTestBaseTestCaseTrait.php:327
addGlobal_ilHelp
addGlobal_ilHelp()
Definition:
ilTestBaseTestCaseTrait.php:355
addGlobal_ilSetting
addGlobal_ilSetting()
Definition:
ilTestBaseTestCaseTrait.php:199
TestScoringByParticipantGUITest\setUp
setUp()
Definition:
TestScoringByParticipantGUITest.php:31
TestScoringByParticipantGUITest\testTestAccess
testTestAccess()
Definition:
TestScoringByParticipantGUITest.php:52
addGlobal_ilNavigationHistory
addGlobal_ilNavigationHistory()
Definition:
ilTestBaseTestCaseTrait.php:282
addGlobal_ilObjDataCache
addGlobal_ilObjDataCache()
Definition:
ilTestBaseTestCaseTrait.php:312
TestScoringByParticipantGUITest\$testObj
TestScoringByParticipantGUI $testObj
Definition:
TestScoringByParticipantGUITest.php:29
addGlobal_GlobalScreenService
addGlobal_GlobalScreenService()
Definition:
ilTestBaseTestCaseTrait.php:277
components
ILIAS
Test
tests
TestScoringByParticipantGUITest.php
Generated on Sun Aug 31 2025 23:04:01 for ILIAS by
1.8.13 (using
Doxyfile
)