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
17b212a5
Commit
17b212a5
authored
Jul 17, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Jul 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices/tests: Use WS_STRING_VALUE and WS_XML_STRING_VALUE.
parent
18daf628
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
channel.c
dlls/webservices/tests/channel.c
+1
-1
msg.c
dlls/webservices/tests/msg.c
+2
-2
proxy.c
dlls/webservices/tests/proxy.c
+11
-11
reader.c
dlls/webservices/tests/reader.c
+3
-3
No files found.
dlls/webservices/tests/channel.c
View file @
17b212a5
...
...
@@ -403,7 +403,7 @@ static void test_WsCreateChannelForListener(void)
static
void
test_WsResetListener
(
void
)
{
WS_STRING
url
=
{
ARRAY_SIZE
(
L"net.tcp://+:2017/path"
)
-
1
,
(
WCHAR
*
)
L"net.tcp://+:2017/path"
}
;
static
const
WS_STRING
url
=
WS_STRING_VALUE
(
L"net.tcp://+:2017/path"
)
;
WS_LISTENER
*
listener
;
WS_LISTENER_STATE
state
;
WS_LISTENER_PROPERTY
prop
;
...
...
dlls/webservices/tests/msg.c
View file @
17b212a5
...
...
@@ -1206,8 +1206,8 @@ static void test_WsReadBody(void)
"<s:Envelope xmlns:s=
\"
http://schemas.xmlsoap.org/soap/envelope/
\"
><s:Body>"
"<s:Fault><faultcode>s:Client</faultcode><faultstring>OLS Exception</faultstring></s:Fault>"
"</s:Body></s:Envelope>"
;
static
const
WS_XML_STRING
faultcode
=
{
6
,
(
BYTE
*
)
"Client"
}
;
static
const
WS_STRING
faultstring
=
{
13
,
(
WCHAR
*
)
L"OLS Exception"
}
;
static
const
WS_XML_STRING
faultcode
=
WS_XML_STRING_VALUE
(
"Client"
)
;
static
const
WS_STRING
faultstring
=
WS_STRING_VALUE
(
L"OLS Exception"
)
;
WS_HEAP
*
heap
;
WS_MESSAGE
*
msg
,
*
msg2
,
*
msg3
;
WS_XML_READER
*
reader
;
...
...
dlls/webservices/tests/proxy.c
View file @
17b212a5
...
...
@@ -812,17 +812,17 @@ static const char resp_test5[] =
static
void
test_fault_response
(
int
port
)
{
WS_XML_STRING
faultcode
=
{
6
,
(
BYTE
*
)
"Client"
}
;
WS_STRING
faultstring
=
{
13
,
(
WCHAR
*
)
L"OLS Exception"
}
;
WS_XML_STRING
req
=
{
3
,
(
BYTE
*
)
"req"
}
;
WS_XML_STRING
resp
=
{
4
,
(
BYTE
*
)
"resp"
}
;
WS_XML_STRING
req_action
=
{
9
,
(
BYTE
*
)
"req_test5"
}
;
WS_XML_STRING
resp_action
=
{
10
,
(
BYTE
*
)
"resp_test5"
}
;
WS_XML_STRING
req_elem
=
{
9
,
(
BYTE
*
)
"req_test5"
}
;
WS_XML_STRING
resp_elem
=
{
10
,
(
BYTE
*
)
"resp_test5"
}
;
WS_XML_STRING
ns
=
{
2
,
(
BYTE
*
)
"ns"
}
;
WS_XML_STRING
ns2
=
{
0
,
(
BYTE
*
)
""
}
;
WS_XML_STRING
val
=
{
3
,
(
BYTE
*
)
"val"
}
;
static
const
WS_XML_STRING
faultcode
=
WS_XML_STRING_VALUE
(
"Client"
)
;
static
const
WS_STRING
faultstring
=
WS_STRING_VALUE
(
L"OLS Exception"
)
;
WS_XML_STRING
req
=
WS_XML_STRING_VALUE
(
"req"
)
;
WS_XML_STRING
resp
=
WS_XML_STRING_VALUE
(
"resp"
)
;
WS_XML_STRING
req_action
=
WS_XML_STRING_VALUE
(
"req_test5"
)
;
WS_XML_STRING
resp_action
=
WS_XML_STRING_VALUE
(
"resp_test5"
)
;
WS_XML_STRING
req_elem
=
WS_XML_STRING_VALUE
(
"req_test5"
)
;
WS_XML_STRING
resp_elem
=
WS_XML_STRING_VALUE
(
"resp_test5"
)
;
WS_XML_STRING
ns
=
WS_XML_STRING_VALUE
(
"ns"
)
;
WS_XML_STRING
ns2
=
WS_XML_STRING_VALUE
(
""
)
;
WS_XML_STRING
val
=
WS_XML_STRING_VALUE
(
"val"
)
;
HRESULT
hr
;
WS_SERVICE_PROXY
*
proxy
;
WS_FIELD_DESCRIPTION
f
,
*
fields
[
1
];
...
...
dlls/webservices/tests/reader.c
View file @
17b212a5
...
...
@@ -7144,11 +7144,11 @@ static void test_description_type(void)
static
void
test_WsAddErrorString
(
void
)
{
static
const
WS_STRING
emptystr
=
{
0
};
static
const
WS_STRING
str1
=
WS_STRING_VALUE
(
L"str1"
);
static
const
WS_STRING
str2
=
WS_STRING_VALUE
(
L"str2"
);
ULONG
count
;
WS_ERROR
*
error
;
WS_STRING
emptystr
=
{
0
};
WS_STRING
str1
=
{
4
,
(
WCHAR
*
)
L"str1"
};
WS_STRING
str2
=
{
4
,
(
WCHAR
*
)
L"str2"
};
WS_STRING
out
;
HRESULT
hr
;
...
...
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