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
7ebbc4f8
Commit
7ebbc4f8
authored
Feb 28, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infosoft/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
34c2e56d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/infosoft/tests/Makefile.in
+0
-1
infosoft.c
dlls/infosoft/tests/infosoft.c
+6
-6
No files found.
dlls/infosoft/tests/Makefile.in
View file @
7ebbc4f8
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
infosoft.dll
IMPORTS
=
ole32
...
...
dlls/infosoft/tests/infosoft.c
View file @
7ebbc4f8
...
...
@@ -76,10 +76,10 @@ static HRESULT WINAPI ws_PutWord(IWordSink *iface, ULONG cwc, const WCHAR *pwcIn
winetest_push_context
(
"word %d"
,
wordnum
);
if
(
wordnum
<
ARRAY_SIZE
(
testres
))
{
ok
(
testres
[
wordnum
].
len
==
cwcSrcLen
,
"expected length %d, got %d
\n
"
,
ok
(
testres
[
wordnum
].
len
==
cwcSrcLen
,
"expected length %d, got %
l
d
\n
"
,
testres
[
wordnum
].
len
,
cwcSrcLen
);
ok
(
!
cwcSrcPos
||
(
testres
[
wordnum
].
ofs
==
cwcSrcPos
),
"expected offset %d, got %d
\n
"
,
testres
[
wordnum
].
ofs
,
cwcSrcPos
);
"expected offset %d, got %
l
d
\n
"
,
testres
[
wordnum
].
ofs
,
cwcSrcPos
);
ok
(
!
memcmp
(
testres
[
wordnum
].
data
,
pwcInBuf
,
cwcSrcLen
),
"expected data %s, got %s
\n
"
,
wine_dbgstr_wn
(
testres
[
wordnum
].
data
,
cwcSrcLen
),
...
...
@@ -176,7 +176,7 @@ START_TEST(infosoft)
TEXT_SOURCE
ts
;
r
=
CoInitialize
(
NULL
);
ok
(
r
==
S_OK
,
"failed: %08x
\n
"
,
r
);
ok
(
r
==
S_OK
,
"failed: %08
l
x
\n
"
,
r
);
r
=
CoCreateInstance
(
&
CLSID_wb_neutral
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
_IID_IWordBreaker
,
(
LPVOID
)
&
wb
);
...
...
@@ -194,7 +194,7 @@ START_TEST(infosoft)
ts
.
iEnd
=
lstrlenW
(
ts
.
awcBuffer
);
ts
.
iCur
=
0
;
r
=
IWordBreaker_BreakText
(
wb
,
&
ts
,
&
wordsink
.
IWordSink_iface
,
NULL
);
ok
(
r
==
S_OK
,
"failed: %08x
\n
"
,
r
);
ok
(
r
==
S_OK
,
"failed: %08
l
x
\n
"
,
r
);
ok
(
wordnum
==
4
,
"expected 4 words, got %d
\n
"
,
wordnum
);
...
...
@@ -205,10 +205,10 @@ START_TEST(infosoft)
ts
.
iCur
=
0
;
r
=
fillbuf_many
(
&
ts
);
ok
(
r
==
S_OK
,
"failed: %08x
\n
"
,
r
);
ok
(
r
==
S_OK
,
"failed: %08
l
x
\n
"
,
r
);
r
=
IWordBreaker_BreakText
(
wb
,
&
ts
,
&
wordsink
.
IWordSink_iface
,
NULL
);
ok
(
r
==
S_OK
,
"failed: %08x
\n
"
,
r
);
ok
(
r
==
S_OK
,
"failed: %08
l
x
\n
"
,
r
);
ok
(
wordnum
==
4
,
"expected 4 words, got %d
\n
"
,
wordnum
);
IWordBreaker_Release
(
wb
);
...
...
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