mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 17:23:44 +00:00
[KMTEST]
6 more tests svn path=/trunk/; revision=56148
This commit is contained in:
parent
fa63f5ff1c
commit
9fbfe075cb
1 changed files with 14 additions and 0 deletions
|
@ -207,6 +207,13 @@ static VOID FsRtlIsNameInExpressionTest()
|
|||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
|
||||
RtlInitUnicodeString(&Name, L"acd.exe");
|
||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
|
||||
RtlInitUnicodeString(&Expression, L"a.b<exe");
|
||||
RtlInitUnicodeString(&Name, L"a.bcd.exe");
|
||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
|
||||
RtlInitUnicodeString(&Expression, L"a<b.exe");
|
||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
|
||||
RtlInitUnicodeString(&Name, L"a.b.exe");
|
||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
|
||||
|
||||
RtlInitUnicodeString(&Expression, L"abc.exe\"");
|
||||
RtlInitUnicodeString(&Name, L"abc.exe");
|
||||
|
@ -424,6 +431,13 @@ static VOID FsRtlIsDbcsInExpressionTest()
|
|||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
|
||||
RtlInitAnsiString(&Name, "acd.exe");
|
||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
|
||||
RtlInitAnsiString(&Expression, "a.b<exe");
|
||||
RtlInitAnsiString(&Name, "a.bcd.exe");
|
||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
|
||||
RtlInitAnsiString(&Expression, "a<b.exe");
|
||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
|
||||
RtlInitAnsiString(&Name, "a.b.exe");
|
||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
|
||||
|
||||
RtlInitAnsiString(&Expression, "abc.exe\"");
|
||||
RtlInitAnsiString(&Name, "abc.exe");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue