ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestLPTest.php
Go to the documentation of this file.
1 <?php
2 
20 {
21  public function testConstruct(): void
22  {
23  $ilTestLPTest = new ilTestLP(0);
24  $this->assertInstanceOf(ilTestLP::class, $ilTestLPTest);
25  }
26 
30  public function testGetDefaultModes(bool $input, array $output): void
31  {
32  $this->assertEquals($output, ilTestLP::getDefaultModes($input));
33  }
34 
35  public static function getDefaultModesDataProvider(): array
36  {
37  return [
40  ];
41  }
42 
43  public function testGetDefaultMode(): void
44  {
45  $ilTestLP = new ilTestLP(0);
46  $this->assertEquals(ilLPObjSettings::LP_MODE_TEST_PASSED, $ilTestLP->getDefaultMode());
47  }
48 
49  public function testGetValidModes(): void
50  {
51  $ilTestLP = new ilTestLP(0);
53  }
54 }
static getDefaultModes(bool $a_lp_active)
testGetDefaultModes(bool $input, array $output)
getDefaultModesDataProvider
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getDefaultModesDataProvider()