{
public function setUp()
{
+ if (!class_exists('Horde_Alarm')) {
+ $this->markTestSkipped('The Horde_Alarm package is not installed!');
+ }
+
$this->handler = $this->getMock(
'Horde_Notification_Handler_Base', array(), array(), '', false, false
);
{
public function setUp()
{
+ if (!class_exists('Log')) {
+ $this->markTestSkipped('The PEAR Log package is not installed!');
+ }
+
@include_once 'Log.php';
if (!defined('PEAR_LOG_DEBUG')) {
$this->markTestSkipped('The PEAR_LOG_DEBUG constant is not available!');
{
public function setUp()
{
+ if (!class_exists('Horde_Log_Logger')) {
+ $this->markTestSkipped('The Horde_Log package is not installed!');
+ }
+
$this->handler = $this->getMock(
'Horde_Notification_Handler_Base', array(), array(), '', false, false
);
{
public function setUp()
{
+ if (!class_exists('Horde_Perms')) {
+ $this->markTestSkipped('The Horde_Perms package is not installed!');
+ }
+
+ if (!class_exists('Horde_Mobile')) {
+ $this->markTestSkipped('The Horde_Mobile package is not installed!');
+ }
+
/** Loading Horde/Registry.php requires the PERMS_* constants */
require_once 'Horde/Perms.php';
/**
{
public function setUp()
{
+ if (!class_exists('Horde_Perms')) {
+ $this->markTestSkipped('The Horde_Perms package is not installed!');
+ }
+
/** Loading Horde/Registry.php requires the PERMS_* constants */
require_once 'Horde/Perms.php';
/**
public function testMethodSingletonReturnsAlarmhandlerIfTheAlarmSystemisConfigured()
{
+ if (!class_exists('Horde_Alarm')) {
+ $this->markTestSkipped('The Horde_Alarm package is not installed!');
+ }
+
global $conf;
$conf['alarms']['driver'] = 'Mock';