mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
[KMTEST]
6 more tests svn path=/trunk/; revision=56148
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user