Author: akhaldi
Date: Mon Jan 23 15:43:10 2012
New Revision: 55107
URL:
http://svn.reactos.org/svn/reactos?rev=55107&view=rev
Log:
[CREDUI_WINETEST]
* Sync to Wine 1.3.37.
Modified:
trunk/rostests/winetests/credui/credui.c
Modified: trunk/rostests/winetests/credui/credui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/credui/credui.c…
==============================================================================
--- trunk/rostests/winetests/credui/credui.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/credui/credui.c [iso-8859-1] Mon Jan 23 15:43:10 2012
@@ -83,7 +83,10 @@
&save, CREDUI_FLAGS_EXPECT_CONFIRMATION);
ok(ret == ERROR_SUCCESS || ret == ERROR_CANCELLED,
"CredUIPromptForCredentials failed with error %d\n", ret);
if (ret == ERROR_SUCCESS)
+ {
ret = CredUIConfirmCredentialsW(wszServerName, FALSE);
+ ok(ret == ERROR_SUCCESS, "CredUIConfirmCredentials failed with error
%d\n", ret);
+ }
credui_info.pszCaptionText = wszCaption1;
ret = CredUIPromptForCredentialsW(&credui_info, wszServerName, NULL,
@@ -93,7 +96,10 @@
&save, CREDUI_FLAGS_EXPECT_CONFIRMATION);
ok(ret == ERROR_SUCCESS || ret == ERROR_CANCELLED,
"CredUIPromptForCredentials failed with error %d\n", ret);
if (ret == ERROR_SUCCESS)
+ {
ret = CredUIConfirmCredentialsW(wszServerName, FALSE);
+ ok(ret == ERROR_SUCCESS, "CredUIConfirmCredentials failed with error
%d\n", ret);
+ }
credui_info.pszCaptionText = wszCaption2;
ret = CredUIPromptForCredentialsW(&credui_info, wszServerName, NULL, 0,
@@ -102,7 +108,11 @@
NULL,
CREDUI_FLAGS_INCORRECT_PASSWORD|CREDUI_FLAGS_EXPECT_CONFIRMATION);
ok(ret == ERROR_SUCCESS || ret == ERROR_CANCELLED,
"CredUIPromptForCredentials failed with error %d\n", ret);
if (ret == ERROR_SUCCESS)
+ {
ret = CredUIConfirmCredentialsW(wszServerName, FALSE);
+ ok(ret == ERROR_SUCCESS, "CredUIConfirmCredentials failed with error
%d\n", ret);
+ }
+
save = TRUE;
credui_info.pszCaptionText = wszCaption3;
@@ -122,7 +132,11 @@
ok(ret == ERROR_SUCCESS || ret == ERROR_CANCELLED,
"CredUIPromptForCredentials failed with error %d\n", ret);
ok(!save, "save flag should have been untouched\n");
if (ret == ERROR_SUCCESS)
+ {
ret = CredUIConfirmCredentialsW(wszServerName, FALSE);
+ ok(ret == ERROR_SUCCESS, "CredUIConfirmCredentials failed with error
%d\n", ret);
+ }
+
}
}