ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

Private Attributes

ilTestVerificationTableGUI $tableGui
 

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

Member Function Documentation

◆ setUp()

ilTestVerificationTableGUITest::setUp ( )
protected

Definition at line 31 of file ilTestVerificationTableGUITest.php.

31  : void
32  {
33  parent::setUp();
34 
35  $this->addGlobal_ilUser();
36 
37  $ctrl_mock = $this->createMock(ilCtrl::class);
38  $ctrl_mock
39  ->method("getFormAction")
40  ->willReturnCallback(function () {
41  return "testFormAction";
42  });
43  $this->setGlobalVariable("ilCtrl", $ctrl_mock);
44 
45  $test_gui = $this->getMockBuilder(ilObjTestVerificationGUI::class)->disableOriginalConstructor()->getMock();
46  $this->tableGui = new ilTestVerificationTableGUI(
47  $test_gui,
48  '',
49  $this->createMock(ilDBInterface::class),
50  $this->createMock(ilObjUser::class),
51  $this->createMock(\ILIAS\Test\Logging\TestLogger::class)
52  );
53  }
Interface Observer Contains several chained tasks and infos about them.
List all completed tests for current user.

◆ 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: