Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f1094172
Commit
f1094172
authored
Jan 23, 2022
by
Fabian Maurer
Committed by
Alexandre Julliard
Jan 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adsldp/tests: Fix misleading indentation warnings.
Signed-off-by:
Fabian Maurer
<
dark.shadow4@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2aae3489
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
ldap.c
dlls/adsldp/tests/ldap.c
+5
-5
sysinfo.c
dlls/adsldp/tests/sysinfo.c
+2
-2
No files found.
dlls/adsldp/tests/ldap.c
View file @
f1094172
...
...
@@ -190,7 +190,7 @@ static void test_ParseDisplayName(void)
count
=
0xdeadbeef
;
hr
=
MkParseDisplayName
(
bc
,
test
[
i
].
path
,
&
count
,
&
mk
);
todo_wine_if
(
i
==
0
||
i
==
1
||
i
==
11
||
i
==
12
)
todo_wine_if
(
i
==
0
||
i
==
1
||
i
==
11
||
i
==
12
)
ok
(
hr
==
test
[
i
].
hr
,
"%d: got %#x, expected %#x
\n
"
,
i
,
hr
,
test
[
i
].
hr
);
if
(
hr
==
S_OK
)
{
...
...
@@ -394,7 +394,7 @@ static void test_DirectorySearch(void)
ok
(
hr
==
E_ADS_BAD_PARAMETER
,
"got %#x
\n
"
,
hr
);
hr
=
IDirectorySearch_GetPreviousRow
(
ds
,
sh
);
todo_wine
todo_wine
ok
(
hr
==
E_ADS_BAD_PARAMETER
,
"got %#x
\n
"
,
hr
);
while
(
IDirectorySearch_GetNextRow
(
ds
,
sh
)
!=
S_ADS_NOMORE_ROWS
)
...
...
@@ -430,9 +430,9 @@ todo_wine
name
=
NULL
;
hr
=
IDirectorySearch_GetNextColumnName
(
ds
,
sh
,
&
name
);
todo_wine
todo_wine
ok
(
hr
==
S_OK
||
broken
(
hr
==
S_ADS_NOMORE_COLUMNS
)
/* XP */
,
"got %#x
\n
"
,
hr
);
todo_wine
todo_wine
ok
((
name
&&
!
wcscmp
(
name
,
L"ADsPath"
))
||
broken
(
!
name
)
/* XP */
,
"got %s
\n
"
,
wine_dbgstr_w
(
name
));
FreeADsMem
(
name
);
...
...
@@ -488,7 +488,7 @@ static void test_DirectoryObject(void)
ok
(
hr
==
S_OK
,
"got %#x
\n
"
,
hr
);
hr
=
IDirectoryObject_QueryInterface
(
dirobj
,
&
IID_IADsOpenDSObject
,
(
void
**
)
&
unk
);
todo_wine
todo_wine
ok
(
hr
==
E_NOINTERFACE
,
"got %#x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IUnknown_Release
(
unk
);
hr
=
IDirectoryObject_QueryInterface
(
dirobj
,
&
IID_IDispatch
,
(
void
**
)
&
unk
);
...
...
dlls/adsldp/tests/sysinfo.c
View file @
f1094172
...
...
@@ -123,7 +123,7 @@ static void test_UserName(void)
ok
(
hr
==
S_OK
,
"got %#x
\n
"
,
hr
);
hr
=
IADsADSystemInfo_get_UserName
(
sysinfo
,
&
bstr
);
todo_wine
todo_wine
ok
(
hr
==
S_OK
||
hr
==
HRESULT_FROM_WIN32
(
ERROR_NONE_MAPPED
),
"got %#x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
...
...
@@ -164,7 +164,7 @@ static void test_sysinfo(void)
SysFreeString
(
bstr
);
hr
=
IADsADSystemInfo_get_UserName
(
sysinfo
,
&
bstr
);
todo_wine
todo_wine
ok
(
hr
==
S_OK
||
hr
==
HRESULT_FROM_WIN32
(
ERROR_NONE_MAPPED
),
"got %#x
\n
"
,
hr
);
if
(
hr
!=
S_OK
)
goto
done
;
SysFreeString
(
bstr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment