Merge pull request #19418 from eileenmcnaughton/template
[civicrm-core.git] / tests / phpunit / E2E / AllTests.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 * Include parent class definition
14 */
15 require_once 'CiviTest/CiviTestSuite.php';
16
17 /**
18 * Class containing all CRM test suites
19 *
20 * @package CiviCRM
21 */
22 class E2E_AllTests extends CiviTestSuite {
23 private static $instance = NULL;
24
25 /**
26 */
27 private static function getInstance() {
28 if (is_null(self::$instance)) {
29 self::$instance = new self();
30 }
31 return self::$instance;
32 }
33
34 /**
35 * Build test suite dynamically.
36 */
37 public static function suite() {
38 $inst = self::getInstance();
39 return $inst->implSuite(__FILE__);
40 }
41
42 }