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
05f57146
Commit
05f57146
authored
May 28, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Remove tests for v1 memory list, the layout is wrong and we don't…
rpcrt4/tests: Remove tests for v1 memory list, the layout is wrong and we don't care about it anyway.
parent
03b6dcb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+1
-22
No files found.
dlls/rpcrt4/tests/ndr_marshall.c
View file @
05f57146
...
...
@@ -1313,12 +1313,6 @@ static void test_ndr_allocate(void)
MIDL_STUB_MESSAGE
StubMsg
;
MIDL_STUB_DESC
StubDesc
;
void
*
p1
,
*
p2
;
struct
tag_mem_list_v1_t
{
DWORD
magic
;
void
*
ptr
;
struct
tag_mem_list_v1_t
*
next
;
}
*
mem_list_v1
;
struct
tag_mem_list_v2_t
{
DWORD
magic
;
...
...
@@ -1331,7 +1325,6 @@ static void test_ndr_allocate(void)
StubDesc
=
Object_StubDesc
;
NdrClientInitializeNew
(
&
RpcMessage
,
&
StubMsg
,
&
StubDesc
,
0
);
ok
(
StubMsg
.
pMemoryList
==
NULL
,
"memlist %p
\n
"
,
StubMsg
.
pMemoryList
);
my_alloc_called
=
my_free_called
=
0
;
p1
=
NdrAllocate
(
&
StubMsg
,
10
);
p2
=
NdrAllocate
(
&
StubMsg
,
24
);
...
...
@@ -1358,21 +1351,7 @@ static void test_ndr_allocate(void)
ok
(
mem_list_v2
->
next
==
NULL
,
"next %p
\n
"
,
mem_list_v2
->
next
);
}
}
else
{
trace
(
"v1 mem list format
\n
"
);
mem_list_v1
=
StubMsg
.
pMemoryList
;
ok
(
mem_list_v1
->
magic
==
magic_MEML
,
"magic %08x
\n
"
,
mem_list_v1
->
magic
);
ok
(
mem_list_v1
->
ptr
==
p2
,
"ptr != p2
\n
"
);
ok
(
mem_list_v1
->
next
!=
NULL
,
"next NULL
\n
"
);
mem_list_v1
=
mem_list_v1
->
next
;
if
(
mem_list_v1
)
{
ok
(
mem_list_v1
->
magic
==
magic_MEML
,
"magic %08x
\n
"
,
mem_list_v1
->
magic
);
ok
(
mem_list_v1
->
ptr
==
p1
,
"ptr != p1
\n
"
);
ok
(
mem_list_v1
->
next
==
NULL
,
"next %p
\n
"
,
mem_list_v1
->
next
);
}
}
else
win_skip
(
"v1 mem list format
\n
"
);
}
/* NdrFree isn't exported so we can't test free'ing */
}
...
...
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