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
e1cf3392
Commit
e1cf3392
authored
Oct 31, 2005
by
Stefan Leichter
Committed by
Alexandre Julliard
Oct 31, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop PathIsValidCharW tests after 100 failing tests.
parent
9970133f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
path.c
dlls/shlwapi/tests/path.c
+9
-1
No files found.
dlls/shlwapi/tests/path.c
View file @
e1cf3392
...
...
@@ -751,7 +751,7 @@ static void test_PathIsValidCharA(void)
static
void
test_PathIsValidCharW
(
void
)
{
BOOL
ret
;
unsigned
int
c
;
unsigned
int
c
,
err_count
=
0
;
ret
=
pPathIsValidCharW
(
0x7f
,
0
);
ok
(
!
ret
,
"PathIsValidCharW succeeded: 0x%08lx
\n
"
,
(
DWORD
)
ret
);
...
...
@@ -773,6 +773,14 @@ static void test_PathIsValidCharW(void)
ok
(
ret
==
0x00000100
,
"PathIsValidCharW failed: 0x%02x got 0x%08lx expected 0x00000100
\n
"
,
c
,
(
DWORD
)
ret
);
if
(
ret
!=
0x00000100
)
{
if
(
++
err_count
>
100
)
{
trace
(
"skipping rest of PathIsValidCharW tests "
"because of the current number of errors
\n
"
);
break
;
}
}
}
}
...
...
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