[ADVAPI32_APITEST]

- Remove some tests that are broken if HKCU\software\classes\CLSID key exists.
Better tests were added later anyway.
CORE-8582

svn path=/trunk/; revision=64413
This commit is contained in:
Jérôme Gardou 2014-09-30 19:59:02 +00:00
parent cce1fd1f0c
commit de0f394751

View file

@ -489,22 +489,6 @@ Test_CreateOpenKey(void)
RegCloseKey(MachineKey);
}
static
void
Test_KeyName(void)
{
HKEY KeyHandle;
DWORD ErrorCode;
ErrorCode = RegOpenKeyExW(HKEY_CLASSES_ROOT, L"CLSID", 0, KEY_READ, &KeyHandle);
ok_dec(ErrorCode, ERROR_SUCCESS);
ok(IS_HKCR(KeyHandle), "\n");
ok_key_name(KeyHandle, &HKLM_ClassesPath, L"CLSID");
RegCloseKey(KeyHandle);
}
static
void
Test_DuplicateHandle(void)
@ -522,8 +506,6 @@ Test_DuplicateHandle(void)
ok(DupHandle != NULL, "\n");
ok(!IS_HKCR(DupHandle), "\n");
ok_key_name(DupHandle, &HKLM_ClassesPath, L"CLSID");
RegCloseKey(KeyHandle);
RegCloseKey(DupHandle);
}
@ -546,5 +528,4 @@ START_TEST(HKEY_CLASSES_ROOT)
Test_CreateOpenKey();
Test_DuplicateHandle();
Test_KeyName();
}