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
db8e63af
Commit
db8e63af
authored
May 07, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
May 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix process tests to pass in Windows.
parent
33d586d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
process.c
dlls/kernel32/tests/process.c
+11
-6
No files found.
dlls/kernel32/tests/process.c
View file @
db8e63af
...
...
@@ -470,7 +470,8 @@ static void test_Startup(void)
GetStartupInfoA
(
&
si
);
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
si
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
si
.
lpTitle
);
ok
(
si
.
lpTitle
==
NULL
||
!
strncmp
(
si
.
lpTitle
,
selfname
,
strlen
(
selfname
)),
"StartupInfoA:lpTitle expected something starting with '%s' or null, got '%s'
\n
"
,
selfname
,
si
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
okChildInt
(
"StartupInfoA"
,
"dwXSize"
,
startup
.
dwXSize
);
...
...
@@ -622,7 +623,8 @@ static void test_Startup(void)
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
startup
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
si
.
lpTitle
);
ok
(
startup
.
lpTitle
==
NULL
||
!
strcmp
(
startup
.
lpTitle
,
selfname
),
"StartupInfoA:lpTitle expected '%s' or null, got '%s'
\n
"
,
selfname
,
startup
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
okChildInt
(
"StartupInfoA"
,
"dwXSize"
,
startup
.
dwXSize
);
...
...
@@ -1041,7 +1043,8 @@ static void test_SuspendFlag(void)
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
us
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
startup
.
lpTitle
);
ok
(
startup
.
lpTitle
==
NULL
||
!
strcmp
(
startup
.
lpTitle
,
selfname
),
"StartupInfoA:lpTitle expected '%s' or null, got '%s'
\n
"
,
selfname
,
startup
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
okChildInt
(
"StartupInfoA"
,
"dwXSize"
,
startup
.
dwXSize
);
...
...
@@ -1091,7 +1094,8 @@ static void test_DebuggingFlag(void)
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
us
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
startup
.
lpTitle
);
ok
(
startup
.
lpTitle
==
NULL
||
!
strcmp
(
startup
.
lpTitle
,
selfname
),
"StartupInfoA:lpTitle expected '%s' or null, got '%s'
\n
"
,
selfname
,
startup
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
okChildInt
(
"StartupInfoA"
,
"dwXSize"
,
startup
.
dwXSize
);
...
...
@@ -1195,7 +1199,8 @@ static void test_Console(void)
okChildInt
(
"StartupInfoA"
,
"cb"
,
startup
.
cb
);
okChildString
(
"StartupInfoA"
,
"lpDesktop"
,
us
.
lpDesktop
);
okChildString
(
"StartupInfoA"
,
"lpTitle"
,
startup
.
lpTitle
);
ok
(
startup
.
lpTitle
==
NULL
||
!
strcmp
(
startup
.
lpTitle
,
selfname
),
"StartupInfoA:lpTitle expected '%s' or null, got '%s'
\n
"
,
selfname
,
startup
.
lpTitle
);
okChildInt
(
"StartupInfoA"
,
"dwX"
,
startup
.
dwX
);
okChildInt
(
"StartupInfoA"
,
"dwY"
,
startup
.
dwY
);
okChildInt
(
"StartupInfoA"
,
"dwXSize"
,
startup
.
dwXSize
);
...
...
@@ -1230,7 +1235,7 @@ static void test_Console(void)
ok
(
cpOutC
==
1252
,
"Wrong console-SB CP (expected 1252 got %d/%d)
\n
"
,
cpOutC
,
cpOut
);
ok
(
modeInC
==
(
modeIn
^
1
),
"Wrong console mode
\n
"
);
ok
(
modeOutC
==
(
modeOut
^
1
),
"Wrong console-SB mode
\n
"
);
ok
(
sbiC
.
dwCursorPosition
.
X
==
(
sbi
.
dwCursorPosition
.
X
^
1
),
"Wrong cursor position
\n
"
);
trace
(
"cursor position(X): %d/%d
\n
"
,
sbi
.
dwCursorPosition
.
X
,
sbiC
.
dwCursorPosition
.
X
);
ok
(
sbiC
.
dwCursorPosition
.
Y
==
(
sbi
.
dwCursorPosition
.
Y
^
1
),
"Wrong cursor position
\n
"
);
release_memory
();
...
...
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