3 * File for the CRM_Contact_AllTests class
7 * @author Walt Haas <walt@dharmatech.org> (801) 534-1262
8 * @copyright Copyright CiviCRM LLC (C) 2009
9 * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html
10 * GNU Affero General Public License version 3
13 * This file is part of CiviCRM
15 * CiviCRM is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Affero General Public License
17 * as published by the Free Software Foundation; either version 3 of
18 * the License, or (at your option) any later version.
20 * CiviCRM is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU Affero General Public License for more details.
25 * You should have received a copy of the GNU Affero General Public
26 * License along with this program. If not, see
27 * <http://www.gnu.org/licenses/>.
31 * Class containing all test suites
35 class CRM_Contact_AllTests
extends CiviTestSuite
{
36 private static $instance = NULL;
40 private static function getInstance() {
41 if (is_null(self
::$instance)) {
42 self
::$instance = new self();
44 return self
::$instance;
48 * Build test suite dynamically.
50 public static function suite() {
51 $inst = self
::getInstance();
52 return $inst->implSuite(__FILE__
);