Module: wine
Branch: master
Commit: b564a9130cd9e57591e1a72a6f509dcaa5e34624
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b564a9130cd9e57591e1a72a6…
Author: Paul Vriens <paul.vriens.wine(a)gmail.com>
Date: Fri Mar 2 14:12:27 2007 +0100
shell32/tests: Rewording and cleanup.
---
dlls/shell32/tests/shlfileop.c | 58 ++++++++++++++++++++--------------------
1 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 801dbf4..ad710de 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -248,18 +248,18 @@ static void test_delete(void)
shfo.hNameMappings = NULL;
shfo.lpszProgressTitle = NULL;
- ok(!SHFileOperationA(&shfo), "Deletion was successful\n");
- ok(file_exists("test4.txt"), "Directory should not be removed\n");
- ok(!file_exists("test1.txt"), "File should be removed\n");
+ ok(!SHFileOperationA(&shfo), "Deletion was not successful\n");
+ ok(file_exists("test4.txt"), "Directory should not have been removed\n");
+ ok(!file_exists("test1.txt"), "File should have been removed\n");
ret = SHFileOperationA(&shfo);
ok(!ret, "Directory exists, but is not removed, ret=%d\n", ret);
- ok(file_exists("test4.txt"), "Directory should not be removed\n");
+ ok(file_exists("test4.txt"), "Directory should not have been removed\n");
shfo.fFlags = FOF_NOCONFIRMATION | FOF_SILENT | FOF_NOERRORUI;
- ok(!SHFileOperationA(&shfo), "Directory removed\n");
- ok(!file_exists("test4.txt"), "Directory should be removed\n");
+ ok(!SHFileOperationA(&shfo), "Directory is not removed\n");
+ ok(!file_exists("test4.txt"), "Directory should have been removed\n");
ret = SHFileOperationA(&shfo);
ok(!ret, "The requested file does not exist, ret=%d\n", ret);
@@ -267,33 +267,33 @@ static void test_delete(void)
init_shfo_tests();
sprintf(buf, "%s\\%s", CURR_DIR, "test4.txt");
buf[strlen(buf) + 1] = '\0';
- ok(MoveFileA("test1.txt", "test4.txt\\test1.txt"), "Fill the subdirectory\n");
- ok(!SHFileOperationA(&shfo), "Directory removed\n");
- ok(!file_exists("test4.txt"), "Directory is removed\n");
+ ok(MoveFileA("test1.txt", "test4.txt\\test1.txt"), "Filling the subdirectory failed\n");
+ ok(!SHFileOperationA(&shfo), "Directory is not removed\n");
+ ok(!file_exists("test4.txt"), "Directory is not removed\n");
init_shfo_tests();
shfo.pFrom = "test1.txt\0test4.txt\0";
- ok(!SHFileOperationA(&shfo), "Directory and a file removed\n");
- ok(!file_exists("test1.txt"), "The file should be removed\n");
- ok(!file_exists("test4.txt"), "Directory should be removed\n");
- ok(file_exists("test2.txt"), "This file should not be removed\n");
+ ok(!SHFileOperationA(&shfo), "Directory and a file are not removed\n");
+ ok(!file_exists("test1.txt"), "The file should have been removed\n");
+ ok(!file_exists("test4.txt"), "Directory should have been removed\n");
+ ok(file_exists("test2.txt"), "This file should not have been removed\n");
/* FOF_FILESONLY does not delete a dir matching a wildcard */
init_shfo_tests();
shfo.fFlags |= FOF_FILESONLY;
shfo.pFrom = "*.txt\0";
- ok(!SHFileOperation(&shfo), "Failed to delete files\n");
- ok(!file_exists("test1.txt"), "test1.txt should be removed\n");
- ok(!file_exists("test_5.txt"), "test_5.txt should be removed\n");
- ok(file_exists("test4.txt"), "test4.txt should not be removed\n");
+ ok(!SHFileOperation(&shfo), "Failed to delete files\n");
+ ok(!file_exists("test1.txt"), "test1.txt should have been removed\n");
+ ok(!file_exists("test_5.txt"), "test_5.txt should have been removed\n");
+ ok(file_exists("test4.txt"), "test4.txt should not have been removed\n");
/* FOF_FILESONLY only deletes a dir if explicitly specified */
init_shfo_tests();
shfo.pFrom = "test_?.txt\0test4.txt\0";
- ok(!SHFileOperation(&shfo), "Failed to delete files\n");
- ok(!file_exists("test4.txt"), "test4.txt should be removed\n");
- ok(!file_exists("test_5.txt"), "test_5.txt should be removed\n");
- ok(file_exists("test1.txt"), "test1.txt should not be removed\n");
+ ok(!SHFileOperation(&shfo), "Failed to delete files and directory\n");
+ ok(!file_exists("test4.txt"), "test4.txt should have been removed\n");
+ ok(!file_exists("test_5.txt"), "test_5.txt should have been removed\n");
+ ok(file_exists("test1.txt"), "test1.txt should not have been removed\n");
/* try to delete an invalid filename */
init_shfo_tests();
@@ -301,7 +301,7 @@ static void test_delete(void)
shfo.fFlags &= ~FOF_FILESONLY;
shfo.fAnyOperationsAborted = FALSE;
ret = SHFileOperation(&shfo);
- ok(ret == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED, got %d\n", ret);
+ ok(ret == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED, got %d\n", ret);
ok(!shfo.fAnyOperationsAborted, "Expected no aborted operations\n");
ok(file_exists("test1.txt"), "Expected test1.txt to exist\n");
@@ -310,7 +310,7 @@ static void test_delete(void)
shfo.pFrom = "test1.txt\0";
shfo.wFunc = 0;
ret = SHFileOperation(&shfo);
- ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
+ ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
ok(file_exists("test1.txt"), "Expected test1.txt to exist\n");
/* try an invalid list, only one null terminator */
@@ -318,7 +318,7 @@ static void test_delete(void)
shfo.pFrom = "";
shfo.wFunc = FO_DELETE;
ret = SHFileOperation(&shfo);
- ok(ret == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED, got %d\n", ret);
+ ok(ret == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED, got %d\n", ret);
ok(file_exists("test1.txt"), "Expected test1.txt to exist\n");
/* delete a dir, and then a file inside the dir, same as
@@ -327,8 +327,8 @@ static void test_delete(void)
init_shfo_tests();
shfo.pFrom = "testdir2\0testdir2\\one.txt\0";
ret = SHFileOperation(&shfo);
- ok(ret == ERROR_PATH_NOT_FOUND, "Expected ERROR_PATH_NOT_FOUND, got %d\n", ret);
- ok(!file_exists("testdir2"), "Expected testdir2 to not exist\n");
+ ok(ret == ERROR_PATH_NOT_FOUND, "Expected ERROR_PATH_NOT_FOUND, got %d\n", ret);
+ ok(!file_exists("testdir2"), "Expected testdir2 to not exist\n");
ok(!file_exists("testdir2\\one.txt"), "Expected testdir2\\one.txt to not exist\n");
/* try the FOF_NORECURSION flag, continues deleting subdirs */
@@ -336,9 +336,9 @@ static void test_delete(void)
shfo.pFrom = "testdir2\0";
shfo.fFlags |= FOF_NORECURSION;
ret = SHFileOperation(&shfo);
- ok(ret == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", ret);
- ok(!file_exists("testdir2\\one.txt"), "Expected testdir2\\one.txt to not exist\n");
- ok(!file_exists("testdir2\\nested"), "Expected testdir2\\nested to exist\n");
+ ok(ret == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", ret);
+ ok(!file_exists("testdir2\\one.txt"), "Expected testdir2\\one.txt to not exist\n");
+ ok(!file_exists("testdir2\\nested"), "Expected testdir2\\nested to exist\n");
}
/* tests the FO_RENAME action */
ChangeSet ID: 30940
CVSROOT: /opt/cvs-commit
Module name: lostwages
Changes by: julliard(a)winehq.org 2007/03/02 11:30:52
Modified files:
include : winehq.conf
Added files:
news : 2007030201.xml
Log message:
Release 0.9.32
Patch: http://cvs.winehq.org/patch.py?id=30940
Old revision New revision Changes Path
1.54 1.55 +1 -1 lostwages/include/winehq.conf
Added 1.1 +0 -0 lostwages/news/2007030201.xml
Index: lostwages/include/winehq.conf
diff -u -p lostwages/include/winehq.conf:1.54 lostwages/include/winehq.conf:1.55
--- lostwages/include/winehq.conf:1.54 2 Mar 2007 17:30:52 -0000
+++ lostwages/include/winehq.conf 2 Mar 2007 17:30:52 -0000
@@ -29,7 +29,7 @@ news_xml_path: news
wwn_xml_path: wwn
# Snapshot Date
-snapshot_date: 0.9.31
+snapshot_date: 0.9.32
# Current RH Packages Snapshot Date
snapshot_date_rh: 0.9.2
Index: lostwages/news/2007030201.xml
diff -u -p /dev/null lostwages/news/2007030201.xml:1.1
--- /dev/null 2 Mar 2007 17:30:53 -0000
+++ lostwages/news/2007030201.xml 2 Mar 2007 17:30:53 -0000
@@ -0,0 +1,24 @@
+<news>
+<date>March 2, 2007</date>
+<title>Wine 0.9.32 Released</title>
+<body>
+<p>Wine 0.9.32 was released today, with the following main changes:</p>
+
+<ul>
+<li>Many Direct3D fixes and performance improvements.</li>
+<li>Several new features in the builtin cmd.exe.</li>
+<li>Improvements to HTML help support.</li>
+<li>Lots of bug fixes.</li>
+</ul>
+
+<p>
+Binary packages are in the process of being built and it may take a
+few days for them to appear, but the source is
+<a href="http://prdownloads.sourceforge.net/wine/wine-0.9.32.tar.bz2">available now</a>.
+You can find out more about this release in the
+<a href="?announce=0.9.32">announcement</a>. Check out our
+<a href="/site/download">download page</a> for packages for your
+distribution.
+</p>
+</body>
+</news>