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