ILIAS  release_8 Revision v8.24
ilPdfGeneratorConstantsTest Class Reference
+ Inheritance diagram for ilPdfGeneratorConstantsTest:
+ Collaboration diagram for ilPdfGeneratorConstantsTest:

Public Member Functions

 testInstanceCanBeCreated ()
 
 testGetOrientations ()
 
 testGetPageSizesNames ()
 
 testHeaderConstants ()
 
 testFooterConstants ()
 

Detailed Description

Definition at line 27 of file ilPdfGeneratorConstantsTest.php.

Member Function Documentation

◆ testFooterConstants()

◆ testGetOrientations()

ilPdfGeneratorConstantsTest::testGetOrientations ( )

Definition at line 34 of file ilPdfGeneratorConstantsTest.php.

34 : void
35 {
36 $this->assertCount(2, ilPDFGenerationConstants::getOrientations());
38 $this->assertSame('Portrait', $orientations['Portrait']);
39 $this->assertSame('Landscape', $orientations['Landscape']);
40 }

References ilPDFGenerationConstants\getOrientations().

+ Here is the call graph for this function:

◆ testGetPageSizesNames()

ilPdfGeneratorConstantsTest::testGetPageSizesNames ( )

Definition at line 42 of file ilPdfGeneratorConstantsTest.php.

42 : void
43 {
44 $this->assertCount(15, ilPDFGenerationConstants::getPageSizesNames());
45 }

References ilPDFGenerationConstants\getPageSizesNames().

+ Here is the call graph for this function:

◆ testHeaderConstants()

◆ testInstanceCanBeCreated()

ilPdfGeneratorConstantsTest::testInstanceCanBeCreated ( )

Definition at line 29 of file ilPdfGeneratorConstantsTest.php.

29 : void
30 {
31 $this->assertInstanceOf('ilPDFGenerationConstants', new ilPDFGenerationConstants());
32 }

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