Test class ilEventItems.
More...
◆ setGlobalVariable()
| EventItemsTest::setGlobalVariable |
( |
string |
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
Definition at line 32 of file EventItemsTest.php.
32 : void
33 {
35
37
40 return $value;
41 };
42 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Customizing of pimple-DIC for ILIAS.
References $c, $DIC, $GLOBALS, and $name.
Referenced by setUp().
◆ setUp()
| EventItemsTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 45 of file EventItemsTest.php.
45 : void
46 {
47 parent::setUp();
48
51
52 $db = $this->createMock(ilDBInterface::class);
53 $tree = $this->createMock(ilTree::class);
54
56 "ilDB",
57 $db
58 );
60 "tree",
61 $tree
62 );
63
65 }
setGlobalVariable(string $name, $value)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
References $dic, $GLOBALS, and setGlobalVariable().
◆ tearDown()
| EventItemsTest::tearDown |
( |
| ) |
|
|
protected |
◆ testSetEventId()
| EventItemsTest::testSetEventId |
( |
| ) |
|
Definition at line 71 of file EventItemsTest.php.
71 : void
72 {
75
76 $this->assertNotEquals(
77 4,
78 $ei->getEventId()
79 );
80 $this->assertEquals(
81 7,
82 $ei->getEventId()
83 );
84 }
ilEventItems $event_items
setEventId(int $a_event_id)
References $event_items, and ilEventItems\setEventId().
◆ $event_items
The documentation for this class was generated from the following file: