ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAssQuestionPreviewGUITest Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilAssQuestionPreviewGUITest:
+ Collaboration diagram for ilAssQuestionPreviewGUITest:

Public Member Functions

 testConstruct ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from assBaseTestCase
 setUp ()
 
 tearDown ()
 
 getIRSSMock ()
 

Protected Attributes

 $backupGlobals = false
 
- Protected Attributes inherited from assBaseTestCase
Container $dic = null
 

Private Attributes

ilAssQuestionPreviewGUI $object
 

Detailed Description

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 Unit tests

Author
Matheus Zych mzych.nosp@m.@dat.nosp@m.abay..nosp@m.de

\

This test was automatically generated.

Definition at line 30 of file ilAssQuestionPreviewGUITest.php.

Member Function Documentation

◆ setUp()

ilAssQuestionPreviewGUITest::setUp ( )
protected

Definition at line 36 of file ilAssQuestionPreviewGUITest.php.

References $http, $lng, and ILIAS\UI\examples\Layout\Page\Standard\$refinery.

36  : void
37  {
38  parent::setUp();
39 
40  $this->addGlobal_ilSetting();
41 
42  $ctrl = $this->createMock(ilCtrl::class);
43  $rbac_system = $this->createMock(ilRbacSystem::class);
44  $tabs = $this->createMock(ilTabsGUI::class);
45  $toolbar = $this->createMock(ilToolbarGUI::class);
46  $tpl = $this->createMock(ilGlobalTemplateInterface::class);
47  $ui_factory = $this->createMock(ILIAS\UI\Factory::class);
48  $lng = $this->createMock(ilLanguage::class);
49  $db = $this->createMock(ilDBInterface::class);
50  $random_group = $this->createMock(RandomGroup::class);
51  $global_screen = $this->createMock(ILIAS\GlobalScreen\Services::class);
52  $refinery = $this->createMock(ILIAS\Refinery\Factory::class);
53  $http = $this->createMock(ILIAS\HTTP\Services::class);
54 
55  $this->object = new ilAssQuestionPreviewGUI(
56  $ctrl,
57  $rbac_system,
58  $tabs,
59  $toolbar,
60  $tpl,
61  $ui_factory,
62  $lng,
63  $db,
64  $random_group,
65  $global_screen,
66  $http,
67  $refinery,
68  0
69  );
70  }
Interface Observer Contains several chained tasks and infos about them.
$http
Definition: deliver.php:30
global $lng
Definition: privfeed.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ testConstruct()

ilAssQuestionPreviewGUITest::testConstruct ( )

Definition at line 72 of file ilAssQuestionPreviewGUITest.php.

72  : void
73  {
74  $this->assertInstanceOf(ilAssQuestionPreviewGUI::class, $this->object);
75  }

Field Documentation

◆ $backupGlobals

ilAssQuestionPreviewGUITest::$backupGlobals = false
protected

Definition at line 32 of file ilAssQuestionPreviewGUITest.php.

◆ $object

ilAssQuestionPreviewGUI ilAssQuestionPreviewGUITest::$object
private

Definition at line 34 of file ilAssQuestionPreviewGUITest.php.


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