https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d8772ec2ca6ff9e19930769fa77ec1940aacb70f

commit d8772ec2ca6ff9e19930769fa77ec1940aacb70f
Author:     Amine Khaldi <[email protected]>
AuthorDate: Sun Jan 21 21:57:40 2018 +0100
Commit:     Amine Khaldi <[email protected]>
CommitDate: Sun Jan 21 21:57:40 2018 +0100

    [WLDAP32_WINETEST] Sync with Wine 3.0. CORE-14225
---
 modules/rostests/winetests/wldap32/parse.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/modules/rostests/winetests/wldap32/parse.c 
b/modules/rostests/winetests/wldap32/parse.c
index 5c84929c34..c4c97e1157 100644
--- a/modules/rostests/winetests/wldap32/parse.c
+++ b/modules/rostests/winetests/wldap32/parse.c
@@ -123,6 +123,15 @@ static void test_ldap_set_optionW( LDAP *ld )
     ok( !ret, "ldap_set_optionW failed 0x%08x\n", ret );
 }
 
+static void test_ldap_get_optionW( LDAP *ld )
+{
+    ULONG ret, version;
+
+    ret = ldap_get_optionW( ld, LDAP_OPT_PROTOCOL_VERSION, &version );
+    ok( !ret, "ldap_get_optionW failed 0x%08x\n", ret );
+    ok( version == LDAP_VERSION3, "got %u\n", version );
+}
+
 START_TEST (parse)
 {
     LDAP *ld;
@@ -132,6 +141,7 @@ START_TEST (parse)
 
     test_ldap_parse_sort_control( ld );
     test_ldap_search_extW( ld );
+    test_ldap_get_optionW( ld );
     test_ldap_set_optionW( ld );
     ldap_unbind( ld );
 }

Reply via email to