ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Component\Chart\Bar\GroupConfigTest Class Reference

Test on Group Configuration implementation. More...

+ Inheritance diagram for Component\Chart\Bar\GroupConfigTest:
+ Collaboration diagram for Component\Chart\Bar\GroupConfigTest:

Public Member Functions

 getDataFactory ()
 
 testWithStacked ()
 

Detailed Description

Test on Group Configuration implementation.

Definition at line 33 of file GroupConfigTest.php.

Member Function Documentation

◆ getDataFactory()

Component\Chart\Bar\GroupConfigTest::getDataFactory ( )

Definition at line 35 of file GroupConfigTest.php.

36 {
37 return new ILIAS\Data\Factory();
38 }
Builds data types.
Definition: Factory.php:36

Referenced by Component\Chart\Bar\GroupConfigTest\testWithStacked().

+ Here is the caller graph for this function:

◆ testWithStacked()

Component\Chart\Bar\GroupConfigTest::testWithStacked ( )

Definition at line 40 of file GroupConfigTest.php.

40 : 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 }

References Component\Chart\Bar\GroupConfigTest\getDataFactory().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: