Пример #1
0
 /**
  * Singleton factory.
  * @return BasicTestSuite
  */
 public function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Пример #2
0
<?php

require_once dirname(__FILE__) . "/BasicTestSuite.php";
require_once dirname(__FILE__) . "/common.php";
ini_set("memory_limit", "64M");
$suite = BasicTestSuite::getInstance();
$suite->executeTests();