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
9599479e
Commit
9599479e
authored
Oct 12, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices/tests: Add more text type tests.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6cd80610
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
writer.c
dlls/webservices/tests/writer.c
+6
-0
No files found.
dlls/webservices/tests/writer.c
View file @
9599479e
...
...
@@ -1980,6 +1980,9 @@ static void test_text_types(void)
static
const
WS_XML_INT32_TEXT
val_int32
=
{
{
WS_XML_TEXT_TYPE_INT32
},
-
2147483647
-
1
};
static
const
WS_XML_INT64_TEXT
val_int64
=
{
{
WS_XML_TEXT_TYPE_INT64
},
-
9223372036854775807
-
1
};
static
const
WS_XML_UINT64_TEXT
val_uint64
=
{
{
WS_XML_TEXT_TYPE_UINT64
},
~
0
};
static
const
WS_XML_DATETIME_TEXT
val_datetime
=
{
{
WS_XML_TEXT_TYPE_DATETIME
},
{
0
,
WS_DATETIME_FORMAT_UTC
}
};
static
const
WS_XML_DOUBLE_TEXT
val_double
=
{
{
WS_XML_TEXT_TYPE_DOUBLE
},
1
.
1
};
static
const
WS_XML_BASE64_TEXT
val_base64
=
{
{
WS_XML_TEXT_TYPE_BASE64
},
(
BYTE
*
)
"test"
,
4
};
static
const
struct
{
const
WS_XML_TEXT
*
text
;
...
...
@@ -1995,6 +1998,9 @@ static void test_text_types(void)
{
&
val_int32
.
text
,
"<t>-2147483648</t>"
},
{
&
val_int64
.
text
,
"<t>-9223372036854775808</t>"
},
{
&
val_uint64
.
text
,
"<t>18446744073709551615</t>"
},
{
&
val_datetime
.
text
,
"<t>0001-01-01T00:00:00Z</t>"
},
{
&
val_double
.
text
,
"<t>1.1</t>"
},
{
&
val_base64
.
text
,
"<t>dGVzdA==</t>"
},
};
HRESULT
hr
;
ULONG
i
;
...
...
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