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

Static Public Member Functions

static suite ()
 

Detailed Description

Definition at line 9 of file ilServicesPDFGenerationSuite.php.

Member Function Documentation

◆ suite()

static ilServicesPDFGenerationSuite::suite ( )
static
Returns
self

Definition at line 14 of file ilServicesPDFGenerationSuite.php.

References $suite, and defined.

15  {
16  if (defined('ILIAS_PHPUNIT_CONTEXT')) {
17  include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
18  ilUnitUtil::performInitialisation();
19  } else {
20  chdir(__DIR__);
21  chdir('../../../');
22  }
23 
24  // Set timezone to prevent notices
25  date_default_timezone_set('Europe/Berlin');
26 
27  $suite = new self();
28 
29  require_once __DIR__ . '/ilPdfGeneratorConstantsTest.php';
30  $suite->addTestSuite('ilPdfGeneratorConstantsTest');
31 
32  require_once __DIR__ . '/ilPhantomJSRendererTest.php';
33  $suite->addTestSuite('ilPhantomJSRendererTest');
34 
35  require_once __DIR__ . '/ilPhantomJSRendererUiTest.php';
36  $suite->addTestSuite('ilPhantomJSRendererUiTest');
37 
38  return $suite;
39  }
$suite
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27

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