Test class ilPollBlock.
More...
◆ setGlobalVariable()
| PollBlockTest::setGlobalVariable |
( |
string |
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
Definition at line 32 of file PollBlockTest.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()
Definition at line 45 of file PollBlockTest.php.
45 : void
46 {
47 parent::setUp();
48
51
52 $db = $this->createMock(ilDBInterface::class);
53 $lng = $this->createMock(ilLanguage::class);
54
56 "ilDB",
57 $db
58 );
60 "lng",
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, $lng, and setGlobalVariable().
◆ tearDown()
| PollBlockTest::tearDown |
( |
| ) |
|
|
protected |
◆ testSetTitle()
| PollBlockTest::testSetTitle |
( |
| ) |
|
◆ $poll_block
The documentation for this class was generated from the following file: