Merge pull request #20331 from mattwire/suppresslegacywarnings
[civicrm-core.git] / tests / phpunit / E2E / AllTests.php
CommitLineData
c5d26c27
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
7d61e75f 4 | Copyright CiviCRM LLC. All rights reserved. |
c5d26c27 5 | |
7d61e75f
TO
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 |
c5d26c27
TO
9 +--------------------------------------------------------------------+
10 */
11
12/**
13 * Include parent class definition
14 */
15require_once 'CiviTest/CiviTestSuite.php';
16
17/**
18 * Class containing all CRM test suites
19 *
20 * @package CiviCRM
21 */
22class 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}