Sha256: 30d1e81736119a51c68e752be8c7e62d36209911f632617592a7a2ab25239bcf
Contents?: true
Size: 658 Bytes
Versions: 3
Compression:
Stored size: 658 Bytes
Contents
# encoding: utf-8 require_relative 'test_helper' class TestFilterParser < Test::Unit::TestCase def test_ascii assert_kind_of Net::LDAP::Filter, Net::LDAP::Filter::FilterParser.parse("(cn=name)") end def test_multibyte_characters assert_kind_of Net::LDAP::Filter, Net::LDAP::Filter::FilterParser.parse("(cn=名前)") end def test_brackets assert_kind_of Net::LDAP::Filter, Net::LDAP::Filter::FilterParser.parse("(cn=[{something}])") end def test_colons assert_kind_of Net::LDAP::Filter, Net::LDAP::Filter::FilterParser.parse("(ismemberof=cn=edu:berkeley:app:calmessages:deans,ou=campus groups,dc=berkeley,dc=edu)") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
net-ldap-0.11 | test/test_filter_parser.rb |
net-ldap-0.10.1 | test/test_filter_parser.rb |
net-ldap-0.10.0 | test/test_filter_parser.rb |