Merge pull request #16946 from civicrm/5.24
[civicrm-core.git] / tests / phpunit / CRM / Case / AllTests.php
1 <?php
2
3 /**
4 * Class containing all test suites
5 *
6 * @package CiviCRM
7 */
8 class CRM_Case_AllTests extends CiviTestSuite {
9 private static $instance = NULL;
10
11 /**
12 */
13 private static function getInstance() {
14 if (is_null(self::$instance)) {
15 self::$instance = new self();
16 }
17 return self::$instance;
18 }
19
20 /**
21 * Build test suite dynamically.
22 */
23 public static function suite() {
24 $inst = self::getInstance();
25 return $inst->implSuite(__FILE__);
26 }
27
28 }