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
15678133
Commit
15678133
authored
Jun 06, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Fix test for win9x and Vista.
parent
54ece258
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
parser.c
dlls/setupapi/tests/parser.c
+6
-1
No files found.
dlls/setupapi/tests/parser.c
View file @
15678133
...
...
@@ -447,6 +447,7 @@ static void test_pSetupGetField(void)
LPCWSTR
field
;
INFCONTEXT
context
;
int
i
;
int
len
;
hinf
=
test_file_contents
(
contents
,
&
err
);
ok
(
hinf
!=
NULL
,
"Expected valid INF file
\n
"
);
...
...
@@ -465,7 +466,11 @@ static void test_pSetupGetField(void)
field
=
pSetupGetField
(
&
context
,
3
);
ok
(
field
!=
NULL
,
"Failed to get field 3
\n
"
);
ok
(
lstrlenW
(
field
)
==
511
,
"Expected 511, got %d
\n
"
,
lstrlenW
(
field
)
);
len
=
lstrlenW
(
field
);
ok
(
len
==
511
/* NT4, W2K, XP and W2K3 */
||
len
==
4096
/* Vista */
||
len
==
256
/* Win9x and WinME */
,
"Unexpected length, got %d
\n
"
,
len
);
field
=
pSetupGetField
(
&
context
,
4
);
ok
(
field
==
NULL
,
"Expected NULL, got %p
\n
"
,
field
);
...
...
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