Jacek Caban : urlmon: Added empty hash URIs comparing tests.
Alexandre Julliard
julliard at winehq.org
Sat Feb 11 10:28:39 CST 2012
Module: wine
Branch: master
Commit: 096eeb1a1eff3ff9f46d607a63f92102f1604dc7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=096eeb1a1eff3ff9f46d607a63f92102f1604dc7
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Feb 10 11:12:37 2012 +0100
urlmon: Added empty hash URIs comparing tests.
---
dlls/urlmon/tests/uri.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index 3d140ca..40c8a76 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -4691,6 +4691,22 @@ static const uri_equality equality_tests[] = {
"file:///c:/dir/file.txt#a", 0,
"file:///c:\\dir\\file.txt#b", Uri_CREATE_FILE_USE_DOS_PATH,
FALSE
+ },
+ /* Tests of an empty hash/fragment part */
+ {
+ "http://google.com/test",0,
+ "http://google.com/test#",0,
+ FALSE
+ },
+ {
+ "ftp://ftp.winehq.org/",0,
+ "ftp://ftp.winehq.org/#",0,
+ FALSE
+ },
+ {
+ "file:///c:/dir/file.txt#", 0,
+ "file:///c:\\dir\\file.txt", Uri_CREATE_FILE_USE_DOS_PATH,
+ FALSE
}
};
More information about the wine-cvs
mailing list