Commit Graph

46 Commits

Author SHA1 Message Date
Mike McCormack
a92fe55cce msi: Fix some possible NULL pointer dereferences (Coverity). 2006-04-17 12:38:36 +02:00
Mike McCormack
8232e69492 msi: Add some more MsiFormatRecord tests. 2006-04-11 11:25:32 +02:00
Robert Shearman
d62aa01ec0 msi: Add a test for MsiFormatRecord with integer fields. 2006-03-20 12:01:43 +01:00
Mike McCormack
0b9960a1f9 msi: Make sure to run tests for MsiEvaluateCondition. 2006-03-09 12:50:48 +01:00
Bill Medland
b56ed22277 msi: Prevent array underflow in MsiFormat when measuring with zero-length buffer. 2005-12-21 21:19:47 +01:00
Alexandre Julliard
0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Mike McCormack
deaae4b8d1 Empty strings are not equal to any number, so all comparisons against
them fail except for tests for non-equalness.
2005-11-14 12:29:10 +00:00
Mike McCormack
fc0cc66b54 Fix comparison of empty properties to numbers and add test cases. 2005-11-14 11:24:14 +00:00
Francois Gouget
f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Mike McCormack
5c63332b4f Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
test.
2005-11-09 10:59:20 +00:00
Saulius Krasuckas
056d96939b Win9x returns MSIDBERROR_NOERROR. 2005-11-05 10:42:57 +00:00
Mike McCormack
da20e4d9ca NULL and empty strings are the same in conditions. 2005-11-02 19:58:01 +00:00
Mike McCormack
76137e55b7 Fix parameter handling in MsiSetTargetPath, and add a test for it. 2005-11-02 11:43:05 +00:00
Mike McCormack
3e6f31bf0b Fix and test MsiGetProperty and MsiSetProperty. 2005-10-31 14:07:37 +00:00
Mike McCormack
94caa05d07 Improve MsiUseFeatureEx and MsiGetFeatureState a little, add some
simple test cases.
2005-10-31 14:07:20 +00:00
Mike McCormack
9d43994ec2 Add a bunch of tests for MsiEvaluateCondition and make them pass. 2005-10-29 11:08:05 +00:00
Mike McCormack
8e74308a10 Fix and test MsiViewGetColumnInfo and binary fields. 2005-09-28 11:59:40 +00:00
Mike McCormack
c877a2ef53 Fix handle leaks in the test cases. 2005-09-26 09:55:12 +00:00
Mike McCormack
1cdffb26c9 Fix the handling of MsiGetTargetPath args (with test case). 2005-09-13 11:25:20 +00:00
Mike McCormack
e17ef695a2 Fix the handling of MsiDoAction args (with test case). 2005-09-13 10:37:46 +00:00
Mike McCormack
114d399666 - add test for MsiGetSourcePath
- don't specify drive for package path
2005-09-07 09:23:58 +00:00
Alexandre Julliard
14a6d89905 Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Test creating a package.
2005-09-06 11:39:15 +00:00
Mike McCormack
0867e48d5f - fix MsiSummaryInfoGetProperty to return ERROR_MORE_DATA if the
buffer is too small (based on a patch by Aric Stewart)
- add a test case to show correct behaviour
2005-09-06 10:23:12 +00:00
Saulius Krasuckas
a9476d4edf Older platforms choke on a NULL as the third parameter to
MsiViewGetError.
2005-09-06 09:21:08 +00:00
Mike McCormack
34247aff40 Test case for MsiModifyView and MsiViewGetError. 2005-08-24 11:10:39 +00:00
Stefan Huehner
ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack
b58a098a11 -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-29 20:08:12 +00:00
Alexandre Julliard
f271224f44 Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Add format record tests.
2005-05-27 19:25:42 +00:00
Mike McCormack
018bc9a0cd Test and fix the size of stream fields in a record. 2005-05-27 09:26:13 +00:00
Mike McCormack
d31f12964b Only tables can be backquoted, strings must be single quoted. 2005-05-19 11:15:37 +00:00
Aric Stewart
41fbee0e83 Correct a missing MsiCloseHandle(). 2005-05-07 12:12:56 +00:00
Mike McCormack
ae8c0ab55b Test MsiSummaryInfoGetProperty reading an empty property. 2005-04-20 14:24:30 +00:00
Francois Gouget
3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Jakob Eriksson
4364d06821 Windows 98 doesn't like it when we delete the tempfile. 2005-03-22 18:16:53 +00:00
Aric Stewart
8760ed97f2 Test package creation. 2005-03-22 16:45:55 +00:00
Mike McCormack
4c20cc6f0f - test cases for summary information
- fix memory leaks
2005-03-19 17:08:34 +00:00
Dmitry Timoshkov
dd1ba8a7d8 Remove a temporary msi database file. 2005-02-26 17:41:36 +00:00
Aric Stewart
e495e7e34c Setting a record to an empty string is the same as making it null. 2005-01-31 11:30:59 +00:00
Mike McCormack
c04ce10bdd Test different types of dodgy queries. 2005-01-27 10:43:27 +00:00
Mike McCormack
e5f2ed4c66 Fix MsiRecordSetString for NULL strings and update test case. 2005-01-26 20:39:54 +00:00
Mike McCormack
5af66fef43 Implement, test and document MsiDecomposeDescriptor. 2005-01-25 16:41:33 +00:00
Mike McCormack
5007de8b05 Fix and test inserting records. 2005-01-20 20:39:15 +00:00
Francois Gouget
87b0906789 Assorted spelling fixes. 2005-01-10 13:29:24 +00:00
Mike McCormack
921be0a87c Implement MsiRecordSetStreamA/W and add tests for records containing
streams.
2005-01-09 18:24:15 +00:00
Mike McCormack
25c453aaf4 Add test for records. 2005-01-06 20:42:48 +00:00
Mike McCormack
23b291a642 Add a simple test case for MSI databases. 2005-01-05 13:26:34 +00:00