svn: /pear/packages/Net_Monitor/trunk/tests/ alert.phpt custom.phpt diff.phpt down.phpt multiple.phpt reset.phpt working.phpt

From: Date: Wed, 16 Nov 2011 13:28:05 +0000
Subject: svn: /pear/packages/Net_Monitor/trunk/tests/ alert.phpt custom.phpt diff.phpt down.phpt multiple.phpt reset.phpt working.phpt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-62738@lists.php.net to get a copy of this message
danielc Wed, 16 Nov 2011 13:28:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=319327 Log: Remove error reporting calls (closes bug #19011). Bug: http://pear.php.net/bugs/19011 (unknown) Changed paths: U pear/packages/Net_Monitor/trunk/tests/alert.phpt U pear/packages/Net_Monitor/trunk/tests/custom.phpt U pear/packages/Net_Monitor/trunk/tests/diff.phpt U pear/packages/Net_Monitor/trunk/tests/down.phpt U pear/packages/Net_Monitor/trunk/tests/multiple.phpt U pear/packages/Net_Monitor/trunk/tests/reset.phpt U pear/packages/Net_Monitor/trunk/tests/working.phpt Modified: pear/packages/Net_Monitor/trunk/tests/alert.phpt =================================================================== --- pear/packages/Net_Monitor/trunk/tests/alert.phpt 2011-11-16 13:26:09 UTC (rev 319326) +++ pear/packages/Net_Monitor/trunk/tests/alert.phpt 2011-11-16 13:28:05 UTC (rev 319327) @@ -13,7 +13,6 @@ * */ require_once('Net/Monitor.php'); -error_reporting(E_ALL); $services = array('example.com'=>array('DNS','FTP','HTTPS')); $alerts = array('foo' => array('SMTP' => 'foo@example.com')); $options = array('state_file' => 'Net_Monitor_TestSuite'); Modified: pear/packages/Net_Monitor/trunk/tests/custom.phpt =================================================================== --- pear/packages/Net_Monitor/trunk/tests/custom.phpt 2011-11-16 13:26:09 UTC (rev 319326) +++ pear/packages/Net_Monitor/trunk/tests/custom.phpt 2011-11-16 13:28:05 UTC (rev 319327) @@ -20,7 +20,6 @@ * */ require_once('Net/Monitor.php'); -error_reporting(E_ALL); $services = array('example.com'=>array('DNS','FTP')); $alerts = array(); //use this to output to STDOUT $options = array('state_file' => 'Net_Monitor_TestSuite', 'subject_line' => 'Custom subject','alert_line' => 'Got %m from %h checking %s - code %c'); Modified: pear/packages/Net_Monitor/trunk/tests/diff.phpt =================================================================== --- pear/packages/Net_Monitor/trunk/tests/diff.phpt 2011-11-16 13:26:09 UTC (rev 319326) +++ pear/packages/Net_Monitor/trunk/tests/diff.phpt 2011-11-16 13:28:05 UTC (rev 319327) @@ -15,7 +15,6 @@ * */ require_once 'Net/Monitor.php'; -error_reporting(E_ALL); $primary = array( 'foo.example.com'=>array( Modified: pear/packages/Net_Monitor/trunk/tests/down.phpt =================================================================== --- pear/packages/Net_Monitor/trunk/tests/down.phpt 2011-11-16 13:26:09 UTC (rev 319326) +++ pear/packages/Net_Monitor/trunk/tests/down.phpt 2011-11-16 13:28:05 UTC (rev 319327) @@ -20,7 +20,6 @@ * */ require_once('Net/Monitor.php'); -error_reporting(E_ALL); $services = array('example.com'=>array('DNS','FTP','HTTPS')); $alerts = array(); //use this to output to STDOUT $options = array('state_file' => 'Net_Monitor_TestSuite'); Modified: pear/packages/Net_Monitor/trunk/tests/multiple.phpt =================================================================== --- pear/packages/Net_Monitor/trunk/tests/multiple.phpt 2011-11-16 13:26:09 UTC (rev 319326) +++ pear/packages/Net_Monitor/trunk/tests/multiple.phpt 2011-11-16 13:28:05 UTC (rev 319327) @@ -14,7 +14,6 @@ * */ require_once('Net/Monitor.php'); -error_reporting(E_ALL); $services = array('www.php.net'=>array('SMTP','HTTP'),'pear.php.net'=>array('HTTP')); $alerts = array(); //use this to output to STDOUT $options = array('state_file' => 'Net_Monitor_TestSuite'); Modified: pear/packages/Net_Monitor/trunk/tests/reset.phpt =================================================================== --- pear/packages/Net_Monitor/trunk/tests/reset.phpt 2011-11-16 13:26:09 UTC (rev 319326) +++ pear/packages/Net_Monitor/trunk/tests/reset.phpt 2011-11-16 13:28:05 UTC (rev 319327) @@ -21,7 +21,6 @@ * */ require_once('Net/Monitor.php'); -error_reporting(E_ALL); $services = array('example.com'=>array('DNS','FTP')); $alerts = array(); $options = array('state_file' => 'Net_Monitor_TestSuite'); Modified: pear/packages/Net_Monitor/trunk/tests/working.phpt =================================================================== --- pear/packages/Net_Monitor/trunk/tests/working.phpt 2011-11-16 13:26:09 UTC (rev 319326) +++ pear/packages/Net_Monitor/trunk/tests/working.phpt 2011-11-16 13:28:05 UTC (rev 319327) @@ -14,7 +14,6 @@ * */ require_once 'Net/Monitor.php'; -error_reporting(E_ALL); $services = array('www.php.net'=>array(/*'SMTP',*/'HTTP')); $alerts = array(); //use this to output to STDOUT $options = array('state_file' => 'Net_Monitor_TestSuite');

« previous php.pear.cvs (#62738) next »