This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
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 ilObjTestVerificationListGUITest.php.
◆ setUp()
ilObjTestVerificationListGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 23 of file ilObjTestVerificationListGUITest.php.
27 $this->addGlobal_ilAccess();
28 $this->addGlobal_ilSetting();
29 $this->addGlobal_filesystem();
30 $this->addGlobal_rbacsystem();
31 $this->addGlobal_rbacreview();
32 $this->addGlobal_ilObjDataCache();
33 $this->addGlobal_ilLoggerFactory();
Class ilObjTestVerificationListGUI.
◆ testConstruct()
ilObjTestVerificationListGUITest::testConstruct |
( |
| ) |
|
◆ testGetProperties()
ilObjTestVerificationListGUITest::testGetProperties |
( |
| ) |
|
◆ testInit()
ilObjTestVerificationListGUITest::testInit |
( |
| ) |
|
Definition at line 42 of file ilObjTestVerificationListGUITest.php.
44 $this->assertNull($this->testObj->init());
46 $reflection =
new ReflectionObject($this->testObj);
48 $delete_enabled_property = $reflection->getProperty(
'delete_enabled');
49 $this->assertTrue($delete_enabled_property->getValue($this->testObj));
51 $cut_enabled_property = $reflection->getProperty(
'cut_enabled');
52 $this->assertTrue($cut_enabled_property->getValue($this->testObj));
54 $copy_enabled_property = $reflection->getProperty(
'copy_enabled');
55 $this->assertTrue($copy_enabled_property->getValue($this->testObj));
57 $subscribe_enabled_property = $reflection->getProperty(
'subscribe_enabled');
58 $this->assertFalse($subscribe_enabled_property->getValue($this->testObj));
60 $link_enabled_property = $reflection->getProperty(
'link_enabled');
61 $this->assertFalse($link_enabled_property->getValue($this->testObj));
63 $info_screen_enabled_property = $reflection->getProperty(
'info_screen_enabled');
64 $this->assertFalse($info_screen_enabled_property->getValue($this->testObj));
66 $type_property = $reflection->getProperty(
'type');
67 $this->assertEquals(
'tstv', $type_property->getValue($this->testObj));
69 $gui_class_name_property = $reflection->getProperty(
'gui_class_name');
70 $this->assertEquals(ilObjTestVerificationGUI::class, $gui_class_name_property->getValue($this->testObj));
72 $commands_property = $reflection->getProperty(
'commands');
74 [[
'permission' =>
'read',
'cmd' =>
'view',
'lang_var' =>
'show',
'default' =>
true]],
75 $commands_property->getValue($this->testObj)
◆ $testObj
The documentation for this class was generated from the following file: