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
bb71d6d9
Commit
bb71d6d9
authored
Mar 05, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tapi32/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0dabbc15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
Makefile.in
dlls/tapi32/tests/Makefile.in
+0
-1
tapi.c
dlls/tapi32/tests/tapi.c
+7
-7
No files found.
dlls/tapi32/tests/Makefile.in
View file @
bb71d6d9
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
tapi32.dll
TESTDLL
=
tapi32.dll
IMPORTS
=
tapi32
IMPORTS
=
tapi32
...
...
dlls/tapi32/tests/tapi.c
View file @
bb71d6d9
...
@@ -35,25 +35,25 @@ static void test_lineInitialize(void)
...
@@ -35,25 +35,25 @@ static void test_lineInitialize(void)
HLINEAPP
lnApp
;
HLINEAPP
lnApp
;
ret
=
lineInitialize
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
ret
=
lineInitialize
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %x.
\n
"
,
ret
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %
l
x.
\n
"
,
ret
);
ret
=
lineInitialize
(
&
lnApp
,
NULL
,
NULL
,
NULL
,
NULL
);
ret
=
lineInitialize
(
&
lnApp
,
NULL
,
NULL
,
NULL
,
NULL
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %x.
\n
"
,
ret
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %
l
x.
\n
"
,
ret
);
ret
=
lineInitialize
(
&
lnApp
,
GetModuleHandleA
(
NULL
),
NULL
,
NULL
,
NULL
);
ret
=
lineInitialize
(
&
lnApp
,
GetModuleHandleA
(
NULL
),
NULL
,
NULL
,
NULL
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %x.
\n
"
,
ret
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %
l
x.
\n
"
,
ret
);
ret
=
lineInitialize
(
&
lnApp
,
GetModuleHandleA
(
NULL
),
line_callback
,
NULL
,
NULL
);
ret
=
lineInitialize
(
&
lnApp
,
GetModuleHandleA
(
NULL
),
line_callback
,
NULL
,
NULL
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %x.
\n
"
,
ret
);
todo_wine
ok
(
ret
==
LINEERR_INVALPOINTER
,
"Expected return value LINEERR_INVALPOINTER, got %
l
x.
\n
"
,
ret
);
ret
=
lineInitialize
(
&
lnApp
,
GetModuleHandleA
(
NULL
),
line_callback
,
NULL
,
&
dev
);
ret
=
lineInitialize
(
&
lnApp
,
GetModuleHandleA
(
NULL
),
line_callback
,
NULL
,
&
dev
);
ok
(
!
ret
,
"unexpected return value, got %u.
\n
"
,
ret
);
ok
(
!
ret
,
"unexpected return value, got %
l
u.
\n
"
,
ret
);
ret
=
lineShutdown
(
NULL
);
ret
=
lineShutdown
(
NULL
);
todo_wine
ok
(
ret
==
LINEERR_INVALAPPHANDLE
,
"Expected return value LINEERR_INVALAPPHANDLE, got %x.
\n
"
,
ret
);
todo_wine
ok
(
ret
==
LINEERR_INVALAPPHANDLE
,
"Expected return value LINEERR_INVALAPPHANDLE, got %
l
x.
\n
"
,
ret
);
ret
=
lineShutdown
(
lnApp
);
ret
=
lineShutdown
(
lnApp
);
ok
(
!
ret
,
"unexpected return value, got %u.
\n
"
,
ret
);
ok
(
!
ret
,
"unexpected return value, got %
l
u.
\n
"
,
ret
);
}
}
START_TEST
(
tapi
)
START_TEST
(
tapi
)
...
...
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