mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 00:31:27 +00:00
[APPSHIM_APITEST] Add Win8 and Win81 versionlie tests
This commit is contained in:
parent
9b55e647fa
commit
8e1f342990
1 changed files with 7 additions and 1 deletions
|
@ -196,7 +196,7 @@ static void verify_shim_imp(PHOOKAPI hook, const VersionLieInfo* info, PCSTR shi
|
|||
return;
|
||||
}
|
||||
ver = ((GETVERSIONPROC)hook->ReplacementFunction)();
|
||||
winetest_ok(info->FullVersion == ver, "Expected GetVersion to return %u, was: %u for %s\n", info->FullVersion, ver, shim);
|
||||
winetest_ok(info->FullVersion == ver, "Expected GetVersion to return 0x%x, was: 0x%x for %s\n", info->FullVersion, ver, shim);
|
||||
}
|
||||
|
||||
|
||||
|
@ -282,6 +282,10 @@ VersionLieInfo g_WinVistaSP2 = { 0x17720006, 6, 0, 6002, VER_PLATFORM_WIN32_NT,
|
|||
|
||||
VersionLieInfo g_Win7RTM = { 0x1db00106, 6, 1, 7600, VER_PLATFORM_WIN32_NT, 0, 0 };
|
||||
|
||||
VersionLieInfo g_Win8RTM = { 0x23f00206, 6, 2, 9200, VER_PLATFORM_WIN32_NT, 0, 0 };
|
||||
VersionLieInfo g_Win81RTM = { 0x25800306, 6, 3, 9600, VER_PLATFORM_WIN32_NT, 0, 0 };
|
||||
|
||||
|
||||
DWORD get_host_winver(void)
|
||||
{
|
||||
RTL_OSVERSIONINFOEXW rtlinfo = {0};
|
||||
|
@ -396,4 +400,6 @@ START_TEST(versionlie)
|
|||
run_test("VistaSP1VersionLie", &g_WinVistaSP1);
|
||||
run_test("VistaSP2VersionLie", &g_WinVistaSP2);
|
||||
run_test("Win7RTMVersionLie", &g_Win7RTM);
|
||||
run_test("Win8RTMVersionLie", &g_Win8RTM);
|
||||
run_test("Win81RTMVersionLie", &g_Win81RTM);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue