mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[SHELL32_WINETEST]
Get back previously commented out tests svn path=/trunk/; revision=54828
This commit is contained in:
parent
da309e313f
commit
de15bc1cbb
2 changed files with 0 additions and 14 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue