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
f73dc32e
Commit
f73dc32e
authored
Feb 02, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add some more tests for wildcards.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f2f69a87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
file.c
dlls/kernel32/tests/file.c
+32
-1
No files found.
dlls/kernel32/tests/file.c
View file @
f73dc32e
...
...
@@ -2930,13 +2930,44 @@ static void test_FindFirstFile_wildcards(void)
{
1
,
"* .."
,
", '.', '..', 'a', '.a', '..a', 'aa', 'aaa', 'aaaa', '.aaa'"
},
{
0
,
" *.."
,
""
},
{
0
,
"..* "
,
", '.', '..', '..a', '..a.a'"
},
{
1
,
"<.<.<"
,
", '..a', '..a.a', '.a..a', '.a.a', 'a..a', 'a.a.a'"
},
{
1
,
"<.<."
,
", '.', '..', '..a', '..a.a', '.a', '.a..a', '.a.a', '.aaa', 'a..a', 'a.a', 'a.a.a'"
},
{
1
,
".<.<"
,
", '..a', '..a.a', '.a..a', '.a.a'"
},
{
1
,
"<.<"
,
", '.', '..', '..a', '..a.a', '.a', '.a..a', '.a.a', '.aaa', 'a..a', 'a.a', 'a.a.a'"
},
{
1
,
".<"
,
", '.', '..', '.a', '.aaa'"
},
{
1
,
"<."
,
", '.', '..', 'a', '.a', '..a', 'aa', 'aaa', 'aaaa', '.aaa'"
},
{
1
,
"<"
,
", '.', '..', '..a', '.a', '.aaa', 'a', 'aa', 'aaa', 'aaaa'"
},
{
1
,
"<..<"
,
", '..a', '.a..a', 'a..a'"
},
{
1
,
"<.."
,
", '.', '..', 'a', '.a', '..a', 'aa', 'aaa', 'aaaa', '.aaa'"
},
{
1
,
".<."
,
", '.', '..', '.a', '.aaa'"
},
{
1
,
"..<"
,
", '..a'"
},
{
1
,
"<<"
,
", '.', '..', '..a', '..a.a', '.a', '.a..a', '.a.a', '.aaa', 'a', 'a..a', 'a.a', 'a.a.a', 'aa', 'aaa', 'aaaa'"
},
{
1
,
"<<."
,
", '.', '..', '..a', '..a.a', '.a', '.a..a', '.a.a', '.aaa', 'a', 'a..a', 'a.a', 'a.a.a', 'aa', 'aaa', 'aaaa'"
},
{
1
,
"<. "
,
", '.', '..', '..a', '.a', '.aaa', 'a', 'aa', 'aaa', 'aaaa'"
},
{
1
,
"< ."
,
", '.', '..', 'a', '.a', '..a', 'aa', 'aaa', 'aaaa', '.aaa'"
},
{
1
,
"< . "
,
", '.', '..', '..a', '.a', '.aaa', 'a', 'aa', 'aaa', 'aaaa'"
},
{
1
,
"<.. "
,
", '.', '..', '..a', '.a', '.aaa', 'a', 'aa', 'aaa', 'aaaa'"
},
{
1
,
"<. ."
,
", '.', '..', 'a', '.a', '..a', 'aa', 'aaa', 'aaaa', '.aaa'"
},
{
1
,
"< .."
,
", '.', '..', 'a', '.a', '..a', 'aa', 'aaa', 'aaaa', '.aaa'"
},
{
0
,
" <.."
,
""
},
{
1
,
"..< "
,
", '..a'"
},
{
1
,
"?"
,
", '.', '..', 'a'"
},
{
1
,
"?."
,
", '.', '..', 'a'"
},
{
1
,
"?. "
,
", '.', '..', 'a'"
},
{
1
,
"??."
,
", '.', '..', 'a', 'aa'"
},
{
1
,
"??. "
,
", '.', '..', 'a', 'aa'"
},
{
1
,
"???."
,
", '.', '..', 'a', 'aa', 'aaa'"
},
{
1
,
"?.??."
,
", '.', '..', '.a', 'a', 'a.a'"
}
{
1
,
"?.??."
,
", '.', '..', '.a', 'a', 'a.a'"
},
{
1
,
">"
,
", '.', '..', 'a'"
},
{
1
,
">."
,
", '.', '..', 'a'"
},
{
1
,
">. "
,
", '.', '..', 'a'"
},
{
1
,
">>."
,
", '.', '..', 'a', 'aa'"
},
{
1
,
">>. "
,
", '.', '..', 'a', 'aa'"
},
{
1
,
">>>."
,
", '.', '..', 'a', 'aa', 'aaa'"
},
{
1
,
">.>>."
,
", '.', '..', '.a', 'a.a'"
},
};
CreateDirectoryA
(
"test-dir"
,
NULL
);
...
...
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