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
b43cac0b
Commit
b43cac0b
authored
Jun 09, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Jun 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Allow testing for arbitrary number of command line arguments in DDE tests.
parent
ca6387b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
shlexec.c
dlls/shell32/tests/shlexec.c
+5
-5
No files found.
dlls/shell32/tests/shlexec.c
View file @
b43cac0b
...
...
@@ -1044,7 +1044,7 @@ typedef struct
const
char
*
application
;
const
char
*
topic
;
const
char
*
ifexec
;
BOOL
bExpectCmdLine
;
int
expectedArgs
;
const
char
*
expectedDdeExec
;
int
todo
;
int
rc
;
...
...
@@ -1071,7 +1071,7 @@ static dde_tests_t dde_tests[] =
/* Test default DDE application */
{
""
,
"[open(
\"
%1
\"
)]"
,
NULL
,
"dde"
,
NULL
,
FALSE
,
"[open(
\"
%s
\"
)]"
,
0x0
,
33
},
{
NULL
,
NULL
,
NULL
,
NULL
,
0x0
,
0
}
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
0x0
,
0
}
};
static
DWORD
ddeInst
;
...
...
@@ -1191,13 +1191,13 @@ static void test_dde(void)
{
if
((
test
->
todo
&
0x2
)
==
0
)
{
okChildInt
(
"argcA"
,
test
->
bExpectCmdLine
?
4
:
3
);
okChildInt
(
"argcA"
,
test
->
expectedArgs
+
3
);
}
else
todo_wine
{
okChildInt
(
"argcA"
,
test
->
bExpectCmdLine
?
4
:
3
);
okChildInt
(
"argcA"
,
test
->
expectedArgs
+
3
);
}
if
(
test
->
bExpectCmdLine
)
if
(
test
->
expectedArgs
==
1
)
{
if
((
test
->
todo
&
0x4
)
==
0
)
{
...
...
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