PHP Class Horde_Ldap_UtilTest, horde

Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Test_Case
Show file Open project: horde/horde

Public Methods

Method Description
testAsc2hex32 ( ) Test asc2hex32()
testCanonicalDN ( ) Tests if canonicalDN() works.
testEscapeDNValue ( ) Test escapeDNValue()
testEscapeFilterValue ( ) Test escaping of filter values.
testExplodeDN ( ) Tests Ldap_explode_dn()
testHex2asc ( ) Test HEX unescaping
testSplitAttributeString ( ) Tests attribute splitting ('foo=bar' => array('foo', 'bar'))
testSplitRDNMultivalue ( ) Tests splitRDNMultivalue()
testUnescapeDNValue ( ) Test unescapeDNValue()
testUnescapeFilterValue ( ) Test unescaping of filter values.

Method Details

testAsc2hex32() public method

Test asc2hex32()
public testAsc2hex32 ( )

testCanonicalDN() public method

Note: This tests depend on the default options of canonicalDN().
public testCanonicalDN ( )

testEscapeDNValue() public method

Test escapeDNValue()
public testEscapeDNValue ( )

testEscapeFilterValue() public method

Test escaping of filter values.

testExplodeDN() public method

Tests Ldap_explode_dn()
public testExplodeDN ( )

testHex2asc() public method

Test HEX unescaping
public testHex2asc ( )

testSplitAttributeString() public method

Tests attribute splitting ('foo=bar' => array('foo', 'bar'))

testSplitRDNMultivalue() public method

In addition to the above test of the basic split correction, we test here the functionality of multivalued RDNs.

testUnescapeDNValue() public method

Test unescapeDNValue()
public testUnescapeDNValue ( )

testUnescapeFilterValue() public method

Test unescaping of filter values.