ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilObjTestListGUITest.php
Go to the documentation of this file.
1 <?php
2 
20 {
22 
23  protected function setUp(): void
24  {
25  parent::setUp();
26 
27  $this->addGlobal_ilAccess();
28  $this->addGlobal_ilSetting();
29  $this->addGlobal_rbacsystem();
30  $this->addGlobal_filesystem();
31  $this->addGlobal_rbacreview();
32  $this->addGlobal_ilObjDataCache();
33  $this->addGlobal_ilLoggerFactory();
34 
35  $this->testObj = new ilObjTestListGUI(1);
36  }
37  public function testConstruct(): void
38  {
39  $this->assertInstanceOf(ilObjTestListGUI::class, $this->testObj);
40  }
41 
45  public function testCreateDefaultCommand(array $IO): void
46  {
47  $this->assertEquals($IO, $this->testObj->createDefaultCommand($IO));
48  }
49 
50  public static function createDefaultCommandDataProvider()
51  {
52  return [
53  [[]],
54  [[1]],
55  [[1, 2]],
56  [[1, 2, 3]]
57  ];
58  }
59 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilObjTestListGUI.
testCreateDefaultCommand(array $IO)
createDefaultCommandDataProvider