Commit Graph

201 Commits

Author SHA1 Message Date
James Hawkins 545d0e70cf msi: Disable child features of parent features that are unselected because of the install level. 2006-09-21 13:03:32 +02:00
James Hawkins 32f570222b msi: Don't check a component's install state if a component ID is not provided. 2006-09-21 13:02:00 +02:00
James Hawkins 6ac0f3ed29 msi: Fix the results of a few tests to match Windows. 2006-09-21 13:01:43 +02:00
James Hawkins d893cb7d1e msi: Load the component states in CostFinalize instead of CostInitialize. 2006-09-21 13:01:33 +02:00
James Hawkins ca5c11009d msi: Initialize all features' action states to INSTALLSTATE_UNKNOWN. 2006-09-21 13:01:18 +02:00
James Hawkins 937b9b2bbc msi: Only override a feature whose action state is INSTALLSTATE_SOURCE. 2006-09-21 13:01:10 +02:00
Benjamin Arai 4195697cc1 msi: Adds test to check "JOIN" operator with "*" operator for the SELECT clause returns the correct results. 2006-09-21 11:26:13 +02:00
Benjamin Arai a35ff56580 msi: Adds test to check if basic "JOIN" operator without "WHERE" clause returns the correct results. 2006-09-21 11:26:05 +02:00
Benjamin Arai f84c1463c1 msi: Adds test to check if "AND" operator returns the correct result for the "WHERE" clause. 2006-09-20 20:04:21 +02:00
Benjamin Arai 32d002c7ed msi: Adds tests to check if joins return the correct number of rows. 2006-09-20 20:04:01 +02:00
Benjamin Arai d4c6b06ed7 msi: Updates tests for joins to include row and column ids in message. 2006-09-20 20:03:54 +02:00
James Hawkins 6518f3d7f2 msi: INSTALLSTATE_SOURCE also overrides a parent feature state change to INSTALLSTATE_ABSENT. 2006-09-20 12:24:45 +02:00
James Hawkins a4c6ca2b65 msi: Add tests for components with multiple parent features. 2006-09-20 12:24:35 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Mike McCormack 60d92d42a3 msi: Fix a couple of test cases for MsiDatabaseIsTablePersistent. 2006-09-13 12:19:54 +02:00
Mike McCormack 61c1dd2b32 msi: Add a test for ALTER TABLE. 2006-09-13 11:44:06 +02:00
Mike McCormack b4005c15f0 msi: Fix database creation. 2006-09-13 11:43:11 +02:00
James Hawkins bfc1b5c15f msi: Add more join tests. 2006-09-13 11:36:54 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Mike McCormack 74a6a1e71b msi: Delete databases we create but never commit. 2006-09-13 10:58:42 +02:00
Mike McCormack e1757fcad2 msi: Add some more tests for MsiOpenDatabase. 2006-09-12 11:01:25 +02:00
Mike McCormack 0fc2bd760c msi: Add more tests for temporary columns. 2006-09-08 12:46:42 +02:00
Mike McCormack 77d3c59843 msi: Fix the TEMPORARY keyword for columns. 2006-09-08 12:46:32 +02:00
Mike McCormack 14ab62306c msi: Add a test for MsiDatabaseIsTablePersistent. 2006-09-08 12:46:25 +02:00
James Hawkins a302f03c65 msi: Allow non-key columns to be used with the join query. 2006-09-08 12:43:55 +02:00
James Hawkins d8c13370b3 msi: Add tests for MSI SQL join queries. 2006-09-08 12:43:39 +02:00
James Hawkins 7e86590518 msi: Add more tests for the _Streams table. 2006-09-07 15:12:06 +02:00
James Hawkins f6463dfacd msi: Add many more MsiFormatRecord tests. 2006-09-07 13:58:22 +02:00
James Hawkins 16769b26b2 msi: Fix two MsiFormatRecord tests. 2006-09-07 13:58:07 +02:00
James Hawkins ff6fe41df7 msi: Use the TargetPath of a file if the file doesn't exist in MsiFormatRecord. 2006-09-07 13:57:35 +02:00
James Hawkins a248cc8f62 msi: Fix creation of the default format in MsiFormatRecord. 2006-09-07 13:57:24 +02:00
James Hawkins ad2ec01739 msi: Add more tests for MsiFormatRecord. 2006-09-07 13:56:33 +02:00
Mike McCormack d998543edb msi: Add a short test for transforms. 2006-09-07 12:00:22 +02:00
Mike McCormack 12baa13ba5 msi: Make opening and closing 4000 handle into two tests, not 20000. 2006-09-07 12:00:00 +02:00
Mike McCormack 6991563d81 msi: Implement MsiDatabaseExport. 2006-09-07 11:01:07 +02:00
Mike McCormack 5699936cf1 msi: Make sure there's a value for each column when inserting data. 2006-09-07 11:00:40 +02:00
Mike McCormack 533833b4e1 msi: Validate database fields before inserting them. 2006-09-07 11:00:32 +02:00
Mike McCormack 6b4ada6f43 msi: Add a few more tests for MSI_NULL_INTEGER. 2006-09-07 11:00:16 +02:00
Mike McCormack 2924501a68 msi: Check that column names are unique when creating a table. 2006-09-07 10:57:45 +02:00
Mike McCormack ada5daa76a msi: Fix test compilation with MSVC6. 2006-08-29 13:48:01 +02:00
Mike McCormack b183956193 msi: Properties are case sensitive. 2006-08-29 13:46:39 +02:00
Dan Kegel 29f0803c02 msi: Remove limit on number of handles. 2006-08-28 17:49:31 +02:00
Dan Kegel 98ec9399c4 msi/tests: Add test to verify we can create 4000 msi handles. 2006-08-28 17:49:08 +02:00
Mike McCormack 5f832b2731 msi: Fix writing of long strings to the database. 2006-08-28 11:49:21 +02:00
James Hawkins 80740e72e7 msi: Add tests for the AppSearch action. 2006-08-22 12:53:43 +02:00
James Hawkins 6a520c0b6d msi: Add handling for MsiEvaluateCondition's substring operators. 2006-08-22 12:11:40 +02:00
James Hawkins 762a13eb34 msi: Add tests for MsiEvaluateCondition's substring operators. 2006-08-22 12:11:29 +02:00
Mike McCormack b42f9df913 msi: Fix a couple of memory leaks in the test code. 2006-08-16 12:53:57 +02:00
James Hawkins 3cb82ab8d2 msi: If a component's state is not local, source, or default, default to the local state. 2006-08-12 11:39:58 +02:00
Andrew Talbot 4aaf1f0b9e msi/tests: Write-strings warnings fix. 2006-08-11 19:26:50 +02:00
James Hawkins 5d37be9e56 msi: Only remove a file if the version to be installed is strictly newer than the old file. 2006-08-11 11:56:27 +02:00
James Hawkins bf4e00fd9b msi: Add tests for the RemoveFiles action. 2006-08-09 11:20:25 +02:00
James Hawkins 4fade6d3a8 msi: Add tests for MsiGetProperty. 2006-08-08 11:14:10 +02:00
Andrew Talbot d58e1dba42 msi: Write-strings warnings fix. 2006-08-05 11:27:04 +02:00
Andrew Talbot 72ac6f5d4e msi/tests: Write-strings warnings fix. 2006-08-02 22:04:00 +02:00
James Hawkins 91ec65d7f1 msi: Add tests for SQL query markers. 2006-08-02 11:45:26 +02:00
James Hawkins f10365bb5d msi: Don't crash if an empty record is given to MsiProcessMessage. 2006-08-02 11:44:55 +02:00
James Hawkins 7edea0cc68 msi: Set the install state to INSTALLSTATE_LOCAL for features with compressed files. 2006-08-02 11:42:20 +02:00
James Hawkins 38f2ba23f1 msi: Fix a couple install state test cases.
- Correctly handle the msidbComponentAttributesOptional component attribute.
- Don't set a component's state to INSTALLSTATE_LOCAL if the
  msidbComponentAttributesSourceOnly attribute is provided.
2006-08-01 10:49:20 +02:00
James Hawkins 6330f14da9 msi: Fix the add_feature_entry helper function. 2006-08-01 10:49:07 +02:00
James Hawkins 98d1486410 msi: Set the install state to INSTALLSTATE_LOCAL for components with compressed files. 2006-07-31 21:36:19 +02:00
Andrew Talbot 81592e497b msi/tests: Write-strings warnings fix. 2006-07-29 11:51:02 +02:00
James Hawkins 05bd17b8b7 msi: Add tests for MsiDatabaseImport. 2006-07-28 12:35:37 +02:00
Michael Stefaniuc b222f1bca4 msi: 0xdeadbeef is too big for a signed int thus producing sign
comparison warnings when compared to an int variable. Use 0xdeadbee
instead.
2006-07-28 12:33:45 +02:00
Andrew Talbot ccf7f0777a msi/tests: Write-strings warning fix. 2006-07-28 12:33:01 +02:00
Mike McCormack 65d12c342d msi: Fix the value of LONG integers in records (suggested by James Hawkins). 2006-07-27 11:57:12 +02:00
Mike McCormack e12f2b36a3 msi: Remember to free a handle. 2006-07-27 11:57:00 +02:00
James Hawkins 75c866ed58 msi: Test the column types of MSI packages. 2006-07-27 11:43:33 +02:00
James Hawkins 59a706bc2b msi: Test the states of a component with a compressed file. 2006-07-27 11:43:28 +02:00
Mike McCormack aff9f4c1ed msi: Fix an off by one error in MsiRecordGetString. 2006-07-26 15:17:42 +02:00
Andrew Talbot 320da90632 msi/tests: Write-strings warnings fix. 2006-07-26 10:25:21 +02:00
Mike McCormack 1d46cdf11a msi: Always load all the components. 2006-07-26 10:23:34 +02:00
Mike McCormack 4ab109e507 msi: Fix where queries on 32bit integer columns. 2006-07-25 11:22:43 +02:00
James Hawkins 8144e17169 msi: Add tests for the WHERE SQL clause. 2006-07-25 11:22:19 +02:00
Mike McCormack bc673bff01 msi: Make MsiConfigureFeature a bit more robust. 2006-07-24 19:55:50 +02:00
Mike McCormack a652e28517 msi: Add a test case for MsiGetFileHash. 2006-07-24 13:46:37 +02:00
James Hawkins dc0aad523b msi: Add tests for component and feature states. 2006-07-24 12:57:32 +02:00
James Hawkins 094915ae2c msi: Update the files target paths as well, because a parent directory might have been changed. 2006-07-13 13:48:12 +02:00
James Hawkins 15ad5de13c msi: Test how SetTargetPath affects the target paths of install files. 2006-07-11 17:15:16 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Mike McCormack ee3e058655 msi: Add a test for MsiGetComponentPath and make it pass. 2006-07-06 15:40:12 +02:00
Andrey Turkin 2ad04cae39 msi: Disable some path validity checks in MsiSetTargetPath. 2006-06-26 13:38:02 +02:00
James Hawkins 566beb788b msi: Add tests for components that aren't associated with a feature. 2006-06-23 11:22:49 +02:00
Andrew Talbot 685e7007e1 msi/tests: Write-strings warnings fixes. 2006-06-19 09:21:42 +02:00
Andrey Turkin 07edeb8394 msi: Added tests for MsiSetTargetPath. 2006-06-16 14:42:36 +02:00
James Hawkins 36bf71c174 msi: Add tests for MsiInstallProduct. 2006-06-15 18:05:53 +02:00
Mike McCormack 94dc36e5a6 msi: Add test for _Streams table (based on patch by Andrey Turkin). 2006-06-15 12:24:16 +02:00
Mike McCormack 863bc989b9 msi: Add a test for reading long strings. 2006-06-14 12:47:06 +02:00
Mike McCormack 2d323b3df8 msi: Add a test for creating a record with a long string. 2006-06-14 12:47:05 +02:00
Mike McCormack d2dca89c52 msi: Add a test for MsiDatabaseExport. 2006-06-14 12:47:05 +02:00
Mike McCormack a28ebdf7d4 msi: Add some more test cases for INSERT. 2006-06-12 16:04:31 +02:00
Mike McCormack 7f64332d11 msi: Add some more MsiFormatRecord tests. 2006-06-12 16:04:19 +02:00
Mike McCormack bef879cb24 msi: Add tests for creating packages and formatting records. 2006-06-12 16:04:08 +02:00
Mike McCormack f29ec238e8 msi: Delete any databases we create at the end of each test. 2006-06-12 16:03:57 +02:00
Mike McCormack 53041d8f73 msi: Fix compilation on msvc6. 2006-06-12 16:03:05 +02:00
Mike McCormack 3c81969a55 msi: Remove an inconsistent test. 2006-06-12 16:02:53 +02:00
Mike McCormack a302ec19bd msi: Fix some test cases to pass against win2k. 2006-06-12 15:56:54 +02:00
Mike McCormack bbbcc2a1be msi: Add some test cases for "SELECT ... WHERE condition". 2006-06-12 13:21:47 +02:00