mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 03:22:58 +00:00
[KMTEST]
Adding a new test for FsRtlIsNameInExpression(). Which is failing... Will that end a day?! svn path=/trunk/; revision=50614
This commit is contained in:
parent
395793a7f2
commit
ff11a09b02
1 changed files with 8 additions and 0 deletions
|
@ -135,6 +135,10 @@ VOID FsRtlIsNameInExpressionTest()
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
||||||
RtlInitUnicodeString(&Name, L"ntoskrnl.exe.");
|
RtlInitUnicodeString(&Name, L"ntoskrnl.exe.");
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
||||||
|
|
||||||
|
RtlInitUnicodeString(&Expression, L"*.c.d");
|
||||||
|
RtlInitUnicodeString(&Name, L"a.b.c.d");
|
||||||
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE");
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID FsRtlIsDbcsInExpressionTest()
|
VOID FsRtlIsDbcsInExpressionTest()
|
||||||
|
@ -243,6 +247,10 @@ VOID FsRtlIsDbcsInExpressionTest()
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
||||||
RtlInitAnsiString(&Name, "ntoskrnl.exe.");
|
RtlInitAnsiString(&Name, "ntoskrnl.exe.");
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
||||||
|
|
||||||
|
RtlInitAnsiString(&Expression, "*.c.d");
|
||||||
|
RtlInitAnsiString(&Name, "a.b.c.d");
|
||||||
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue