Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5678f65c
Commit
5678f65c
authored
Jun 30, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Jun 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare for adding new tests.
- Put OleInitialize and OleUninitialize in the main block. - Move test_BindToObject before test_EnumObjects_and_CompareIDs.
parent
8a46c8ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
shlfolder.c
dlls/shell32/tests/shlfolder.c
+6
-3
No files found.
dlls/shell32/tests/shlfolder.c
View file @
5678f65c
...
@@ -593,8 +593,6 @@ static void test_EnumObjects_and_CompareIDs(void)
...
@@ -593,8 +593,6 @@ static void test_EnumObjects_and_CompareIDs(void)
MultiByteToWideChar
(
CP_ACP
,
0
,
cCurrDirA
,
-
1
,
cCurrDirW
,
MAX_PATH
);
MultiByteToWideChar
(
CP_ACP
,
0
,
cCurrDirA
,
-
1
,
cCurrDirW
,
MAX_PATH
);
strcatW
(
cCurrDirW
,
cTestDirW
);
strcatW
(
cCurrDirW
,
cTestDirW
);
OleInitialize
(
NULL
);
hr
=
SHGetDesktopFolder
(
&
IDesktopFolder
);
hr
=
SHGetDesktopFolder
(
&
IDesktopFolder
);
ok
(
hr
==
S_OK
,
"SHGetDesktopfolder failed %08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"SHGetDesktopfolder failed %08lx
\n
"
,
hr
);
...
@@ -619,11 +617,16 @@ static void test_EnumObjects_and_CompareIDs(void)
...
@@ -619,11 +617,16 @@ static void test_EnumObjects_and_CompareIDs(void)
START_TEST
(
shlfolder
)
START_TEST
(
shlfolder
)
{
{
init_function_pointers
();
init_function_pointers
();
/* if OleInitialize doesn't get called, ParseDisplayName returns
CO_E_NOTINITIALIZED for malformed directory names on win2k. */
OleInitialize
(
NULL
);
test_EnumObjects_and_CompareIDs
();
test_BindToObject
();
test_BindToObject
();
test_EnumObjects_and_CompareIDs
();
test_GetDisplayName
();
test_GetDisplayName
();
test_GetAttributesOf
();
test_GetAttributesOf
();
test_SHGetPathFromIDList
();
test_SHGetPathFromIDList
();
test_CallForAttributes
();
test_CallForAttributes
();
OleUninitialize
();
}
}
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