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
9b396275
Commit
9b396275
authored
Aug 17, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Aug 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Use GetModuleHandle and add a few skip's.
parent
e9ec5d4a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 deletions
+11
-8
olefont.c
dlls/oleaut32/tests/olefont.c
+4
-1
olepicture.c
dlls/oleaut32/tests/olepicture.c
+4
-1
safearray.c
dlls/oleaut32/tests/safearray.c
+1
-1
varformat.c
dlls/oleaut32/tests/varformat.c
+1
-1
vartype.c
dlls/oleaut32/tests/vartype.c
+1
-4
No files found.
dlls/oleaut32/tests/olefont.c
View file @
9b396275
...
...
@@ -798,10 +798,13 @@ static void test_AddRefHfont(void)
START_TEST
(
olefont
)
{
hOleaut32
=
LoadLibraryA
(
"oleaut32.dll"
);
hOleaut32
=
GetModuleHandleA
(
"oleaut32.dll"
);
pOleCreateFontIndirect
=
(
void
*
)
GetProcAddress
(
hOleaut32
,
"OleCreateFontIndirect"
);
if
(
!
pOleCreateFontIndirect
)
{
skip
(
"OleCreateFontIndirect not available
\n
"
);
return
;
}
test_QueryInterface
();
test_type_info
();
...
...
dlls/oleaut32/tests/olepicture.c
View file @
9b396275
...
...
@@ -426,11 +426,14 @@ static void test_OleCreatePictureIndirect(void)
START_TEST
(
olepicture
)
{
hOleaut32
=
LoadLibrary
A
(
"oleaut32.dll"
);
hOleaut32
=
GetModuleHandle
A
(
"oleaut32.dll"
);
pOleLoadPicture
=
(
void
*
)
GetProcAddress
(
hOleaut32
,
"OleLoadPicture"
);
pOleCreatePictureIndirect
=
(
void
*
)
GetProcAddress
(
hOleaut32
,
"OleCreatePictureIndirect"
);
if
(
!
pOleLoadPicture
)
{
skip
(
"OleLoadPicture is not available
\n
"
);
return
;
}
/* Test regular 1x1 pixel images of gif, jpg, bmp type */
test_pic
(
gifimage
,
sizeof
(
gifimage
));
...
...
dlls/oleaut32/tests/safearray.c
View file @
9b396275
...
...
@@ -1682,7 +1682,7 @@ static void test_SafeArrayDestroyData (void)
START_TEST
(
safearray
)
{
hOleaut32
=
LoadLibrary
A
(
"oleaut32.dll"
);
hOleaut32
=
GetModuleHandle
A
(
"oleaut32.dll"
);
GETPTR
(
SafeArrayAllocDescriptorEx
);
GETPTR
(
SafeArrayCopyData
);
...
...
dlls/oleaut32/tests/varformat.c
View file @
9b396275
...
...
@@ -394,7 +394,7 @@ static void test_VarFormat(void)
START_TEST
(
varformat
)
{
hOleaut32
=
LoadLibrary
A
(
"oleaut32.dll"
);
hOleaut32
=
GetModuleHandle
A
(
"oleaut32.dll"
);
test_VarFormatNumber
();
test_VarFormat
();
...
...
dlls/oleaut32/tests/vartype.c
View file @
9b396275
...
...
@@ -5765,10 +5765,7 @@ static void test_ChangeType_keep_dst(void)
START_TEST
(
vartype
)
{
hOleaut32
=
LoadLibraryA
(
"oleaut32.dll"
);
ok
(
hOleaut32
!=
0
,
"Failed to load oleaut32.dll
\n
"
);
if
(
!
hOleaut32
)
return
;
hOleaut32
=
GetModuleHandleA
(
"oleaut32.dll"
);
trace
(
"LCID's: System=0x%08x, User=0x%08x
\n
"
,
GetSystemDefaultLCID
(),
GetUserDefaultLCID
());
...
...
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