ILIAS  trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
assQuestionGUITest 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 assQuestionGUITest:
+ Collaboration diagram for assQuestionGUITest:

Public Member Functions

 testConstruct ()
 

Protected Member Functions

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

Protected Attributes

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

Private Attributes

assQuestionGUI $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 assQuestionGUITest.php.

Member Function Documentation

◆ setUp()

assQuestionGUITest::setUp ( )
protected

Definition at line 34 of file assQuestionGUITest.php.

34  : void
35  {
36  parent::setUp();
37 
38  $this->addGlobal_ilLog();
39 
40  $this->object = new class extends assQuestionGUI{
41  public function getSpecificFeedbackOutput(array $userSolution): string
42  {
43  return '';
44  }
45 
46  public function getSolutionOutput($active_id, $pass = null, $graphicalOutput = false, $result_output = false, $show_question_only = true, $show_feedback = false, $show_correct_solution = false, $show_manual_scoring = false, $show_question_text = true): string
47  {
48  return '';
49  }
50 
51  public function getPreview($show_question_only = false, $showInlineFeedback = false): void {}
52 
53  public function getTestOutput($active_id, $pass, $is_question_postponed, $user_post_solutions, $show_specific_inline_feedback): void {}
54  };
55  }
Basic GUI class for assessment questions.

◆ testConstruct()

assQuestionGUITest::testConstruct ( )

Definition at line 57 of file assQuestionGUITest.php.

57  : void
58  {
59  $this->assertInstanceOf(assQuestionGUI::class, $this->object);
60  }

Field Documentation

◆ $backupGlobals

assQuestionGUITest::$backupGlobals = false
protected

Definition at line 30 of file assQuestionGUITest.php.

◆ $object

assQuestionGUI assQuestionGUITest::$object
private

Definition at line 32 of file assQuestionGUITest.php.


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