diff --git a/rostests/winetests/shell32/shlfileop.c b/rostests/winetests/shell32/shlfileop.c index 122afcaac36..f1e2a3ed18e 100644 --- a/rostests/winetests/shell32/shlfileop.c +++ b/rostests/winetests/shell32/shlfileop.c @@ -116,7 +116,6 @@ static BOOL file_existsW(LPCWSTR name) return GetFileAttributesW(name) != INVALID_FILE_ATTRIBUTES; } -#if 0 static BOOL file_has_content(const CHAR *name, const CHAR *content) { CHAR buf[MAX_PATH]; @@ -131,7 +130,6 @@ static BOOL file_has_content(const CHAR *name, const CHAR *content) CloseHandle(file); return strcmp(buf, content)==0; } -#endif /* initializes the tests */ static void init_shfo_tests(void) @@ -813,7 +811,6 @@ static void test_rename(void) } /* tests the FO_COPY action */ -#if 0 static void test_copy(void) { SHFILEOPSTRUCTA shfo, shfo2; @@ -1760,10 +1757,8 @@ static void test_copy(void) ok(DeleteFileA("dir\\abcdefgh.abc"), "Expected file to exist\n"); ok(RemoveDirectoryA("dir"), "Expected dir to exist\n"); } -#endif /* tests the FO_MOVE action */ -#if 0 static void test_move(void) { SHFILEOPSTRUCTA shfo, shfo2; @@ -2041,7 +2036,6 @@ static void test_move(void) ok(file_exists("test3.txt"), "Expected test3.txt to exist\n"); } } -#endif static void test_sh_create_dir(void) { @@ -2402,7 +2396,6 @@ START_TEST(shlfileop) test_rename(); clean_after_shfo_tests(); -#if 0 init_shfo_tests(); test_copy(); clean_after_shfo_tests(); @@ -2410,7 +2403,6 @@ START_TEST(shlfileop) init_shfo_tests(); test_move(); clean_after_shfo_tests(); -#endif test_sh_create_dir(); clean_after_shfo_tests(); diff --git a/rostests/winetests/shell32/shlfolder.c b/rostests/winetests/shell32/shlfolder.c index 6effd43feaf..d2c3b946082 100644 --- a/rostests/winetests/shell32/shlfolder.c +++ b/rostests/winetests/shell32/shlfolder.c @@ -348,7 +348,6 @@ static void Cleanup(void) RemoveDirectoryA(".\\testdir"); } -#if 0 /* perform test */ static void test_EnumObjects(IShellFolder *iFolder) { @@ -434,7 +433,6 @@ static void test_EnumObjects(IShellFolder *iFolder) for (i=0;i<5;i++) IMalloc_Free(ppM, idlArr[i]); } -#endif static void test_BindToObject(void) { @@ -1336,7 +1334,6 @@ static void test_SHGetPathFromIDList(void) ok(result, "SHGetPathFromIDListW failed\n"); } -#if 0 static void test_EnumObjects_and_CompareIDs(void) { ITEMIDLIST *newPIDL; @@ -1381,7 +1378,6 @@ static void test_EnumObjects_and_CompareIDs(void) IShellFolder_Release(IDesktopFolder); } -#endif /* A simple implementation of an IPropertyBag, which returns fixed values for * 'Target' and 'Attributes' properties. @@ -4591,9 +4587,7 @@ START_TEST(shlfolder) test_ParseDisplayName(); test_SHParseDisplayName(); test_BindToObject(); -#if 0 test_EnumObjects_and_CompareIDs(); -#endif test_GetDisplayName(); test_GetAttributesOf(); test_SHGetPathFromIDList();