ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
TestScoringByParticipantGUITest Class Reference

Class TestScoringGUITest. More...

+ Inheritance diagram for TestScoringByParticipantGUITest:
+ Collaboration diagram for TestScoringByParticipantGUITest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testTestAccess ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 

Private Attributes

TestScoringByParticipantGUI $testObj
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Class TestScoringGUITest.

Author
Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de

Definition at line 27 of file TestScoringByParticipantGUITest.php.

Member Function Documentation

◆ setUp()

TestScoringByParticipantGUITest::setUp ( )
protected

Definition at line 31 of file TestScoringByParticipantGUITest.php.

31  : 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  }

◆ test_instantiateObject_shouldReturnInstance()

TestScoringByParticipantGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 47 of file TestScoringByParticipantGUITest.php.

47  : void
48  {
49  $this->assertInstanceOf(TestScoringByParticipantGUI::class, $this->testObj);
50  }

◆ testTestAccess()

TestScoringByParticipantGUITest::testTestAccess ( )

Definition at line 52 of file TestScoringByParticipantGUITest.php.

52  : void
53  {
54  $mock = $this->createMock(ilTestAccess::class);
55  $this->testObj->setTestAccess($mock);
56  $this->assertEquals($mock, $this->testObj->getTestAccess());
57  }

Field Documentation

◆ $testObj

TestScoringByParticipantGUI TestScoringByParticipantGUITest::$testObj
private

Definition at line 29 of file TestScoringByParticipantGUITest.php.


The documentation for this class was generated from the following file: