ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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)
 getDefaultModesDataProvider More...
 
 testGetDefaultMode ()
 
 testGetValidModes ()
 

Static Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

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 43 of file ilTestLPTest.php.

References ilLPObjSettings\LP_MODE_TEST_PASSED.

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

◆ testGetDefaultModes()

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

getDefaultModesDataProvider

Definition at line 30 of file ilTestLPTest.php.

References ilTestLP\getDefaultModes().

30  : void
31  {
32  $this->assertEquals($output, ilTestLP::getDefaultModes($input));
33  }
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: