/** * Singleton factory. * @return BasicTestSuite */ public function getInstance() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }
<?php require_once dirname(__FILE__) . "/BasicTestSuite.php"; require_once dirname(__FILE__) . "/common.php"; ini_set("memory_limit", "64M"); $suite = BasicTestSuite::getInstance(); $suite->executeTests();