Author: jgardou
Date: Tue Sep 30 19:59:02 2014
New Revision: 64413
URL:
http://svn.reactos.org/svn/reactos?rev=64413&view=rev
Log:
[ADVAPI32_APITEST]
- Remove some tests that are broken if HKCU\software\classes\CLSID key exists.
Better tests were added later anyway.
CORE-8582
Modified:
trunk/rostests/apitests/advapi32/HKEY_CLASSES_ROOT.c
Modified: trunk/rostests/apitests/advapi32/HKEY_CLASSES_ROOT.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/advapi32/HKEY_CL…
==============================================================================
--- trunk/rostests/apitests/advapi32/HKEY_CLASSES_ROOT.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/advapi32/HKEY_CLASSES_ROOT.c [iso-8859-1] Tue Sep 30 19:59:02
2014
@@ -491,22 +491,6 @@
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)
{
HKEY KeyHandle, DupHandle;
@@ -522,8 +506,6 @@
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 @@
Test_CreateOpenKey();
Test_DuplicateHandle();
- Test_KeyName();
-}
+}