ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

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.

References null.

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(
47  int $active_id,
48  ?int $pass = null,
49  bool $graphical_output = false,
50  bool $result_output = false,
51  bool $show_question_only = true,
52  bool $show_feedback = false,
53  bool $show_correct_solution = false,
54  bool $show_manual_scoring = false,
55  bool $show_question_text = true,
56  bool $show_inline_feedback = true
57  ): string {
58  return '';
59  }
60 
61  public function editQuestion(
62  bool $checkonly = false,
63  ?bool $is_save_cmd = null
64  ): bool {
65  return true;
66  }
67 
68  public function getPreview(
69  bool $show_question_only = false,
70  bool $show_inline_feedback = false
71  ): string {
72  return '';
73  }
74 
75  public function getTestOutput(
76  int $active_id,
77  int $pass,
78  bool $is_question_postponed = false,
79  array|bool $user_post_solutions = false,
80  bool $show_specific_inline_feedback = false
81  ): string {
82  return '';
83  }
84  };
85  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ testConstruct()

assQuestionGUITest::testConstruct ( )

Definition at line 87 of file assQuestionGUITest.php.

87  : void
88  {
89  $this->assertInstanceOf(assQuestionGUI::class, $this->object);
90  }

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: