ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilTestLPTest 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 ilTestLPTest:
+ Collaboration diagram for ilTestLPTest:

Public Member Functions

 testConstruct ()
 
 testGetDefaultModes (bool $input, array $output)
 
 testGetDefaultMode ()
 
 testGetValidModes ()
 
- Public Member Functions inherited from ilTestBaseTestCase
 createInstanceOf (string $class_name, array $explicit_parameters=[])
 
 createTraitInstanceOf (string $class_name, array $explicit_parameters=[])
 

Static Public Member Functions

static getDefaultModesDataProvider ()
 
- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
static getNonPublicPropertyValue (object $obj, string $name)
 

Additional Inherited Members

- Data Fields inherited from ilTestBaseTestCase
const string MOCKED_METHOD_WITHOUT_OUTPUT = 'MOCKED_METHOD_WITHOUT_OUTPUT'
 
const string DYNAMIC_CLASS = 'DynamicClass'
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 
Container $backup_dic = null
 
- Static Protected Attributes inherited from ilTestBaseTestCase
static int $DYNAMIC_CLASS_COUNT = 0
 

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

Definition at line 19 of file ilTestLPTest.php.

Member Function Documentation

◆ getDefaultModesDataProvider()

◆ testConstruct()

ilTestLPTest::testConstruct ( )

Definition at line 21 of file ilTestLPTest.php.

21  : void
22  {
23  $ilTestLPTest = new ilTestLP(0);
24  $this->assertInstanceOf(ilTestLP::class, $ilTestLPTest);
25  }

◆ testGetDefaultMode()

ilTestLPTest::testGetDefaultMode ( )

Definition at line 41 of file ilTestLPTest.php.

References ilLPObjSettings\LP_MODE_TEST_PASSED.

41  : void
42  {
43  $ilTestLP = new ilTestLP(0);
44  $this->assertEquals(ilLPObjSettings::LP_MODE_TEST_PASSED, $ilTestLP->getDefaultMode());
45  }

◆ testGetDefaultModes()

ilTestLPTest::testGetDefaultModes ( bool  $input,
array  $output 
)

Definition at line 28 of file ilTestLPTest.php.

References ilTestLP\getDefaultModes().

28  : void
29  {
30  $this->assertEquals($output, ilTestLP::getDefaultModes($input));
31  }
static getDefaultModes(bool $a_lp_active)
+ Here is the call graph for this function:

◆ testGetValidModes()

ilTestLPTest::testGetValidModes ( )

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