22 private static $frameworkReady =
false;
28 if (!self::$frameworkReady) {
30 self::$frameworkReady =
true;
32 if ($this->conn === null) {
34 $this->conn = $this->createDefaultDBConnection($params[
'connection'], $params[
'dbName']);
40 if (!self::$frameworkReady) {
42 self::$frameworkReady =
true;
46 $logger->info(
"Running: ".get_class($this).
".".$this->getName());
50 self::$frameworkReady =
false;
static getLogger($name)
Get the logger with the given name.
DatabaseTestCase is the base class for test cases that need database support.
static createDatabase()
Create the test database, if sqlite is configured.
static initFramework($configPath)
Set up the wcmf framework.