ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilPdfGeneratorConstantsTest Class Reference
+ Inheritance diagram for ilPdfGeneratorConstantsTest:
+ Collaboration diagram for ilPdfGeneratorConstantsTest:

Public Member Functions

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

Detailed Description

Definition at line 10 of file ilPdfGeneratorConstantsTest.php.

Member Function Documentation

◆ testFooterConstants()

◆ testGetOrientations()

ilPdfGeneratorConstantsTest::testGetOrientations ( )

Definition at line 17 of file ilPdfGeneratorConstantsTest.php.

References ilPDFGenerationConstants\getOrientations().

18  {
19  $this->assertCount(2, ilPDFGenerationConstants::getOrientations());
21  $this->assertSame('Portrait', $orientations['Portrait']);
22  $this->assertSame('Landscape', $orientations['Landscape']);
23  }
+ Here is the call graph for this function:

◆ testGetPageSizesNames()

ilPdfGeneratorConstantsTest::testGetPageSizesNames ( )

Definition at line 25 of file ilPdfGeneratorConstantsTest.php.

References ilPDFGenerationConstants\getPageSizesNames().

26  {
27  $this->assertCount(15, ilPDFGenerationConstants::getPageSizesNames());
28  }
+ Here is the call graph for this function:

◆ testHeaderConstants()

◆ testInstanceCanBeCreated()

ilPdfGeneratorConstantsTest::testInstanceCanBeCreated ( )

Definition at line 12 of file ilPdfGeneratorConstantsTest.php.

13  {
14  $this->assertInstanceOf('ilPDFGenerationConstants', new ilPDFGenerationConstants());
15  }

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