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

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

ilAssSingleOptionQuestionFeedback $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 ilAssSingleOptionQuestionFeedbackTest.php.

Member Function Documentation

◆ setUp()

ilAssSingleOptionQuestionFeedbackTest::setUp ( )
protected

Definition at line 34 of file ilAssSingleOptionQuestionFeedbackTest.php.

References $lng.

34  : void
35  {
36  parent::setUp();
37 
38  $questionOBJ = $this->createMock(assQuestion::class);
39  $ctrl = $this->createMock(ilCtrl::class);
40  $db = $this->createMock(ilDBInterface::class);
41  $lng = $this->createMock(ilLanguage::class);
42 
43  $this->object = new class ($questionOBJ, $ctrl, $db, $lng) extends ilAssSingleOptionQuestionFeedback {};
44  }
global $lng
Definition: privfeed.php:31

◆ testConstruct()

ilAssSingleOptionQuestionFeedbackTest::testConstruct ( )

Definition at line 46 of file ilAssSingleOptionQuestionFeedbackTest.php.

46  : void
47  {
48  $this->assertInstanceOf(ilAssSingleOptionQuestionFeedback::class, $this->object);
49  }

Field Documentation

◆ $backupGlobals

ilAssSingleOptionQuestionFeedbackTest::$backupGlobals = false
protected

Definition at line 30 of file ilAssSingleOptionQuestionFeedbackTest.php.

◆ $object

ilAssSingleOptionQuestionFeedback ilAssSingleOptionQuestionFeedbackTest::$object
private

Definition at line 32 of file ilAssSingleOptionQuestionFeedbackTest.php.


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