commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / tests / phpunit / CRM / Case / AllTests.php
1 <?php
2
3 /**
4 * Include parent class definition
5 */
6 require_once 'CiviTest/CiviTestSuite.php';
7
8 /**
9 * Class containing all test suites
10 *
11 * @package CiviCRM
12 */
13 class CRM_Case_AllTests extends CiviTestSuite {
14 private static $instance = NULL;
15
16 /**
17 */
18 private static function getInstance() {
19 if (is_null(self::$instance)) {
20 self::$instance = new self();
21 }
22 return self::$instance;
23 }
24
25 /**
26 * Build test suite dynamically.
27 */
28 public static function suite() {
29 $inst = self::getInstance();
30 return $inst->implSuite(__FILE__);
31 }
32
33 }