ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAssQuestionFeedbackEditingGUITest 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 ilAssQuestionFeedbackEditingGUITest:
+ Collaboration diagram for ilAssQuestionFeedbackEditingGUITest:

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

ilAssQuestionFeedbackEditingGUI $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 28 of file ilAssQuestionFeedbackEditingGUITest.php.

Member Function Documentation

◆ setUp()

ilAssQuestionFeedbackEditingGUITest::setUp ( )
protected

Definition at line 34 of file ilAssQuestionFeedbackEditingGUITest.php.

References $lng.

34  : void
35  {
36  parent::setUp();
37 
38  $assQuestion = $this->createMock(assQuestion::class);
39  $assQuestion->feedbackOBJ = $this->createMock(ilAssQuestionFeedback::class);
40  $assQuestionGUI = $this->createStub(assQuestionGUI::class);
41  $assQuestionGUI->method('getObject')->willReturn($assQuestion);
42  $ctrl = $this->createMock(ilCtrl::class);
43  $access = $this->createMock(ilAccessHandler::class);
44  $tpl = $this->createMock(ilGlobalTemplateInterface::class);
45  $tabs = $this->createMock(ilTabsGUI::class);
46  $lng = $this->createMock(ilLanguage::class);
47  $help = $this->createMock(ilHelpGUI::class);
48  $questionrepository = $this->createMock(ILIAS\TestQuestionPool\RequestDataCollector::class);
49  $content_style = $this->createMock(ILIAS\Style\Content\Service::class);
50 
51 
52  $this->object = new ilAssQuestionFeedbackEditingGUI(
53  $assQuestionGUI,
54  $ctrl,
55  $access,
56  $tpl,
57  $tabs,
58  $lng,
59  $help,
60  $questionrepository,
61  $content_style
62  );
63  }
Interface Observer Contains several chained tasks and infos about them.
global $lng
Definition: privfeed.php:31

◆ testConstruct()

ilAssQuestionFeedbackEditingGUITest::testConstruct ( )

Definition at line 65 of file ilAssQuestionFeedbackEditingGUITest.php.

65  : void
66  {
67  $this->assertInstanceOf(ilAssQuestionFeedbackEditingGUI::class, $this->object);
68  }

Field Documentation

◆ $backupGlobals

ilAssQuestionFeedbackEditingGUITest::$backupGlobals = false
protected

Definition at line 30 of file ilAssQuestionFeedbackEditingGUITest.php.

◆ $object

ilAssQuestionFeedbackEditingGUI ilAssQuestionFeedbackEditingGUITest::$object
private

Definition at line 32 of file ilAssQuestionFeedbackEditingGUITest.php.


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