cabinet.dll FDI Conformance Test

Rizwan Kassim rizwank at gmail.com
Fri Mar 11 02:13:18 CST 2005


Wine cabinet.dll FDI Conformance Test Patch

Raw files available at :
http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/group3/wine/

This patch adds tests for the cabinet dll, specifically testing the
functions FDICreate, FDIDestroy, FDICopy and FDIIsCabinet. As the
FCI functions are still marked TODO in wine, they haven't been tested.

The package is self containing, allowing additional cabinet
features to be tested by preparing other cabinets in the same manner
that ours were.  A patch of -p1 will be needed.

This patch has been successfully applied to the wine tree and ran.

Changelog:'
 * configure.ac
   added dlls/cabinet/tests/Makefile to be generated
 * dlls/cabinet/Makefile.in
   added subdirectory reference
 * dlls/cabinet/tests/Makefile.in
   standard Makefile.in for tests
 * dlls/cabinet/tests/cabinet_fdi.c
   actual test code for FDICreate, FDIDestroy, FDIIsCabinet, FDICopy
 * dlls/cabinet/tests/data.h
   contains hex representations of the two test cabinets
 * dlls/cabinet/tests/tvfs.h
 * dlls/cabinet/tests/tvfs.c
   Trivial Virtual File System emulating _read, _write, _open, _lseek and _close
 * dlls/cabinet/tests/genfiles.sh
   Cabinet/data.h creation script used for simple.cab and
complex.cab-current tests
 * tools/chexify.pl
   converts input files to C style arrays

Signed-off-by: Rizwan Kassim <rizwank at geekymedia.com>
Signed-off-by: Dan Kegel <dank at kegel.com>
Signed-off-by: Aleksandr Liber <aliber at ucla.edu>


--
Thank you,
Rizwan Kassim
http://www.geekymedia.com - GPL code, How-To guides and more.

Octal is the way God meant programmers to count - the thumbs are parity bits.




-- 
Thank you,
Rizwan Kassim
http://www.geekymedia.com - GPL code, How-To guides and more.

"There's no such thing as non-lethal shaving damage with a sword!" --
Scott Martin

Octal is the way God meant programmers to count - the thumbs are parity bits.

"The first creature we encountered (and this is the god's honest
truth) was a Duck with a +4 hotdog cart. For some reason, we never
found out why, this Duck's sole purpose in life was to go out around
smasing his cart into adventurers until they agreed to buy a hotdog
from him.  Once doing so, you were prompty told to roll a save vs
poison (food poisoning) or die."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cabinettest_0311.patch
Type: application/octet-stream
Size: 119225 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050311/edae7df8/cabinettest_0311.obj


More information about the wine-patches mailing list