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
09a1f81c
Commit
09a1f81c
authored
Jun 16, 2014
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jun 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Activate some mmioSeek tests with todo_wine keyword.
parent
9031adfd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
24 deletions
+21
-24
mmio.c
dlls/winmm/tests/mmio.c
+21
-24
No files found.
dlls/winmm/tests/mmio.c
View file @
09a1f81c
...
...
@@ -314,10 +314,11 @@ static void test_mmioOpen(char *fname)
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
if
(
fname
)
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
else
todo_wine
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
mmioClose
(
hmmio
,
0
);
...
...
@@ -345,10 +346,11 @@ static void test_mmioOpen(char *fname)
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
if
(
fname
)
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
else
todo_wine
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
mmioClose
(
hmmio
,
0
);
...
...
@@ -405,10 +407,11 @@ static void test_mmioOpen(char *fname)
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
if
(
fname
)
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
else
todo_wine
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
mmioClose
(
hmmio
,
0
);
...
...
@@ -436,10 +439,11 @@ static void test_mmioOpen(char *fname)
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
if
(
fname
)
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
else
todo_wine
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
mmioClose
(
hmmio
,
0
);
...
...
@@ -532,15 +536,14 @@ static void test_mmioSetBuffer(char *fname)
ok
(
mmio
.
pchNext
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchNext
);
ok
(
mmio
.
pchEndRead
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchEndRead
);
ok
(
mmio
.
pchEndWrite
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchEndWrite
);
#if 0 /* remove once passes under Wine */
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#endif
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
if
(
fname
)
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
else
todo_wine
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
ret
=
mmioSetBuffer
(
hmmio
,
NULL
,
0
,
MMIO_ALLOCBUF
);
ok
(
ret
==
MMSYSERR_NOERROR
,
"mmioSetBuffer error %u
\n
"
,
ret
);
...
...
@@ -556,15 +559,14 @@ static void test_mmioSetBuffer(char *fname)
ok
(
mmio
.
pchNext
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchNext
);
ok
(
mmio
.
pchEndRead
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchEndRead
);
ok
(
mmio
.
pchEndWrite
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchEndWrite
);
#if 0 /* remove once passes under Wine */
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#endif
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
if
(
fname
)
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
else
todo_wine
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
ret
=
mmioSetBuffer
(
hmmio
,
buf
,
0
,
MMIO_ALLOCBUF
);
ok
(
ret
==
MMSYSERR_NOERROR
,
"mmioSetBuffer error %u
\n
"
,
ret
);
...
...
@@ -580,15 +582,11 @@ static void test_mmioSetBuffer(char *fname)
ok
(
mmio
.
pchNext
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchNext
);
ok
(
mmio
.
pchEndRead
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchEndRead
);
ok
(
mmio
.
pchEndWrite
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchEndWrite
);
#if 0 /* remove once passes under Wine */
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#endif
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
ret
=
mmioSetBuffer
(
hmmio
,
NULL
,
256
,
MMIO_WRITE
|
MMIO_ALLOCBUF
);
ok
(
ret
==
MMSYSERR_NOERROR
,
"mmioSetBuffer error %u
\n
"
,
ret
);
...
...
@@ -605,15 +603,14 @@ static void test_mmioSetBuffer(char *fname)
ok
(
mmio
.
pchNext
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchNext
);
ok
(
mmio
.
pchEndRead
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
buf
,
mmio
.
pchEndRead
);
ok
(
mmio
.
pchEndWrite
==
mmio
.
pchBuffer
+
mmio
.
cchBuffer
,
"expected %p + %d, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
cchBuffer
,
mmio
.
pchEndWrite
);
#if 0 /* remove once passes under Wine */
ok
(
mmio
.
lBufOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lBufOffset
);
ok
(
mmio
.
lDiskOffset
==
0
,
"expected 0, got %d
\n
"
,
mmio
.
lDiskOffset
);
#endif
#if 0 /* remove once passes under Wine */
ret
=
mmioSeek
(
hmmio
,
0
,
SEEK_CUR
);
if
(
fname
)
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
#endif
else
todo_wine
ok
(
ret
==
0
,
"expected 0, got %d
\n
"
,
ret
);
mmioClose
(
hmmio
,
0
);
}
...
...
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