ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
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

Reimplemented from assBaseTestCase.

Definition at line 36 of file ilAssQuestionPreviewGUITest.php.

36 : void
37 {
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 $content_style = $this->createMock(ILIAS\Style\Content\Service::class);
53
54 $this->object = new ilAssQuestionPreviewGUI(
55 $ctrl,
56 $rbac_system,
57 $tabs,
58 $toolbar,
59 $tpl,
60 $ui_factory,
61 $lng,
62 $db,
63 $random_group,
64 $global_screen,
65 $content_style,
66 0
67 );
68 }
readonly ilGlobalTemplateInterface $tpl
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $lng
Definition: privfeed.php:26

References $lng, ILIAS\News\Common\Table\$tpl, addGlobal_ilSetting(), and setUp().

+ Here is the call graph for this function:

◆ testConstruct()

ilAssQuestionPreviewGUITest::testConstruct ( )

Definition at line 70 of file ilAssQuestionPreviewGUITest.php.

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

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: