mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[NTDLL_APITEST]
*.S expects length in chars svn path=/trunk/; revision=69392
This commit is contained in:
parent
63a2204088
commit
2f08cf3f2a
1 changed files with 4 additions and 4 deletions
|
@ -43,22 +43,22 @@ START_TEST(RtlGenerate8dot3Name)
|
|||
|
||||
RtlGenerate8dot3Name(&LongName, FALSE, &Context, &ShortName);
|
||||
RtlInitUnicodeString(&Expected, ShortNames1[i]);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length, ShortName.Buffer, Expected.Length, Expected.Buffer);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length / sizeof(WCHAR), ShortName.Buffer, Expected.Length / sizeof(WCHAR), Expected.Buffer);
|
||||
|
||||
ShortName.Length = 0;
|
||||
RtlGenerate8dot3Name(&LongName, FALSE, &Context, &ShortName);
|
||||
RtlInitUnicodeString(&Expected, ShortNames2[i]);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length, ShortName.Buffer, Expected.Length, Expected.Buffer);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length / sizeof(WCHAR), ShortName.Buffer, Expected.Length / sizeof(WCHAR), Expected.Buffer);
|
||||
|
||||
RtlZeroMemory(&Context, sizeof(GENERATE_NAME_CONTEXT));
|
||||
ShortName.Length = 0;
|
||||
RtlGenerate8dot3Name(&LongName, TRUE, &Context, &ShortName);
|
||||
RtlInitUnicodeString(&Expected, ExShortNames1[i]);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length, ShortName.Buffer, Expected.Length, Expected.Buffer);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length / sizeof(WCHAR), ShortName.Buffer, Expected.Length / sizeof(WCHAR), Expected.Buffer);
|
||||
|
||||
ShortName.Length = 0;
|
||||
RtlGenerate8dot3Name(&LongName, TRUE, &Context, &ShortName);
|
||||
RtlInitUnicodeString(&Expected, ExShortNames2[i]);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length, ShortName.Buffer, Expected.Length, Expected.Buffer);
|
||||
ok(RtlEqualUnicodeString(&Expected, &ShortName, FALSE), "Generated: %.*S. Expected: %.*S\n", ShortName.Length / sizeof(WCHAR), ShortName.Buffer, Expected.Length / sizeof(WCHAR), Expected.Buffer);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue