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

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

ilAssLacAbstractExpression $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 ilAssLacAbstractExpressionTest.php.

Member Function Documentation

◆ setUp()

ilAssLacAbstractExpressionTest::setUp ( )
protected

Definition at line 34 of file ilAssLacAbstractExpressionTest.php.

References ILIAS\UI\Implementation\Component\Input\getValue().

34  : void
35  {
36  parent::setUp();
37 
38  $this->object = new class () extends ilAssLacAbstractExpression {
39  public function getValue(): string
40  {
41  return '';
42  }
43 
44  public function parseValue($value): void
45  {
46  }
47 
48  public function getDescription(): string
49  {
50  return '';
51  }
52 
53  public function setMatches($matches): void
54  {
55  }
56  };
57  }
getValue()
Get the value that is displayed in the input client side.
Definition: Group.php:49
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ testConstruct()

ilAssLacAbstractExpressionTest::testConstruct ( )

Definition at line 59 of file ilAssLacAbstractExpressionTest.php.

59  : void
60  {
61  $this->assertInstanceOf(ilAssLacAbstractExpression::class, $this->object);
62  }

Field Documentation

◆ $backupGlobals

ilAssLacAbstractExpressionTest::$backupGlobals = false
protected

Definition at line 30 of file ilAssLacAbstractExpressionTest.php.

◆ $object

ilAssLacAbstractExpression ilAssLacAbstractExpressionTest::$object
private

Definition at line 32 of file ilAssLacAbstractExpressionTest.php.


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