Serge Gautherie : winapi_test: Remove MIDL_STUB_MESSAGE field exclusions.

Alexandre Julliard julliard at winehq.org
Fri Jul 24 17:05:10 CDT 2020


Module: wine
Branch: master
Commit: 151af8c04249bdd90e095c456e45ef416fcbfe97
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=151af8c04249bdd90e095c456e45ef416fcbfe97

Author: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Date:   Thu Jul 23 11:42:05 2020 +0200

winapi_test: Remove MIDL_STUB_MESSAGE field exclusions.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/rpcrt4/tests/generated.c | 24 ++++++++++++++++++++++++
 tools/winapi/tests.dat        |  2 +-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/dlls/rpcrt4/tests/generated.c b/dlls/rpcrt4/tests/generated.c
index 72672cd3a9..7dd5968318 100644
--- a/dlls/rpcrt4/tests/generated.c
+++ b/dlls/rpcrt4/tests/generated.c
@@ -593,6 +593,15 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, Memory, 8)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, Memory, 8)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, Memory, 48)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, IsClient, 1)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, IsClient, 1)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, IsClient, 56)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, Pad, 1)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, Pad, 1)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, Pad, 57)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, uFlags2, 2)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, uFlags2, 2)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, uFlags2, 58)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, ReuseBuffer, 60)
@@ -614,6 +623,9 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, uFlags, 97)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, UniquePtrCount, 98)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, MaxCount, 8)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, MaxCount, 8)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, MaxCount, 104)
@@ -1442,6 +1454,15 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, Memory, 4)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, Memory, 4)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, Memory, 28)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, IsClient, 1)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, IsClient, 1)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, IsClient, 32)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, Pad, 1)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, Pad, 1)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, Pad, 33)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, uFlags2, 2)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, uFlags2, 2)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, uFlags2, 34)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, ReuseBuffer, 36)
@@ -1463,6 +1484,9 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, uFlags, 57)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, UniquePtrCount, 58)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, MaxCount, 4)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, MaxCount, 4)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, MaxCount, 60)
diff --git a/tools/winapi/tests.dat b/tools/winapi/tests.dat
index e6a09923af..48813393fc 100644
--- a/tools/winapi/tests.dat
+++ b/tools/winapi/tests.dat
@@ -967,7 +967,7 @@ MALLOC_FREE_STRUCT
 MIDL_FORMAT_STRING
 MIDL_SERVER_INFO
 MIDL_STUB_DESC
-MIDL_STUB_MESSAGE: !UniquePtrCount !IsClient !Pad !uFlags2
+MIDL_STUB_MESSAGE
 MIDL_STUBLESS_PROXY_INFO
 MIDL_SYNTAX_INFO
 NDR_CCONTEXT




More information about the wine-cvs mailing list