mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[KMTEST]
6 more tests svn path=/trunk/; revision=56148
This commit is contained in:
parent
fa63f5ff1c
commit
9fbfe075cb
|
@ -207,6 +207,13 @@ static VOID FsRtlIsNameInExpressionTest()
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
|
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
|
||||||
RtlInitUnicodeString(&Name, L"acd.exe");
|
RtlInitUnicodeString(&Name, L"acd.exe");
|
||||||
ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
|
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(&Expression, L"abc.exe\"");
|
||||||
RtlInitUnicodeString(&Name, 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");
|
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
|
||||||
RtlInitAnsiString(&Name, "acd.exe");
|
RtlInitAnsiString(&Name, "acd.exe");
|
||||||
ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
|
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(&Expression, "abc.exe\"");
|
||||||
RtlInitAnsiString(&Name, "abc.exe");
|
RtlInitAnsiString(&Name, "abc.exe");
|
||||||
|
|
Loading…
Reference in a new issue