logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1164930 - /logging/log4php/trunk/src/test/php/appenders/LoggerAppenderSyslogTest.php
Date Sat, 03 Sep 2011 21:21:41 GMT
Author: ihabunek
Date: Sat Sep  3 21:21:40 2011
New Revision: 1164930

URL: http://svn.apache.org/viewvc?rev=1164930&view=rev
Log:
Corrections to minor improvements to Syslog appender unit tests (or why you shouldn't commit
when tired).

Modified:
    logging/log4php/trunk/src/test/php/appenders/LoggerAppenderSyslogTest.php

Modified: logging/log4php/trunk/src/test/php/appenders/LoggerAppenderSyslogTest.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/test/php/appenders/LoggerAppenderSyslogTest.php?rev=1164930&r1=1164929&r2=1164930&view=diff
==============================================================================
--- logging/log4php/trunk/src/test/php/appenders/LoggerAppenderSyslogTest.php (original)
+++ logging/log4php/trunk/src/test/php/appenders/LoggerAppenderSyslogTest.php Sat Sep  3 21:21:40
2011
@@ -76,7 +76,7 @@ class LoggerAppenderSyslogTest extends P
 
 	/** Tests parsing of "option" parameter. */
 	public function testOption() {
-		if(method_exists('ReflectionProperty', 'setAccessible')) {
+		if(!method_exists('ReflectionProperty', 'setAccessible')) {
 			$this->markTestSkipped("ReflectionProperty::setAccessible() required to perform this
test (available in PHP 5.3.2+).");
 		}
 		
@@ -119,7 +119,7 @@ class LoggerAppenderSyslogTest extends P
 	
 	/** Tests parsing of "priority" parameter. */
 	public function testPriority() {
-		if(method_exists('ReflectionProperty', 'setAccessible')) {
+		if(!method_exists('ReflectionProperty', 'setAccessible')) {
 			$this->markTestSkipped("ReflectionProperty::setAccessible() required to perform this
test (available in PHP 5.3.2+).");
 		}
 	
@@ -159,7 +159,7 @@ class LoggerAppenderSyslogTest extends P
 	
 	/** Tests parsing of "facility" parameter. */
 	public function testFacility() {
-		if(method_exists('ReflectionProperty', 'setAccessible')) {
+		if(!method_exists('ReflectionProperty', 'setAccessible')) {
 			$this->markTestSkipped("ReflectionProperty::setAccessible() required to perform this
test (available in PHP 5.3.2+).");
 		}
 	
@@ -233,7 +233,7 @@ class LoggerAppenderSyslogTest extends P
 	
 	
 	public function testPriorityOverride() {
-		if(method_exists('ReflectionProperty', 'setAccessible')) {
+		if(!method_exists('ReflectionProperty', 'setAccessible')) {
 			$this->markTestSkipped("ReflectionProperty::setAccessible() required to perform this
test (available in PHP 5.3.2+).");
 		}
 		



Mime
View raw message