From: Jan Schneider Date: Fri, 17 Sep 2010 11:31:58 +0000 (+0200) Subject: Match method names. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=51d7b223418e7637f71dfd9e1a83bee0c61ad241;p=horde.git Match method names. --- diff --git a/framework/Ldap/test/Horde/Ldap/UtilTest.php b/framework/Ldap/test/Horde/Ldap/UtilTest.php index f124cc68c..cb22ad7ba 100644 --- a/framework/Ldap/test/Horde/Ldap/UtilTest.php +++ b/framework/Ldap/test/Horde/Ldap/UtilTest.php @@ -12,7 +12,7 @@ class Horde_Ldap_UtilTest extends PHPUnit_Framework_TestCase /** * Test escapeDNValue() */ - public function testEscape_dn_value() + public function testEscapeDNValue() { $dnval = ' ' . chr(22) . ' t,e+s"t,\\vl;u#e=! '; $expected = '\20\20\16 t\,e\+s\"t\,\\\\v\l\;u\#e\=!\20\20\20\20'; @@ -60,7 +60,7 @@ class Horde_Ldap_UtilTest extends PHPUnit_Framework_TestCase /** * Test escaping of filter values. */ - public function testEscape_filter_value() + public function testEscapeFilterValue() { $expected = 't\28e,s\29t\2av\5cal\1eue'; $filterval = 't(e,s)t*v\\al' . chr(30) . 'ue'; @@ -137,7 +137,7 @@ class Horde_Ldap_UtilTest extends PHPUnit_Framework_TestCase * In addition to the above test of the basic split correction, we test * here the functionality of multivalued RDNs. */ - public function testSplit_rdn_multival() + public function testSplitRDNMultivalue() { // One value. $rdn = 'CN=J. Smith'; @@ -196,7 +196,7 @@ class Horde_Ldap_UtilTest extends PHPUnit_Framework_TestCase /** * Tests attribute splitting ('foo=bar' => array('foo', 'bar')) */ - public function testSplit_attribute_string() + public function testSplitAttributeString() { $attr_str = 'foo=bar'; @@ -221,7 +221,7 @@ class Horde_Ldap_UtilTest extends PHPUnit_Framework_TestCase /** * Tests Ldap_explode_dn() */ - public function testLdap_explode_dn() + public function testExplodeDN() { $dn = 'OU=Sales+CN=J. Smith,dc=example,dc=net'; $expected_casefold_none = array( @@ -268,7 +268,7 @@ class Horde_Ldap_UtilTest extends PHPUnit_Framework_TestCase * * Note: This tests depend on the default options of canonicalDN(). */ - public function testCanonical_dn() + public function testCanonicalDN() { // Test empty dn (is valid according to RFC). $this->assertEquals('', Horde_Ldap_Util::canonicalDN(''));