[PATCH 2/3] winapi_test: Remove 3 MIDL_STUB_MESSAGE field exclusions, in tests.dat.

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Wed Apr 15 12:11:43 CDT 2020


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
Addendum to 52911fc66c53816d7df1b417ca50ec25e24f9e88.
---
 dlls/rpcrt4/tests/generated.c | 18 ++++++++++++++++++
 tools/winapi/tests.dat        |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/dlls/rpcrt4/tests/generated.c b/dlls/rpcrt4/tests/generated.c
index 72672cd..a111bb0 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)
@@ -1442,6 +1451,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)
diff --git a/tools/winapi/tests.dat b/tools/winapi/tests.dat
index 5b2be4b..9396536 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: !UniquePtrCount
 MIDL_STUBLESS_PROXY_INFO
 MIDL_SYNTAX_INFO
 NDR_CCONTEXT
-- 
2.10.0.windows.1




More information about the wine-devel mailing list