ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
GroupConfigTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
Component\Chart\Bar
;
22
23
require_once(__DIR__ .
"/../../../../../../../vendor/composer/vendor/autoload.php"
);
24
require_once(__DIR__ .
"/../../../Base.php"
);
25
26
use
ILIAS\UI\Component\Chart\Bar\GroupConfig
;
27
use
ILIAS
;
28
use
ILIAS_UI_TestBase
;
29
33
class
GroupConfigTest
extends
ILIAS_UI_TestBase
34
{
35
public
function
getDataFactory
():
ILIAS
\
Data
\
Factory
36
{
37
return
new
ILIAS\Data\Factory
();
38
}
39
40
public
function
testWithStacked
(): void
41
{
42
$df = $this->
getDataFactory
();
43
44
$gc =
new
GroupConfig
();
45
$gc1 = $gc->withStacked();
46
47
$this->assertFalse($gc->isStacked());
48
$this->assertTrue($gc1->isStacked());
49
}
50
}
Component\Chart\Bar\GroupConfigTest
Test on Group Configuration implementation.
Definition:
GroupConfigTest.php:33
Data
Component\Chart\Bar
Definition:
GroupConfigTest.php:21
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
GroupConfig
Component\Chart\Bar\GroupConfigTest\testWithStacked
testWithStacked()
Definition:
GroupConfigTest.php:40
Factory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Refinery\Factory
Definition:
Factory.php:25
ILIAS_UI_TestBase
ILIAS\UI\Component\Chart\Bar\GroupConfig
Definition:
GroupConfig.php:26
Component\Chart\Bar\GroupConfigTest\getDataFactory
getDataFactory()
Definition:
GroupConfigTest.php:35
components
ILIAS
UI
tests
Component
Chart
Bar
GroupConfigTest.php
Generated on Wed Sep 10 2025 15:16:46 for ILIAS by
1.8.13 (using
Doxyfile
)