ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestVerificationTableGUITest Class Reference

Class ilTestVerificationTableGUITest. More...

+ Inheritance diagram for ilTestVerificationTableGUITest:
+ Collaboration diagram for ilTestVerificationTableGUITest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 
 setGlobalVariable (string $name, $value)
 
 getGlobalTemplateMock ()
 
 getDatabaseMock ()
 
 getIliasMock ()
 
 addGlobal_ilAccess ()
 
 addGlobal_ilUser ()
 
 addGlobal_objDefinition ()
 
 addGlobal_tree ()
 
 addGlobal_ilSetting ()
 
 addGlobal_rbacsystem ()
 
 addGlobal_ilRbacAdmin ()
 
 addGlobal_ilCtrl ()
 
 addGlobal_lng ()
 
 addGlobal_filesystem ()
 
 addGlobal_upload ()
 
 addGlobal_ilDB ()
 
 addGlobal_ilBench ()
 
 addGlobal_ilLog ()
 
 addGlobal_ilias ()
 
 addGlobal_ilErr ()
 
 addGlobal_GlobalScreenService ()
 
 addGlobal_ilNavigationHistory ()
 
 addGlobal_ilAppEventHandler ()
 
 addGlobal_tpl ()
 
 addGlobal_ilComponentRepository ()
 
 addGlobal_ilComponentFactory ()
 
 addGlobal_ilTabs ()
 
 addGlobal_ilObjDataCache ()
 
 addGlobal_ilLocator ()
 
 addGlobal_rbacreview ()
 
 addGlobal_ilToolbar ()
 
 addGlobal_http ()
 
 addGlobal_ilIliasIniFile ()
 
 addGlobal_ilLoggerFactory ()
 
 addGlobal_ilHelp ()
 
 addGlobal_ui ()
 
 addGlobal_uiFactory ()
 
 addGlobal_uiRenderer ()
 
 addGlobal_refinery ()
 
 addGlobal_skillService ()
 
 addGlobal_objectService ()
 
 addGlobal_resourceStorage ()
 
 getTestObjMock ()
 

Private Attributes

ilTestVerificationTableGUI $tableGui
 

Additional Inherited Members

- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Member Function Documentation

◆ setUp()

ilTestVerificationTableGUITest::setUp ( )
protected

Definition at line 31 of file ilTestVerificationTableGUITest.php.

References $DIC, ilTestBaseTestCase\addGlobal_ilComponentFactory(), ilTestBaseTestCase\addGlobal_ilComponentRepository(), ilTestBaseTestCase\addGlobal_ilDB(), ilTestBaseTestCase\addGlobal_ilUser(), ilTestBaseTestCase\addGlobal_lng(), ilTestBaseTestCase\addGlobal_tpl(), and ilTestBaseTestCase\setGlobalVariable().

31  : void
32  {
33  global $DIC;
34  parent::setUp();
35 
36  $this->addGlobal_ilDB();
37  $this->addGlobal_ilUser();
38  $this->addGlobal_lng();
39  $this->addGlobal_tpl();
42 
43  $ctrl_mock = $this->createMock(ilCtrl::class);
44  $ctrl_mock
45  ->method("getFormAction")
46  ->willReturnCallback(function () {
47  return "testFormAction";
48  });
49  $this->setGlobalVariable("ilCtrl", $ctrl_mock);
50 
51  $test_gui = $this->getMockBuilder(ilObjTestVerificationGUI::class)->disableOriginalConstructor()->getMock();
52  $this->tableGui = new ilTestVerificationTableGUI($test_gui, '', $DIC['ilDB'], $DIC['ilUser'], new NullLogger());
53  }
global $DIC
Definition: feed.php:28
setGlobalVariable(string $name, $value)
List all completed tests for current user.
+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestVerificationTableGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 55 of file ilTestVerificationTableGUITest.php.

55  : void
56  {
57  $this->assertInstanceOf(ilTestVerificationTableGUI::class, $this->tableGui);
58  }

Field Documentation

◆ $tableGui

ilTestVerificationTableGUI ilTestVerificationTableGUITest::$tableGui
private

Definition at line 29 of file ilTestVerificationTableGUITest.php.


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