ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssNumericFeedbackTest 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 ilAssNumericFeedbackTest:
+ Collaboration diagram for ilAssNumericFeedbackTest:

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

ilAssNumericFeedback $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 ilAssNumericFeedbackTest.php.

Member Function Documentation

◆ setUp()

ilAssNumericFeedbackTest::setUp ( )
protected

Reimplemented from assBaseTestCase.

Definition at line 34 of file ilAssNumericFeedbackTest.php.

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 ilAssNumericFeedback($questionOBJ, $ctrl, $db, $lng);
44 }
global $lng
Definition: privfeed.php:31

References $lng.

◆ testConstruct()

ilAssNumericFeedbackTest::testConstruct ( )

Definition at line 46 of file ilAssNumericFeedbackTest.php.

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

Field Documentation

◆ $backupGlobals

ilAssNumericFeedbackTest::$backupGlobals = false
protected

Definition at line 30 of file ilAssNumericFeedbackTest.php.

◆ $object

ilAssNumericFeedback ilAssNumericFeedbackTest::$object
private

Definition at line 32 of file ilAssNumericFeedbackTest.php.


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