ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilServicesPDFGenerationSuite.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 
10 {
14  public static function suite()
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  }
40 }
$suite