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
930ff878
Commit
930ff878
authored
Apr 12, 2020
by
Serge Gautherie
Committed by
Alexandre Julliard
Apr 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winapi_test: Add DYNAMIC_TIME_ZONE_INFORMATION to tests.dat.
Signed-off-by:
Serge Gautherie
<
winehq-git_serge_180711@gautherie.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
867a0bd6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
0 deletions
+90
-0
generated.c
dlls/kernel32/tests/generated.c
+88
-0
tests.dat
tools/winapi/tests.dat
+2
-0
No files found.
dlls/kernel32/tests/generated.c
View file @
930ff878
...
...
@@ -1882,6 +1882,40 @@ static void test_pack_WIN32_STREAM_ID(void)
TEST_FIELD_OFFSET
(
WIN32_STREAM_ID
,
cStreamName
,
20
)
}
static
void
test_pack_DYNAMIC_TIME_ZONE_INFORMATION
(
void
)
{
/* DYNAMIC_TIME_ZONE_INFORMATION */
TEST_TYPE_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
432
)
TEST_TYPE_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
4
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
Bias
,
4
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
Bias
,
4
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
Bias
,
0
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardName
,
64
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardName
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardName
,
4
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardDate
,
16
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardDate
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardDate
,
68
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardBias
,
4
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardBias
,
4
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardBias
,
84
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightName
,
64
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightName
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightName
,
88
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightDate
,
16
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightDate
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightDate
,
152
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightBias
,
4
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightBias
,
4
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightBias
,
168
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
TimeZoneKeyName
,
256
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
TimeZoneKeyName
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
TimeZoneKeyName
,
172
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DynamicDaylightTimeDisabled
,
1
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DynamicDaylightTimeDisabled
,
1
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DynamicDaylightTimeDisabled
,
428
)
}
static
void
test_pack_LPTIME_ZONE_INFORMATION
(
void
)
{
/* LPTIME_ZONE_INFORMATION */
...
...
@@ -1891,6 +1925,15 @@ static void test_pack_LPTIME_ZONE_INFORMATION(void)
TEST_TARGET_ALIGN
(
LPTIME_ZONE_INFORMATION
,
4
)
}
static
void
test_pack_PDYNAMIC_TIME_ZONE_INFORMATION
(
void
)
{
/* PDYNAMIC_TIME_ZONE_INFORMATION */
TEST_TYPE_SIZE
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
8
)
TEST_TYPE_ALIGN
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
8
)
TEST_TARGET_SIZE
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
432
)
TEST_TARGET_ALIGN
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
4
)
}
static
void
test_pack_PTIME_ZONE_INFORMATION
(
void
)
{
/* PTIME_ZONE_INFORMATION */
...
...
@@ -3739,6 +3782,40 @@ static void test_pack_WIN32_STREAM_ID(void)
TEST_FIELD_OFFSET
(
WIN32_STREAM_ID
,
cStreamName
,
20
)
}
static
void
test_pack_DYNAMIC_TIME_ZONE_INFORMATION
(
void
)
{
/* DYNAMIC_TIME_ZONE_INFORMATION */
TEST_TYPE_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
432
)
TEST_TYPE_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
4
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
Bias
,
4
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
Bias
,
4
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
Bias
,
0
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardName
,
64
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardName
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardName
,
4
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardDate
,
16
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardDate
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardDate
,
68
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardBias
,
4
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardBias
,
4
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
StandardBias
,
84
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightName
,
64
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightName
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightName
,
88
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightDate
,
16
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightDate
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightDate
,
152
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightBias
,
4
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightBias
,
4
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DaylightBias
,
168
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
TimeZoneKeyName
,
256
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
TimeZoneKeyName
,
2
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
TimeZoneKeyName
,
172
)
TEST_FIELD_SIZE
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DynamicDaylightTimeDisabled
,
1
)
TEST_FIELD_ALIGN
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DynamicDaylightTimeDisabled
,
1
)
TEST_FIELD_OFFSET
(
DYNAMIC_TIME_ZONE_INFORMATION
,
DynamicDaylightTimeDisabled
,
428
)
}
static
void
test_pack_LPTIME_ZONE_INFORMATION
(
void
)
{
/* LPTIME_ZONE_INFORMATION */
...
...
@@ -3748,6 +3825,15 @@ static void test_pack_LPTIME_ZONE_INFORMATION(void)
TEST_TARGET_ALIGN
(
LPTIME_ZONE_INFORMATION
,
4
)
}
static
void
test_pack_PDYNAMIC_TIME_ZONE_INFORMATION
(
void
)
{
/* PDYNAMIC_TIME_ZONE_INFORMATION */
TEST_TYPE_SIZE
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
4
)
TEST_TYPE_ALIGN
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
4
)
TEST_TARGET_SIZE
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
432
)
TEST_TARGET_ALIGN
(
PDYNAMIC_TIME_ZONE_INFORMATION
,
4
)
}
static
void
test_pack_PTIME_ZONE_INFORMATION
(
void
)
{
/* PTIME_ZONE_INFORMATION */
...
...
@@ -3806,6 +3892,7 @@ static void test_pack(void)
test_pack_CRITICAL_SECTION_DEBUG
();
test_pack_DCB
();
test_pack_DEBUG_EVENT
();
test_pack_DYNAMIC_TIME_ZONE_INFORMATION
();
test_pack_ENUMRESLANGPROCA
();
test_pack_ENUMRESLANGPROCW
();
test_pack_ENUMRESNAMEPROCA
();
...
...
@@ -3881,6 +3968,7 @@ static void test_pack(void)
test_pack_PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
();
test_pack_PCRITICAL_SECTION
();
test_pack_PCRITICAL_SECTION_DEBUG
();
test_pack_PDYNAMIC_TIME_ZONE_INFORMATION
();
test_pack_PFIBER_START_ROUTINE
();
test_pack_PHKEY
();
test_pack_POFSTRUCT
();
...
...
tools/winapi/tests.dat
View file @
930ff878
...
...
@@ -497,6 +497,7 @@ CRITICAL_SECTION
CRITICAL_SECTION_DEBUG
DCB
DEBUG_EVENT
DYNAMIC_TIME_ZONE_INFORMATION
ENUMRESLANGPROCA
ENUMRESLANGPROCW
ENUMRESNAMEPROCA
...
...
@@ -578,6 +579,7 @@ PCACTCTX_SECTION_KEYED_DATA_2600
PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
PCRITICAL_SECTION
PCRITICAL_SECTION_DEBUG
PDYNAMIC_TIME_ZONE_INFORMATION
PFIBER_START_ROUTINE
!PFILETIME # FIXME: 20040821: Mishandled by winapi_test
PHKEY
...
...
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