} //Test description: Can we use short notations? if (!$shortnotation_for_redbeandecorator || class_exists($shortnotation_for_redbeandecorator)) { SmartTest::instance()->progress(); } else { SmartTest::failedTest(); } //Test description: Check other basic functions try { $db = RedBean_OODB::$db; if ($db instanceof RedBean_DBAdapter) { SmartTest::instance()->progress(); } else { SmartTest::failedTest(); } if (RedBean_OODB::getVersionInfo()) { SmartTest::instance()->progress(); } else { SmartTest::failedTest(); } if (RedBean_OODB::getVersionNumber()) { SmartTest::instance()->progress(); } else { SmartTest::failedTest(); } SmartTest::instance()->progress(); } catch (Exception $e) { SmartTest::failedTest(); } //Test description: Test redbean table-space SmartTest::instance()->testPack = "Configuration tester";